diff --git a/accessapproval/apiv1/accessapprovalpb/accessapproval.pb.go b/accessapproval/apiv1/accessapprovalpb/accessapproval.pb.go index 2a45bba14015..37626fc927b3 100755 --- a/accessapproval/apiv1/accessapprovalpb/accessapproval.pb.go +++ b/accessapproval/apiv1/accessapprovalpb/accessapproval.pb.go @@ -22,9 +22,6 @@ package accessapprovalpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/accesscontextmanager/apiv1/accesscontextmanagerpb/access_context_manager.pb.go b/accesscontextmanager/apiv1/accesscontextmanagerpb/access_context_manager.pb.go index dab5b8943666..5be8c044b52a 100755 --- a/accesscontextmanager/apiv1/accesscontextmanagerpb/access_context_manager.pb.go +++ b/accesscontextmanager/apiv1/accesscontextmanagerpb/access_context_manager.pb.go @@ -21,12 +21,9 @@ package accesscontextmanagerpb import ( - context "context" - reflect "reflect" - sync "sync" - iampb "cloud.google.com/go/iam/apiv1/iampb" longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/accesscontextmanager/apiv1/accesscontextmanagerpb/access_level.pb.go b/accesscontextmanager/apiv1/accesscontextmanagerpb/access_level.pb.go index 1f87ba9a23eb..0660ab62d26b 100755 --- a/accesscontextmanager/apiv1/accesscontextmanagerpb/access_level.pb.go +++ b/accesscontextmanager/apiv1/accesscontextmanagerpb/access_level.pb.go @@ -21,15 +21,14 @@ package accesscontextmanagerpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" _type "google.golang.org/genproto/googleapis/identity/accesscontextmanager/type" expr "google.golang.org/genproto/googleapis/type/expr" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/accesscontextmanager/apiv1/accesscontextmanagerpb/access_policy.pb.go b/accesscontextmanager/apiv1/accesscontextmanagerpb/access_policy.pb.go index 127c0190dcc5..9f4781542c34 100755 --- a/accesscontextmanager/apiv1/accesscontextmanagerpb/access_policy.pb.go +++ b/accesscontextmanager/apiv1/accesscontextmanagerpb/access_policy.pb.go @@ -21,13 +21,12 @@ package accesscontextmanagerpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/accesscontextmanager/apiv1/accesscontextmanagerpb/gcp_user_access_binding.pb.go b/accesscontextmanager/apiv1/accesscontextmanagerpb/gcp_user_access_binding.pb.go index e45fe93baf0b..dbc3fee5b22a 100755 --- a/accesscontextmanager/apiv1/accesscontextmanagerpb/gcp_user_access_binding.pb.go +++ b/accesscontextmanager/apiv1/accesscontextmanagerpb/gcp_user_access_binding.pb.go @@ -21,12 +21,11 @@ package accesscontextmanagerpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/accesscontextmanager/apiv1/accesscontextmanagerpb/service_perimeter.pb.go b/accesscontextmanager/apiv1/accesscontextmanagerpb/service_perimeter.pb.go index cadbf306cb8d..12ad487a955c 100755 --- a/accesscontextmanager/apiv1/accesscontextmanagerpb/service_perimeter.pb.go +++ b/accesscontextmanager/apiv1/accesscontextmanagerpb/service_perimeter.pb.go @@ -21,13 +21,12 @@ package accesscontextmanagerpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/advisorynotifications/apiv1/advisorynotificationspb/service.pb.go b/advisorynotifications/apiv1/advisorynotificationspb/service.pb.go index df3b9abe516f..6e7bc5652fa4 100755 --- a/advisorynotifications/apiv1/advisorynotificationspb/service.pb.go +++ b/advisorynotifications/apiv1/advisorynotificationspb/service.pb.go @@ -22,9 +22,6 @@ package advisorynotificationspb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/ai/generativelanguage/apiv1/generativelanguagepb/citation.pb.go b/ai/generativelanguage/apiv1/generativelanguagepb/citation.pb.go index 6c258591019f..6553378d52d3 100755 --- a/ai/generativelanguage/apiv1/generativelanguagepb/citation.pb.go +++ b/ai/generativelanguage/apiv1/generativelanguagepb/citation.pb.go @@ -21,12 +21,11 @@ package generativelanguagepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/ai/generativelanguage/apiv1/generativelanguagepb/content.pb.go b/ai/generativelanguage/apiv1/generativelanguagepb/content.pb.go index 28cc9a3153fd..ddf5d3e68956 100755 --- a/ai/generativelanguage/apiv1/generativelanguagepb/content.pb.go +++ b/ai/generativelanguage/apiv1/generativelanguagepb/content.pb.go @@ -21,12 +21,11 @@ package generativelanguagepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/ai/generativelanguage/apiv1/generativelanguagepb/generative_service.pb.go b/ai/generativelanguage/apiv1/generativelanguagepb/generative_service.pb.go index 94b0155e0a12..0c377ffc2115 100755 --- a/ai/generativelanguage/apiv1/generativelanguagepb/generative_service.pb.go +++ b/ai/generativelanguage/apiv1/generativelanguagepb/generative_service.pb.go @@ -22,15 +22,14 @@ package generativelanguagepb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/ai/generativelanguage/apiv1/generativelanguagepb/model.pb.go b/ai/generativelanguage/apiv1/generativelanguagepb/model.pb.go index d6681faba34b..1009fe4161fa 100755 --- a/ai/generativelanguage/apiv1/generativelanguagepb/model.pb.go +++ b/ai/generativelanguage/apiv1/generativelanguagepb/model.pb.go @@ -21,12 +21,11 @@ package generativelanguagepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/ai/generativelanguage/apiv1/generativelanguagepb/model_service.pb.go b/ai/generativelanguage/apiv1/generativelanguagepb/model_service.pb.go index a366a962d0d7..2050b7e528e0 100755 --- a/ai/generativelanguage/apiv1/generativelanguagepb/model_service.pb.go +++ b/ai/generativelanguage/apiv1/generativelanguagepb/model_service.pb.go @@ -22,15 +22,14 @@ package generativelanguagepb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/ai/generativelanguage/apiv1/generativelanguagepb/safety.pb.go b/ai/generativelanguage/apiv1/generativelanguagepb/safety.pb.go index b620f539002e..53830fe255bc 100755 --- a/ai/generativelanguage/apiv1/generativelanguagepb/safety.pb.go +++ b/ai/generativelanguage/apiv1/generativelanguagepb/safety.pb.go @@ -21,12 +21,11 @@ package generativelanguagepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/ai/generativelanguage/apiv1beta/discuss_client_example_go123_test.go b/ai/generativelanguage/apiv1beta/discuss_client_example_go123_test.go index 3f602dd4c7fd..3c319f4b5b72 100644 --- a/ai/generativelanguage/apiv1beta/discuss_client_example_go123_test.go +++ b/ai/generativelanguage/apiv1beta/discuss_client_example_go123_test.go @@ -17,3 +17,7 @@ //go:build go1.23 package generativelanguage_test + +import ( + generativelanguage "cloud.google.com/go/ai/generativelanguage/apiv1beta" +) diff --git a/ai/generativelanguage/apiv1beta/generative_client_example_go123_test.go b/ai/generativelanguage/apiv1beta/generative_client_example_go123_test.go index 3f602dd4c7fd..3c319f4b5b72 100644 --- a/ai/generativelanguage/apiv1beta/generative_client_example_go123_test.go +++ b/ai/generativelanguage/apiv1beta/generative_client_example_go123_test.go @@ -17,3 +17,7 @@ //go:build go1.23 package generativelanguage_test + +import ( + generativelanguage "cloud.google.com/go/ai/generativelanguage/apiv1beta" +) diff --git a/ai/generativelanguage/apiv1beta/generativelanguagepb/cache_service.pb.go b/ai/generativelanguage/apiv1beta/generativelanguagepb/cache_service.pb.go index bb54acb4f270..0b537330a314 100755 --- a/ai/generativelanguage/apiv1beta/generativelanguagepb/cache_service.pb.go +++ b/ai/generativelanguage/apiv1beta/generativelanguagepb/cache_service.pb.go @@ -22,9 +22,6 @@ package generativelanguagepb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/ai/generativelanguage/apiv1beta/generativelanguagepb/cached_content.pb.go b/ai/generativelanguage/apiv1beta/generativelanguagepb/cached_content.pb.go index dad39323b1fe..781b41f3daaf 100755 --- a/ai/generativelanguage/apiv1beta/generativelanguagepb/cached_content.pb.go +++ b/ai/generativelanguage/apiv1beta/generativelanguagepb/cached_content.pb.go @@ -21,14 +21,13 @@ package generativelanguagepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/ai/generativelanguage/apiv1beta/generativelanguagepb/citation.pb.go b/ai/generativelanguage/apiv1beta/generativelanguagepb/citation.pb.go index 162452f70c5c..6c432e080e1d 100755 --- a/ai/generativelanguage/apiv1beta/generativelanguagepb/citation.pb.go +++ b/ai/generativelanguage/apiv1beta/generativelanguagepb/citation.pb.go @@ -21,12 +21,11 @@ package generativelanguagepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/ai/generativelanguage/apiv1beta/generativelanguagepb/content.pb.go b/ai/generativelanguage/apiv1beta/generativelanguagepb/content.pb.go index 2dd101f4ce35..b52b51a506fc 100755 --- a/ai/generativelanguage/apiv1beta/generativelanguagepb/content.pb.go +++ b/ai/generativelanguage/apiv1beta/generativelanguagepb/content.pb.go @@ -21,13 +21,12 @@ package generativelanguagepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/ai/generativelanguage/apiv1beta/generativelanguagepb/discuss_service.pb.go b/ai/generativelanguage/apiv1beta/generativelanguagepb/discuss_service.pb.go index 84c6b66fdfca..36609c52bc06 100755 --- a/ai/generativelanguage/apiv1beta/generativelanguagepb/discuss_service.pb.go +++ b/ai/generativelanguage/apiv1beta/generativelanguagepb/discuss_service.pb.go @@ -22,15 +22,14 @@ package generativelanguagepb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/ai/generativelanguage/apiv1beta/generativelanguagepb/file.pb.go b/ai/generativelanguage/apiv1beta/generativelanguagepb/file.pb.go index ba17fdfd8255..55b5e4181872 100755 --- a/ai/generativelanguage/apiv1beta/generativelanguagepb/file.pb.go +++ b/ai/generativelanguage/apiv1beta/generativelanguagepb/file.pb.go @@ -21,15 +21,14 @@ package generativelanguagepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/ai/generativelanguage/apiv1beta/generativelanguagepb/file_service.pb.go b/ai/generativelanguage/apiv1beta/generativelanguagepb/file_service.pb.go index 1e21b901ef80..acc35f2cdf92 100755 --- a/ai/generativelanguage/apiv1beta/generativelanguagepb/file_service.pb.go +++ b/ai/generativelanguage/apiv1beta/generativelanguagepb/file_service.pb.go @@ -22,9 +22,6 @@ package generativelanguagepb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" + reflect "reflect" + sync "sync" ) const ( diff --git a/ai/generativelanguage/apiv1beta/generativelanguagepb/generative_service.pb.go b/ai/generativelanguage/apiv1beta/generativelanguagepb/generative_service.pb.go index 12ca19903d93..f41ee7725746 100755 --- a/ai/generativelanguage/apiv1beta/generativelanguagepb/generative_service.pb.go +++ b/ai/generativelanguage/apiv1beta/generativelanguagepb/generative_service.pb.go @@ -22,15 +22,14 @@ package generativelanguagepb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/ai/generativelanguage/apiv1beta/generativelanguagepb/model.pb.go b/ai/generativelanguage/apiv1beta/generativelanguagepb/model.pb.go index b156a14b56aa..7af33358fc11 100755 --- a/ai/generativelanguage/apiv1beta/generativelanguagepb/model.pb.go +++ b/ai/generativelanguage/apiv1beta/generativelanguagepb/model.pb.go @@ -21,12 +21,11 @@ package generativelanguagepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/ai/generativelanguage/apiv1beta/generativelanguagepb/model_service.pb.go b/ai/generativelanguage/apiv1beta/generativelanguagepb/model_service.pb.go index 0b2aad37773e..03782cb091e0 100755 --- a/ai/generativelanguage/apiv1beta/generativelanguagepb/model_service.pb.go +++ b/ai/generativelanguage/apiv1beta/generativelanguagepb/model_service.pb.go @@ -21,11 +21,8 @@ package generativelanguagepb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/ai/generativelanguage/apiv1beta/generativelanguagepb/permission.pb.go b/ai/generativelanguage/apiv1beta/generativelanguagepb/permission.pb.go index c555b5e9436f..b3f7eaddaa4d 100755 --- a/ai/generativelanguage/apiv1beta/generativelanguagepb/permission.pb.go +++ b/ai/generativelanguage/apiv1beta/generativelanguagepb/permission.pb.go @@ -21,12 +21,11 @@ package generativelanguagepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/ai/generativelanguage/apiv1beta/generativelanguagepb/permission_service.pb.go b/ai/generativelanguage/apiv1beta/generativelanguagepb/permission_service.pb.go index 84f398a69319..5e67e37d58fd 100755 --- a/ai/generativelanguage/apiv1beta/generativelanguagepb/permission_service.pb.go +++ b/ai/generativelanguage/apiv1beta/generativelanguagepb/permission_service.pb.go @@ -22,9 +22,6 @@ package generativelanguagepb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/ai/generativelanguage/apiv1beta/generativelanguagepb/prediction_service.pb.go b/ai/generativelanguage/apiv1beta/generativelanguagepb/prediction_service.pb.go index b4a94dbbbe9e..b0542357daf3 100755 --- a/ai/generativelanguage/apiv1beta/generativelanguagepb/prediction_service.pb.go +++ b/ai/generativelanguage/apiv1beta/generativelanguagepb/prediction_service.pb.go @@ -22,9 +22,6 @@ package generativelanguagepb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/ai/generativelanguage/apiv1beta/generativelanguagepb/retriever.pb.go b/ai/generativelanguage/apiv1beta/generativelanguagepb/retriever.pb.go index eb39d8f681df..d9f015181645 100755 --- a/ai/generativelanguage/apiv1beta/generativelanguagepb/retriever.pb.go +++ b/ai/generativelanguage/apiv1beta/generativelanguagepb/retriever.pb.go @@ -21,13 +21,12 @@ package generativelanguagepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/ai/generativelanguage/apiv1beta/generativelanguagepb/retriever_service.pb.go b/ai/generativelanguage/apiv1beta/generativelanguagepb/retriever_service.pb.go index cf2942782491..1709655c6a99 100755 --- a/ai/generativelanguage/apiv1beta/generativelanguagepb/retriever_service.pb.go +++ b/ai/generativelanguage/apiv1beta/generativelanguagepb/retriever_service.pb.go @@ -22,9 +22,6 @@ package generativelanguagepb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/ai/generativelanguage/apiv1beta/generativelanguagepb/safety.pb.go b/ai/generativelanguage/apiv1beta/generativelanguagepb/safety.pb.go index 0c999e36caee..af2c03e1aa42 100755 --- a/ai/generativelanguage/apiv1beta/generativelanguagepb/safety.pb.go +++ b/ai/generativelanguage/apiv1beta/generativelanguagepb/safety.pb.go @@ -21,12 +21,11 @@ package generativelanguagepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/ai/generativelanguage/apiv1beta/generativelanguagepb/text_service.pb.go b/ai/generativelanguage/apiv1beta/generativelanguagepb/text_service.pb.go index b8a7b688bbe3..6ad7500f4d80 100755 --- a/ai/generativelanguage/apiv1beta/generativelanguagepb/text_service.pb.go +++ b/ai/generativelanguage/apiv1beta/generativelanguagepb/text_service.pb.go @@ -22,15 +22,14 @@ package generativelanguagepb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/ai/generativelanguage/apiv1beta/generativelanguagepb/tuned_model.pb.go b/ai/generativelanguage/apiv1beta/generativelanguagepb/tuned_model.pb.go index d73cbd00a109..ef3f5da2f1ed 100755 --- a/ai/generativelanguage/apiv1beta/generativelanguagepb/tuned_model.pb.go +++ b/ai/generativelanguage/apiv1beta/generativelanguagepb/tuned_model.pb.go @@ -21,13 +21,12 @@ package generativelanguagepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/ai/generativelanguage/apiv1beta/prediction_client_example_go123_test.go b/ai/generativelanguage/apiv1beta/prediction_client_example_go123_test.go index 3f602dd4c7fd..3c319f4b5b72 100644 --- a/ai/generativelanguage/apiv1beta/prediction_client_example_go123_test.go +++ b/ai/generativelanguage/apiv1beta/prediction_client_example_go123_test.go @@ -17,3 +17,7 @@ //go:build go1.23 package generativelanguage_test + +import ( + generativelanguage "cloud.google.com/go/ai/generativelanguage/apiv1beta" +) diff --git a/ai/generativelanguage/apiv1beta/text_client_example_go123_test.go b/ai/generativelanguage/apiv1beta/text_client_example_go123_test.go index 3f602dd4c7fd..3c319f4b5b72 100644 --- a/ai/generativelanguage/apiv1beta/text_client_example_go123_test.go +++ b/ai/generativelanguage/apiv1beta/text_client_example_go123_test.go @@ -17,3 +17,7 @@ //go:build go1.23 package generativelanguage_test + +import ( + generativelanguage "cloud.google.com/go/ai/generativelanguage/apiv1beta" +) diff --git a/ai/generativelanguage/apiv1beta2/discuss_client_example_go123_test.go b/ai/generativelanguage/apiv1beta2/discuss_client_example_go123_test.go index 3f602dd4c7fd..0b399df0fc5f 100644 --- a/ai/generativelanguage/apiv1beta2/discuss_client_example_go123_test.go +++ b/ai/generativelanguage/apiv1beta2/discuss_client_example_go123_test.go @@ -17,3 +17,7 @@ //go:build go1.23 package generativelanguage_test + +import ( + generativelanguage "cloud.google.com/go/ai/generativelanguage/apiv1beta2" +) diff --git a/ai/generativelanguage/apiv1beta2/generativelanguagepb/citation.pb.go b/ai/generativelanguage/apiv1beta2/generativelanguagepb/citation.pb.go index 18c64f500869..73fc6b16bc1e 100755 --- a/ai/generativelanguage/apiv1beta2/generativelanguagepb/citation.pb.go +++ b/ai/generativelanguage/apiv1beta2/generativelanguagepb/citation.pb.go @@ -21,12 +21,11 @@ package generativelanguagepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/ai/generativelanguage/apiv1beta2/generativelanguagepb/discuss_service.pb.go b/ai/generativelanguage/apiv1beta2/generativelanguagepb/discuss_service.pb.go index b64270d17f29..e4dc806f096a 100755 --- a/ai/generativelanguage/apiv1beta2/generativelanguagepb/discuss_service.pb.go +++ b/ai/generativelanguage/apiv1beta2/generativelanguagepb/discuss_service.pb.go @@ -22,15 +22,14 @@ package generativelanguagepb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/ai/generativelanguage/apiv1beta2/generativelanguagepb/model.pb.go b/ai/generativelanguage/apiv1beta2/generativelanguagepb/model.pb.go index 4b7893cd1a09..ee3fae0538f5 100755 --- a/ai/generativelanguage/apiv1beta2/generativelanguagepb/model.pb.go +++ b/ai/generativelanguage/apiv1beta2/generativelanguagepb/model.pb.go @@ -21,12 +21,11 @@ package generativelanguagepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/ai/generativelanguage/apiv1beta2/generativelanguagepb/model_service.pb.go b/ai/generativelanguage/apiv1beta2/generativelanguagepb/model_service.pb.go index ccec35ae4c9f..e9d599c1eeec 100755 --- a/ai/generativelanguage/apiv1beta2/generativelanguagepb/model_service.pb.go +++ b/ai/generativelanguage/apiv1beta2/generativelanguagepb/model_service.pb.go @@ -22,15 +22,14 @@ package generativelanguagepb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/ai/generativelanguage/apiv1beta2/generativelanguagepb/safety.pb.go b/ai/generativelanguage/apiv1beta2/generativelanguagepb/safety.pb.go index 750dc235cb07..b994debb17d3 100755 --- a/ai/generativelanguage/apiv1beta2/generativelanguagepb/safety.pb.go +++ b/ai/generativelanguage/apiv1beta2/generativelanguagepb/safety.pb.go @@ -21,12 +21,11 @@ package generativelanguagepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/ai/generativelanguage/apiv1beta2/generativelanguagepb/text_service.pb.go b/ai/generativelanguage/apiv1beta2/generativelanguagepb/text_service.pb.go index 526771aa54ae..6eb677f975b8 100755 --- a/ai/generativelanguage/apiv1beta2/generativelanguagepb/text_service.pb.go +++ b/ai/generativelanguage/apiv1beta2/generativelanguagepb/text_service.pb.go @@ -22,15 +22,14 @@ package generativelanguagepb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/ai/generativelanguage/apiv1beta2/text_client_example_go123_test.go b/ai/generativelanguage/apiv1beta2/text_client_example_go123_test.go index 3f602dd4c7fd..0b399df0fc5f 100644 --- a/ai/generativelanguage/apiv1beta2/text_client_example_go123_test.go +++ b/ai/generativelanguage/apiv1beta2/text_client_example_go123_test.go @@ -17,3 +17,7 @@ //go:build go1.23 package generativelanguage_test + +import ( + generativelanguage "cloud.google.com/go/ai/generativelanguage/apiv1beta2" +) diff --git a/aiplatform/apiv1/aiplatformpb/accelerator_type.pb.go b/aiplatform/apiv1/aiplatformpb/accelerator_type.pb.go index d3e5445ba132..aa966cbf1d36 100755 --- a/aiplatform/apiv1/aiplatformpb/accelerator_type.pb.go +++ b/aiplatform/apiv1/aiplatformpb/accelerator_type.pb.go @@ -21,11 +21,10 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/annotation.pb.go b/aiplatform/apiv1/aiplatformpb/annotation.pb.go index bb65ded4d302..0d5ca7370ce7 100755 --- a/aiplatform/apiv1/aiplatformpb/annotation.pb.go +++ b/aiplatform/apiv1/aiplatformpb/annotation.pb.go @@ -21,14 +21,13 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/annotation_spec.pb.go b/aiplatform/apiv1/aiplatformpb/annotation_spec.pb.go index 91fcc25fa7a9..eeaf14e20af4 100755 --- a/aiplatform/apiv1/aiplatformpb/annotation_spec.pb.go +++ b/aiplatform/apiv1/aiplatformpb/annotation_spec.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/artifact.pb.go b/aiplatform/apiv1/aiplatformpb/artifact.pb.go index 8fd10a0ffccc..fccd99834efe 100755 --- a/aiplatform/apiv1/aiplatformpb/artifact.pb.go +++ b/aiplatform/apiv1/aiplatformpb/artifact.pb.go @@ -21,14 +21,13 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/batch_prediction_job.pb.go b/aiplatform/apiv1/aiplatformpb/batch_prediction_job.pb.go index d65dd12569d9..0fd0cf7c514f 100755 --- a/aiplatform/apiv1/aiplatformpb/batch_prediction_job.pb.go +++ b/aiplatform/apiv1/aiplatformpb/batch_prediction_job.pb.go @@ -21,15 +21,14 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/completion_stats.pb.go b/aiplatform/apiv1/aiplatformpb/completion_stats.pb.go index 79491cd43bc9..dc24f104d793 100755 --- a/aiplatform/apiv1/aiplatformpb/completion_stats.pb.go +++ b/aiplatform/apiv1/aiplatformpb/completion_stats.pb.go @@ -21,12 +21,11 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/content.pb.go b/aiplatform/apiv1/aiplatformpb/content.pb.go index ecb80dea0304..9bf466fe94de 100755 --- a/aiplatform/apiv1/aiplatformpb/content.pb.go +++ b/aiplatform/apiv1/aiplatformpb/content.pb.go @@ -21,14 +21,13 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" date "google.golang.org/genproto/googleapis/type/date" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/context.pb.go b/aiplatform/apiv1/aiplatformpb/context.pb.go index cb54e7a2f08f..3ce74f23d787 100755 --- a/aiplatform/apiv1/aiplatformpb/context.pb.go +++ b/aiplatform/apiv1/aiplatformpb/context.pb.go @@ -21,14 +21,13 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/custom_job.pb.go b/aiplatform/apiv1/aiplatformpb/custom_job.pb.go index 1bf2fd662a03..956741a43f6c 100755 --- a/aiplatform/apiv1/aiplatformpb/custom_job.pb.go +++ b/aiplatform/apiv1/aiplatformpb/custom_job.pb.go @@ -21,15 +21,14 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/data_item.pb.go b/aiplatform/apiv1/aiplatformpb/data_item.pb.go index 550be9496278..d3465a95f033 100755 --- a/aiplatform/apiv1/aiplatformpb/data_item.pb.go +++ b/aiplatform/apiv1/aiplatformpb/data_item.pb.go @@ -21,14 +21,13 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/data_labeling_job.pb.go b/aiplatform/apiv1/aiplatformpb/data_labeling_job.pb.go index cefd182f5e83..00c05b19ad8b 100755 --- a/aiplatform/apiv1/aiplatformpb/data_labeling_job.pb.go +++ b/aiplatform/apiv1/aiplatformpb/data_labeling_job.pb.go @@ -21,9 +21,6 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" money "google.golang.org/genproto/googleapis/type/money" @@ -31,6 +28,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/dataset.pb.go b/aiplatform/apiv1/aiplatformpb/dataset.pb.go index 63b72db01a50..1bbeec58b950 100755 --- a/aiplatform/apiv1/aiplatformpb/dataset.pb.go +++ b/aiplatform/apiv1/aiplatformpb/dataset.pb.go @@ -21,14 +21,13 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/dataset_service.pb.go b/aiplatform/apiv1/aiplatformpb/dataset_service.pb.go index c9e3cd1e1277..71ccd6524757 100755 --- a/aiplatform/apiv1/aiplatformpb/dataset_service.pb.go +++ b/aiplatform/apiv1/aiplatformpb/dataset_service.pb.go @@ -21,11 +21,8 @@ package aiplatformpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/dataset_version.pb.go b/aiplatform/apiv1/aiplatformpb/dataset_version.pb.go index 2e11bb8f7961..f2c861e7a325 100755 --- a/aiplatform/apiv1/aiplatformpb/dataset_version.pb.go +++ b/aiplatform/apiv1/aiplatformpb/dataset_version.pb.go @@ -21,14 +21,13 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/deployed_index_ref.pb.go b/aiplatform/apiv1/aiplatformpb/deployed_index_ref.pb.go index 689f35a34d47..84da109fd2b9 100755 --- a/aiplatform/apiv1/aiplatformpb/deployed_index_ref.pb.go +++ b/aiplatform/apiv1/aiplatformpb/deployed_index_ref.pb.go @@ -21,12 +21,11 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/deployed_model_ref.pb.go b/aiplatform/apiv1/aiplatformpb/deployed_model_ref.pb.go index 0551fd1b27bc..376433e576d8 100755 --- a/aiplatform/apiv1/aiplatformpb/deployed_model_ref.pb.go +++ b/aiplatform/apiv1/aiplatformpb/deployed_model_ref.pb.go @@ -21,12 +21,11 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/deployment_resource_pool.pb.go b/aiplatform/apiv1/aiplatformpb/deployment_resource_pool.pb.go index 64a3867a29ea..9d5fe7426649 100755 --- a/aiplatform/apiv1/aiplatformpb/deployment_resource_pool.pb.go +++ b/aiplatform/apiv1/aiplatformpb/deployment_resource_pool.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/deployment_resource_pool_service.pb.go b/aiplatform/apiv1/aiplatformpb/deployment_resource_pool_service.pb.go index 8a99b2ae3371..b198f83c818c 100755 --- a/aiplatform/apiv1/aiplatformpb/deployment_resource_pool_service.pb.go +++ b/aiplatform/apiv1/aiplatformpb/deployment_resource_pool_service.pb.go @@ -21,11 +21,8 @@ package aiplatformpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/encryption_spec.pb.go b/aiplatform/apiv1/aiplatformpb/encryption_spec.pb.go index bd9bf29ebea9..9705d64d7adf 100755 --- a/aiplatform/apiv1/aiplatformpb/encryption_spec.pb.go +++ b/aiplatform/apiv1/aiplatformpb/encryption_spec.pb.go @@ -21,12 +21,11 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/endpoint.pb.go b/aiplatform/apiv1/aiplatformpb/endpoint.pb.go index cefba93d2a84..953b5eb45472 100755 --- a/aiplatform/apiv1/aiplatformpb/endpoint.pb.go +++ b/aiplatform/apiv1/aiplatformpb/endpoint.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/endpoint_service.pb.go b/aiplatform/apiv1/aiplatformpb/endpoint_service.pb.go index eb2c9a882dff..240a40176ff4 100755 --- a/aiplatform/apiv1/aiplatformpb/endpoint_service.pb.go +++ b/aiplatform/apiv1/aiplatformpb/endpoint_service.pb.go @@ -21,11 +21,8 @@ package aiplatformpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/entity_type.pb.go b/aiplatform/apiv1/aiplatformpb/entity_type.pb.go index 5ad8b0caf420..bb210ef9c571 100755 --- a/aiplatform/apiv1/aiplatformpb/entity_type.pb.go +++ b/aiplatform/apiv1/aiplatformpb/entity_type.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/env_var.pb.go b/aiplatform/apiv1/aiplatformpb/env_var.pb.go index feb156ca32da..ef9e172f39f2 100755 --- a/aiplatform/apiv1/aiplatformpb/env_var.pb.go +++ b/aiplatform/apiv1/aiplatformpb/env_var.pb.go @@ -21,12 +21,11 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/evaluated_annotation.pb.go b/aiplatform/apiv1/aiplatformpb/evaluated_annotation.pb.go index 67302f1f99df..91a706b9db25 100755 --- a/aiplatform/apiv1/aiplatformpb/evaluated_annotation.pb.go +++ b/aiplatform/apiv1/aiplatformpb/evaluated_annotation.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/evaluation_service.pb.go b/aiplatform/apiv1/aiplatformpb/evaluation_service.pb.go index bedb24ff8c19..798e1226a505 100755 --- a/aiplatform/apiv1/aiplatformpb/evaluation_service.pb.go +++ b/aiplatform/apiv1/aiplatformpb/evaluation_service.pb.go @@ -22,15 +22,14 @@ package aiplatformpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/event.pb.go b/aiplatform/apiv1/aiplatformpb/event.pb.go index c77409011de4..32440528a6c4 100755 --- a/aiplatform/apiv1/aiplatformpb/event.pb.go +++ b/aiplatform/apiv1/aiplatformpb/event.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/execution.pb.go b/aiplatform/apiv1/aiplatformpb/execution.pb.go index 31e39eb375ce..d4e6a7ec3f3a 100755 --- a/aiplatform/apiv1/aiplatformpb/execution.pb.go +++ b/aiplatform/apiv1/aiplatformpb/execution.pb.go @@ -21,14 +21,13 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/explanation.pb.go b/aiplatform/apiv1/aiplatformpb/explanation.pb.go index e299728bfea2..5e10ab3dcbc3 100755 --- a/aiplatform/apiv1/aiplatformpb/explanation.pb.go +++ b/aiplatform/apiv1/aiplatformpb/explanation.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/explanation_metadata.pb.go b/aiplatform/apiv1/aiplatformpb/explanation_metadata.pb.go index b8ac1958d8ac..ccaf362a74d5 100755 --- a/aiplatform/apiv1/aiplatformpb/explanation_metadata.pb.go +++ b/aiplatform/apiv1/aiplatformpb/explanation_metadata.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/feature.pb.go b/aiplatform/apiv1/aiplatformpb/feature.pb.go index 610425d24d15..764092920dd7 100755 --- a/aiplatform/apiv1/aiplatformpb/feature.pb.go +++ b/aiplatform/apiv1/aiplatformpb/feature.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/feature_group.pb.go b/aiplatform/apiv1/aiplatformpb/feature_group.pb.go index de9808afa311..d501c9d5094a 100755 --- a/aiplatform/apiv1/aiplatformpb/feature_group.pb.go +++ b/aiplatform/apiv1/aiplatformpb/feature_group.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/feature_monitoring_stats.pb.go b/aiplatform/apiv1/aiplatformpb/feature_monitoring_stats.pb.go index 1b9fbc6453b5..cf5345f8296e 100755 --- a/aiplatform/apiv1/aiplatformpb/feature_monitoring_stats.pb.go +++ b/aiplatform/apiv1/aiplatformpb/feature_monitoring_stats.pb.go @@ -21,12 +21,11 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/feature_online_store.pb.go b/aiplatform/apiv1/aiplatformpb/feature_online_store.pb.go index ec7c747fa3db..f0768a22ed11 100755 --- a/aiplatform/apiv1/aiplatformpb/feature_online_store.pb.go +++ b/aiplatform/apiv1/aiplatformpb/feature_online_store.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/feature_online_store_admin_service.pb.go b/aiplatform/apiv1/aiplatformpb/feature_online_store_admin_service.pb.go index 3adab5e7cac1..5e62da22443d 100755 --- a/aiplatform/apiv1/aiplatformpb/feature_online_store_admin_service.pb.go +++ b/aiplatform/apiv1/aiplatformpb/feature_online_store_admin_service.pb.go @@ -21,11 +21,8 @@ package aiplatformpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/feature_online_store_service.pb.go b/aiplatform/apiv1/aiplatformpb/feature_online_store_service.pb.go index 1961882a8fab..222a00d4cf8c 100755 --- a/aiplatform/apiv1/aiplatformpb/feature_online_store_service.pb.go +++ b/aiplatform/apiv1/aiplatformpb/feature_online_store_service.pb.go @@ -22,9 +22,6 @@ package aiplatformpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/feature_registry_service.pb.go b/aiplatform/apiv1/aiplatformpb/feature_registry_service.pb.go index 83df148bcde3..12d5a4236295 100755 --- a/aiplatform/apiv1/aiplatformpb/feature_registry_service.pb.go +++ b/aiplatform/apiv1/aiplatformpb/feature_registry_service.pb.go @@ -21,11 +21,8 @@ package aiplatformpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/feature_selector.pb.go b/aiplatform/apiv1/aiplatformpb/feature_selector.pb.go index 7066e7a30728..000ccc22e9ff 100755 --- a/aiplatform/apiv1/aiplatformpb/feature_selector.pb.go +++ b/aiplatform/apiv1/aiplatformpb/feature_selector.pb.go @@ -21,12 +21,11 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/feature_view.pb.go b/aiplatform/apiv1/aiplatformpb/feature_view.pb.go index 8ecd27f25a7f..3d5f0e96ad5c 100755 --- a/aiplatform/apiv1/aiplatformpb/feature_view.pb.go +++ b/aiplatform/apiv1/aiplatformpb/feature_view.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/feature_view_sync.pb.go b/aiplatform/apiv1/aiplatformpb/feature_view_sync.pb.go index 41e853984f8d..2d1e5ba99a25 100755 --- a/aiplatform/apiv1/aiplatformpb/feature_view_sync.pb.go +++ b/aiplatform/apiv1/aiplatformpb/feature_view_sync.pb.go @@ -21,15 +21,14 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" interval "google.golang.org/genproto/googleapis/type/interval" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/featurestore.pb.go b/aiplatform/apiv1/aiplatformpb/featurestore.pb.go index 4f604c8cd4d1..f5c24393fcf8 100755 --- a/aiplatform/apiv1/aiplatformpb/featurestore.pb.go +++ b/aiplatform/apiv1/aiplatformpb/featurestore.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/featurestore_monitoring.pb.go b/aiplatform/apiv1/aiplatformpb/featurestore_monitoring.pb.go index be5c2bfed141..52eae12174aa 100755 --- a/aiplatform/apiv1/aiplatformpb/featurestore_monitoring.pb.go +++ b/aiplatform/apiv1/aiplatformpb/featurestore_monitoring.pb.go @@ -21,11 +21,10 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/featurestore_online_service.pb.go b/aiplatform/apiv1/aiplatformpb/featurestore_online_service.pb.go index ef5361ff8deb..29c769142243 100755 --- a/aiplatform/apiv1/aiplatformpb/featurestore_online_service.pb.go +++ b/aiplatform/apiv1/aiplatformpb/featurestore_online_service.pb.go @@ -22,9 +22,6 @@ package aiplatformpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/featurestore_service.pb.go b/aiplatform/apiv1/aiplatformpb/featurestore_service.pb.go index 42296685c4cb..dec49081a611 100755 --- a/aiplatform/apiv1/aiplatformpb/featurestore_service.pb.go +++ b/aiplatform/apiv1/aiplatformpb/featurestore_service.pb.go @@ -21,11 +21,8 @@ package aiplatformpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" interval "google.golang.org/genproto/googleapis/type/interval" grpc "google.golang.org/grpc" @@ -36,6 +33,8 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/genai_tuning_service.pb.go b/aiplatform/apiv1/aiplatformpb/genai_tuning_service.pb.go index 5f9bb1054b14..b59a810f669d 100755 --- a/aiplatform/apiv1/aiplatformpb/genai_tuning_service.pb.go +++ b/aiplatform/apiv1/aiplatformpb/genai_tuning_service.pb.go @@ -21,11 +21,8 @@ package aiplatformpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/hyperparameter_tuning_job.pb.go b/aiplatform/apiv1/aiplatformpb/hyperparameter_tuning_job.pb.go index e5c1c0f5d286..3288326ff42a 100755 --- a/aiplatform/apiv1/aiplatformpb/hyperparameter_tuning_job.pb.go +++ b/aiplatform/apiv1/aiplatformpb/hyperparameter_tuning_job.pb.go @@ -21,14 +21,13 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/index.pb.go b/aiplatform/apiv1/aiplatformpb/index.pb.go index 17971a50a34e..dc4d5fc270f2 100755 --- a/aiplatform/apiv1/aiplatformpb/index.pb.go +++ b/aiplatform/apiv1/aiplatformpb/index.pb.go @@ -21,14 +21,13 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/index_endpoint.pb.go b/aiplatform/apiv1/aiplatformpb/index_endpoint.pb.go index 9bda4ad1de8a..2852271e3a7b 100755 --- a/aiplatform/apiv1/aiplatformpb/index_endpoint.pb.go +++ b/aiplatform/apiv1/aiplatformpb/index_endpoint.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/index_endpoint_service.pb.go b/aiplatform/apiv1/aiplatformpb/index_endpoint_service.pb.go index a60c0cf070cb..39337f511417 100755 --- a/aiplatform/apiv1/aiplatformpb/index_endpoint_service.pb.go +++ b/aiplatform/apiv1/aiplatformpb/index_endpoint_service.pb.go @@ -21,11 +21,8 @@ package aiplatformpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/index_service.pb.go b/aiplatform/apiv1/aiplatformpb/index_service.pb.go index 4a3df3db4e45..1074d3bce6cf 100755 --- a/aiplatform/apiv1/aiplatformpb/index_service.pb.go +++ b/aiplatform/apiv1/aiplatformpb/index_service.pb.go @@ -21,11 +21,8 @@ package aiplatformpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/io.pb.go b/aiplatform/apiv1/aiplatformpb/io.pb.go index 88ef635cbbf1..680f1a4da1fe 100755 --- a/aiplatform/apiv1/aiplatformpb/io.pb.go +++ b/aiplatform/apiv1/aiplatformpb/io.pb.go @@ -21,12 +21,11 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/job_service.pb.go b/aiplatform/apiv1/aiplatformpb/job_service.pb.go index 0c8ac33a30cb..f33afe2c094e 100755 --- a/aiplatform/apiv1/aiplatformpb/job_service.pb.go +++ b/aiplatform/apiv1/aiplatformpb/job_service.pb.go @@ -21,11 +21,8 @@ package aiplatformpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/job_state.pb.go b/aiplatform/apiv1/aiplatformpb/job_state.pb.go index 3b35c2c8a83b..77cc41f2b17b 100755 --- a/aiplatform/apiv1/aiplatformpb/job_state.pb.go +++ b/aiplatform/apiv1/aiplatformpb/job_state.pb.go @@ -21,11 +21,10 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/lineage_subgraph.pb.go b/aiplatform/apiv1/aiplatformpb/lineage_subgraph.pb.go index 6d7eb9604c3b..cd6c62f72b95 100755 --- a/aiplatform/apiv1/aiplatformpb/lineage_subgraph.pb.go +++ b/aiplatform/apiv1/aiplatformpb/lineage_subgraph.pb.go @@ -21,11 +21,10 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/llm_utility_service.pb.go b/aiplatform/apiv1/aiplatformpb/llm_utility_service.pb.go index d1ddf101eead..7c0d3fda1a08 100755 --- a/aiplatform/apiv1/aiplatformpb/llm_utility_service.pb.go +++ b/aiplatform/apiv1/aiplatformpb/llm_utility_service.pb.go @@ -22,9 +22,6 @@ package aiplatformpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/machine_resources.pb.go b/aiplatform/apiv1/aiplatformpb/machine_resources.pb.go index e879ba520560..bade01f0d2a7 100755 --- a/aiplatform/apiv1/aiplatformpb/machine_resources.pb.go +++ b/aiplatform/apiv1/aiplatformpb/machine_resources.pb.go @@ -21,12 +21,11 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/manual_batch_tuning_parameters.pb.go b/aiplatform/apiv1/aiplatformpb/manual_batch_tuning_parameters.pb.go index ef5bd6fbf0eb..e360e8c748e7 100755 --- a/aiplatform/apiv1/aiplatformpb/manual_batch_tuning_parameters.pb.go +++ b/aiplatform/apiv1/aiplatformpb/manual_batch_tuning_parameters.pb.go @@ -21,12 +21,11 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/match_service.pb.go b/aiplatform/apiv1/aiplatformpb/match_service.pb.go index a7207e194821..ee0782fe37e5 100755 --- a/aiplatform/apiv1/aiplatformpb/match_service.pb.go +++ b/aiplatform/apiv1/aiplatformpb/match_service.pb.go @@ -22,15 +22,14 @@ package aiplatformpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/metadata_schema.pb.go b/aiplatform/apiv1/aiplatformpb/metadata_schema.pb.go index 8de3dd247291..b2fce83658cf 100755 --- a/aiplatform/apiv1/aiplatformpb/metadata_schema.pb.go +++ b/aiplatform/apiv1/aiplatformpb/metadata_schema.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/metadata_service.pb.go b/aiplatform/apiv1/aiplatformpb/metadata_service.pb.go index 2051a83cace2..f61bf8ce62d4 100755 --- a/aiplatform/apiv1/aiplatformpb/metadata_service.pb.go +++ b/aiplatform/apiv1/aiplatformpb/metadata_service.pb.go @@ -21,11 +21,8 @@ package aiplatformpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/metadata_store.pb.go b/aiplatform/apiv1/aiplatformpb/metadata_store.pb.go index 1304b9caa5b9..ead6c3be4e21 100755 --- a/aiplatform/apiv1/aiplatformpb/metadata_store.pb.go +++ b/aiplatform/apiv1/aiplatformpb/metadata_store.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/migratable_resource.pb.go b/aiplatform/apiv1/aiplatformpb/migratable_resource.pb.go index d4a45e4f128c..175c63b079d9 100755 --- a/aiplatform/apiv1/aiplatformpb/migratable_resource.pb.go +++ b/aiplatform/apiv1/aiplatformpb/migratable_resource.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/migration_service.pb.go b/aiplatform/apiv1/aiplatformpb/migration_service.pb.go index d88303a44687..80dca0dd3de6 100755 --- a/aiplatform/apiv1/aiplatformpb/migration_service.pb.go +++ b/aiplatform/apiv1/aiplatformpb/migration_service.pb.go @@ -21,11 +21,8 @@ package aiplatformpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -33,6 +30,8 @@ import ( status1 "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/model.pb.go b/aiplatform/apiv1/aiplatformpb/model.pb.go index c0c40760e070..14c830c06f81 100755 --- a/aiplatform/apiv1/aiplatformpb/model.pb.go +++ b/aiplatform/apiv1/aiplatformpb/model.pb.go @@ -21,15 +21,14 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/model_deployment_monitoring_job.pb.go b/aiplatform/apiv1/aiplatformpb/model_deployment_monitoring_job.pb.go index 74c04366dabd..c22fed6238db 100755 --- a/aiplatform/apiv1/aiplatformpb/model_deployment_monitoring_job.pb.go +++ b/aiplatform/apiv1/aiplatformpb/model_deployment_monitoring_job.pb.go @@ -21,9 +21,6 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" @@ -31,6 +28,8 @@ import ( durationpb "google.golang.org/protobuf/types/known/durationpb" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/model_evaluation.pb.go b/aiplatform/apiv1/aiplatformpb/model_evaluation.pb.go index 968f94d0eab8..65b36615e256 100755 --- a/aiplatform/apiv1/aiplatformpb/model_evaluation.pb.go +++ b/aiplatform/apiv1/aiplatformpb/model_evaluation.pb.go @@ -21,14 +21,13 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/model_evaluation_slice.pb.go b/aiplatform/apiv1/aiplatformpb/model_evaluation_slice.pb.go index 4dbd45261d8b..04e7601fae67 100755 --- a/aiplatform/apiv1/aiplatformpb/model_evaluation_slice.pb.go +++ b/aiplatform/apiv1/aiplatformpb/model_evaluation_slice.pb.go @@ -21,15 +21,14 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/model_garden_service.pb.go b/aiplatform/apiv1/aiplatformpb/model_garden_service.pb.go index e6c6ba624e5d..1fea32af05b7 100755 --- a/aiplatform/apiv1/aiplatformpb/model_garden_service.pb.go +++ b/aiplatform/apiv1/aiplatformpb/model_garden_service.pb.go @@ -22,15 +22,14 @@ package aiplatformpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/model_monitoring.pb.go b/aiplatform/apiv1/aiplatformpb/model_monitoring.pb.go index 3b10cfc8f683..0dcdca786c41 100755 --- a/aiplatform/apiv1/aiplatformpb/model_monitoring.pb.go +++ b/aiplatform/apiv1/aiplatformpb/model_monitoring.pb.go @@ -21,12 +21,11 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/model_service.pb.go b/aiplatform/apiv1/aiplatformpb/model_service.pb.go index dc977a439b66..d0823cbe8d85 100755 --- a/aiplatform/apiv1/aiplatformpb/model_service.pb.go +++ b/aiplatform/apiv1/aiplatformpb/model_service.pb.go @@ -21,11 +21,8 @@ package aiplatformpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/nas_job.pb.go b/aiplatform/apiv1/aiplatformpb/nas_job.pb.go index 7f178e647a46..9d4360747113 100755 --- a/aiplatform/apiv1/aiplatformpb/nas_job.pb.go +++ b/aiplatform/apiv1/aiplatformpb/nas_job.pb.go @@ -21,14 +21,13 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/network_spec.pb.go b/aiplatform/apiv1/aiplatformpb/network_spec.pb.go index 7ddc8efe3b05..d0f5858609f0 100755 --- a/aiplatform/apiv1/aiplatformpb/network_spec.pb.go +++ b/aiplatform/apiv1/aiplatformpb/network_spec.pb.go @@ -21,12 +21,11 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/notebook_euc_config.pb.go b/aiplatform/apiv1/aiplatformpb/notebook_euc_config.pb.go index cc17cf45c6c5..f6b91936286b 100755 --- a/aiplatform/apiv1/aiplatformpb/notebook_euc_config.pb.go +++ b/aiplatform/apiv1/aiplatformpb/notebook_euc_config.pb.go @@ -21,12 +21,11 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/notebook_execution_job.pb.go b/aiplatform/apiv1/aiplatformpb/notebook_execution_job.pb.go index 577603432c40..fd9a0d2b3ca6 100755 --- a/aiplatform/apiv1/aiplatformpb/notebook_execution_job.pb.go +++ b/aiplatform/apiv1/aiplatformpb/notebook_execution_job.pb.go @@ -21,15 +21,14 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/notebook_idle_shutdown_config.pb.go b/aiplatform/apiv1/aiplatformpb/notebook_idle_shutdown_config.pb.go index dc3ad68d3e8c..d0e3680e060e 100755 --- a/aiplatform/apiv1/aiplatformpb/notebook_idle_shutdown_config.pb.go +++ b/aiplatform/apiv1/aiplatformpb/notebook_idle_shutdown_config.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/notebook_runtime.pb.go b/aiplatform/apiv1/aiplatformpb/notebook_runtime.pb.go index 1d38513c767e..79f331b91d2e 100755 --- a/aiplatform/apiv1/aiplatformpb/notebook_runtime.pb.go +++ b/aiplatform/apiv1/aiplatformpb/notebook_runtime.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/notebook_runtime_template_ref.pb.go b/aiplatform/apiv1/aiplatformpb/notebook_runtime_template_ref.pb.go index 96e4907f72f9..667287d93f71 100755 --- a/aiplatform/apiv1/aiplatformpb/notebook_runtime_template_ref.pb.go +++ b/aiplatform/apiv1/aiplatformpb/notebook_runtime_template_ref.pb.go @@ -21,12 +21,11 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/notebook_service.pb.go b/aiplatform/apiv1/aiplatformpb/notebook_service.pb.go index e54454968a58..318eb2fa63a4 100755 --- a/aiplatform/apiv1/aiplatformpb/notebook_service.pb.go +++ b/aiplatform/apiv1/aiplatformpb/notebook_service.pb.go @@ -21,11 +21,8 @@ package aiplatformpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/openapi.pb.go b/aiplatform/apiv1/aiplatformpb/openapi.pb.go index 356f1aa90f3e..72342f8feaf3 100755 --- a/aiplatform/apiv1/aiplatformpb/openapi.pb.go +++ b/aiplatform/apiv1/aiplatformpb/openapi.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/operation.pb.go b/aiplatform/apiv1/aiplatformpb/operation.pb.go index dff8d393410d..97365ffa0a6b 100755 --- a/aiplatform/apiv1/aiplatformpb/operation.pb.go +++ b/aiplatform/apiv1/aiplatformpb/operation.pb.go @@ -21,14 +21,13 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/persistent_resource.pb.go b/aiplatform/apiv1/aiplatformpb/persistent_resource.pb.go index 71363c01ce2b..ef22c898bd1d 100755 --- a/aiplatform/apiv1/aiplatformpb/persistent_resource.pb.go +++ b/aiplatform/apiv1/aiplatformpb/persistent_resource.pb.go @@ -21,14 +21,13 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/persistent_resource_service.pb.go b/aiplatform/apiv1/aiplatformpb/persistent_resource_service.pb.go index 394186dfbdab..f7327953db4b 100755 --- a/aiplatform/apiv1/aiplatformpb/persistent_resource_service.pb.go +++ b/aiplatform/apiv1/aiplatformpb/persistent_resource_service.pb.go @@ -21,11 +21,8 @@ package aiplatformpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/pipeline_failure_policy.pb.go b/aiplatform/apiv1/aiplatformpb/pipeline_failure_policy.pb.go index 02c875430ef7..13633b5de346 100755 --- a/aiplatform/apiv1/aiplatformpb/pipeline_failure_policy.pb.go +++ b/aiplatform/apiv1/aiplatformpb/pipeline_failure_policy.pb.go @@ -21,11 +21,10 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/pipeline_job.pb.go b/aiplatform/apiv1/aiplatformpb/pipeline_job.pb.go index 9960a707bbb6..853a81d2e282 100755 --- a/aiplatform/apiv1/aiplatformpb/pipeline_job.pb.go +++ b/aiplatform/apiv1/aiplatformpb/pipeline_job.pb.go @@ -21,15 +21,14 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/pipeline_service.pb.go b/aiplatform/apiv1/aiplatformpb/pipeline_service.pb.go index 1219661f494f..4acbd9ea5bb3 100755 --- a/aiplatform/apiv1/aiplatformpb/pipeline_service.pb.go +++ b/aiplatform/apiv1/aiplatformpb/pipeline_service.pb.go @@ -21,11 +21,8 @@ package aiplatformpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/pipeline_state.pb.go b/aiplatform/apiv1/aiplatformpb/pipeline_state.pb.go index e829f795d386..b02db5936f69 100755 --- a/aiplatform/apiv1/aiplatformpb/pipeline_state.pb.go +++ b/aiplatform/apiv1/aiplatformpb/pipeline_state.pb.go @@ -21,11 +21,10 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/prediction_service.pb.go b/aiplatform/apiv1/aiplatformpb/prediction_service.pb.go index e325695c150c..690dca54653e 100755 --- a/aiplatform/apiv1/aiplatformpb/prediction_service.pb.go +++ b/aiplatform/apiv1/aiplatformpb/prediction_service.pb.go @@ -22,9 +22,6 @@ package aiplatformpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" httpbody "google.golang.org/genproto/googleapis/api/httpbody" grpc "google.golang.org/grpc" @@ -33,6 +30,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/publisher_model.pb.go b/aiplatform/apiv1/aiplatformpb/publisher_model.pb.go index e4e3a7af51a3..3f7573cd225a 100755 --- a/aiplatform/apiv1/aiplatformpb/publisher_model.pb.go +++ b/aiplatform/apiv1/aiplatformpb/publisher_model.pb.go @@ -21,12 +21,11 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/reservation_affinity.pb.go b/aiplatform/apiv1/aiplatformpb/reservation_affinity.pb.go index d398059ed1ae..4912e4b44b6d 100755 --- a/aiplatform/apiv1/aiplatformpb/reservation_affinity.pb.go +++ b/aiplatform/apiv1/aiplatformpb/reservation_affinity.pb.go @@ -21,12 +21,11 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/saved_query.pb.go b/aiplatform/apiv1/aiplatformpb/saved_query.pb.go index 15112d699fcb..1a863e795f7e 100755 --- a/aiplatform/apiv1/aiplatformpb/saved_query.pb.go +++ b/aiplatform/apiv1/aiplatformpb/saved_query.pb.go @@ -21,14 +21,13 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/schedule.pb.go b/aiplatform/apiv1/aiplatformpb/schedule.pb.go index 8ac755dd8561..51aef4759731 100755 --- a/aiplatform/apiv1/aiplatformpb/schedule.pb.go +++ b/aiplatform/apiv1/aiplatformpb/schedule.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/schedule_service.pb.go b/aiplatform/apiv1/aiplatformpb/schedule_service.pb.go index e725bf7ed6f8..6e080ecc01ad 100755 --- a/aiplatform/apiv1/aiplatformpb/schedule_service.pb.go +++ b/aiplatform/apiv1/aiplatformpb/schedule_service.pb.go @@ -21,11 +21,8 @@ package aiplatformpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/service_networking.pb.go b/aiplatform/apiv1/aiplatformpb/service_networking.pb.go index 313fbbc8b0b5..c043c491fd81 100755 --- a/aiplatform/apiv1/aiplatformpb/service_networking.pb.go +++ b/aiplatform/apiv1/aiplatformpb/service_networking.pb.go @@ -21,12 +21,11 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/specialist_pool.pb.go b/aiplatform/apiv1/aiplatformpb/specialist_pool.pb.go index 5846897f46b1..66a86da14725 100755 --- a/aiplatform/apiv1/aiplatformpb/specialist_pool.pb.go +++ b/aiplatform/apiv1/aiplatformpb/specialist_pool.pb.go @@ -21,12 +21,11 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/specialist_pool_service.pb.go b/aiplatform/apiv1/aiplatformpb/specialist_pool_service.pb.go index 5a4729971cd4..04a89a60f610 100755 --- a/aiplatform/apiv1/aiplatformpb/specialist_pool_service.pb.go +++ b/aiplatform/apiv1/aiplatformpb/specialist_pool_service.pb.go @@ -21,11 +21,8 @@ package aiplatformpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/study.pb.go b/aiplatform/apiv1/aiplatformpb/study.pb.go index 6308405b6d3e..24a2c7b4aa26 100755 --- a/aiplatform/apiv1/aiplatformpb/study.pb.go +++ b/aiplatform/apiv1/aiplatformpb/study.pb.go @@ -21,9 +21,6 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" @@ -31,6 +28,8 @@ import ( structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/tensorboard.pb.go b/aiplatform/apiv1/aiplatformpb/tensorboard.pb.go index ea2c6566c960..9e169c6b770c 100755 --- a/aiplatform/apiv1/aiplatformpb/tensorboard.pb.go +++ b/aiplatform/apiv1/aiplatformpb/tensorboard.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/tensorboard_data.pb.go b/aiplatform/apiv1/aiplatformpb/tensorboard_data.pb.go index d4a5998b8fef..041e7e7a0aae 100755 --- a/aiplatform/apiv1/aiplatformpb/tensorboard_data.pb.go +++ b/aiplatform/apiv1/aiplatformpb/tensorboard_data.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/tensorboard_experiment.pb.go b/aiplatform/apiv1/aiplatformpb/tensorboard_experiment.pb.go index 42f2be234ad7..74539c097130 100755 --- a/aiplatform/apiv1/aiplatformpb/tensorboard_experiment.pb.go +++ b/aiplatform/apiv1/aiplatformpb/tensorboard_experiment.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/tensorboard_run.pb.go b/aiplatform/apiv1/aiplatformpb/tensorboard_run.pb.go index 21fe7815e0c1..91e707b8c863 100755 --- a/aiplatform/apiv1/aiplatformpb/tensorboard_run.pb.go +++ b/aiplatform/apiv1/aiplatformpb/tensorboard_run.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/tensorboard_service.pb.go b/aiplatform/apiv1/aiplatformpb/tensorboard_service.pb.go index 4f1f05bcbc1f..b0154a588632 100755 --- a/aiplatform/apiv1/aiplatformpb/tensorboard_service.pb.go +++ b/aiplatform/apiv1/aiplatformpb/tensorboard_service.pb.go @@ -21,11 +21,8 @@ package aiplatformpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/tensorboard_time_series.pb.go b/aiplatform/apiv1/aiplatformpb/tensorboard_time_series.pb.go index 63c62f64c11b..eb67ca759289 100755 --- a/aiplatform/apiv1/aiplatformpb/tensorboard_time_series.pb.go +++ b/aiplatform/apiv1/aiplatformpb/tensorboard_time_series.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/tool.pb.go b/aiplatform/apiv1/aiplatformpb/tool.pb.go index 25e6cdfe5b14..182d216eacf5 100755 --- a/aiplatform/apiv1/aiplatformpb/tool.pb.go +++ b/aiplatform/apiv1/aiplatformpb/tool.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/training_pipeline.pb.go b/aiplatform/apiv1/aiplatformpb/training_pipeline.pb.go index d7bf5d32151c..13e9da72c1c2 100755 --- a/aiplatform/apiv1/aiplatformpb/training_pipeline.pb.go +++ b/aiplatform/apiv1/aiplatformpb/training_pipeline.pb.go @@ -21,15 +21,14 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/tuning_job.pb.go b/aiplatform/apiv1/aiplatformpb/tuning_job.pb.go index ab51ff11f9fc..c077fc74a18c 100755 --- a/aiplatform/apiv1/aiplatformpb/tuning_job.pb.go +++ b/aiplatform/apiv1/aiplatformpb/tuning_job.pb.go @@ -21,14 +21,13 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/types.pb.go b/aiplatform/apiv1/aiplatformpb/types.pb.go index 6533ced7fa00..10213c336897 100755 --- a/aiplatform/apiv1/aiplatformpb/types.pb.go +++ b/aiplatform/apiv1/aiplatformpb/types.pb.go @@ -21,11 +21,10 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/unmanaged_container_model.pb.go b/aiplatform/apiv1/aiplatformpb/unmanaged_container_model.pb.go index 52614f0f965f..450313569100 100755 --- a/aiplatform/apiv1/aiplatformpb/unmanaged_container_model.pb.go +++ b/aiplatform/apiv1/aiplatformpb/unmanaged_container_model.pb.go @@ -21,12 +21,11 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/user_action_reference.pb.go b/aiplatform/apiv1/aiplatformpb/user_action_reference.pb.go index 900c0086b428..f85f4f5f6ba3 100755 --- a/aiplatform/apiv1/aiplatformpb/user_action_reference.pb.go +++ b/aiplatform/apiv1/aiplatformpb/user_action_reference.pb.go @@ -21,11 +21,10 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/value.pb.go b/aiplatform/apiv1/aiplatformpb/value.pb.go index 5be585eea174..39baa79ce11e 100755 --- a/aiplatform/apiv1/aiplatformpb/value.pb.go +++ b/aiplatform/apiv1/aiplatformpb/value.pb.go @@ -21,11 +21,10 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/vizier_service.pb.go b/aiplatform/apiv1/aiplatformpb/vizier_service.pb.go index bc9e691e05af..1250ce2e8ae5 100755 --- a/aiplatform/apiv1/aiplatformpb/vizier_service.pb.go +++ b/aiplatform/apiv1/aiplatformpb/vizier_service.pb.go @@ -21,11 +21,8 @@ package aiplatformpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/accelerator_type.pb.go b/aiplatform/apiv1beta1/aiplatformpb/accelerator_type.pb.go index 3ab25b47b3e5..da505be09dbc 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/accelerator_type.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/accelerator_type.pb.go @@ -21,11 +21,10 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/annotation.pb.go b/aiplatform/apiv1beta1/aiplatformpb/annotation.pb.go index 31ceacd1deb7..f98061f331e0 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/annotation.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/annotation.pb.go @@ -21,14 +21,13 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/annotation_spec.pb.go b/aiplatform/apiv1beta1/aiplatformpb/annotation_spec.pb.go index ccbf0ba79ad2..ada414547968 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/annotation_spec.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/annotation_spec.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/api_auth.pb.go b/aiplatform/apiv1beta1/aiplatformpb/api_auth.pb.go index 9384ad1ddd5c..af1819ea8077 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/api_auth.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/api_auth.pb.go @@ -21,12 +21,11 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/artifact.pb.go b/aiplatform/apiv1beta1/aiplatformpb/artifact.pb.go index 24687a02d1e8..31dbb3d533c9 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/artifact.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/artifact.pb.go @@ -21,14 +21,13 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/batch_prediction_job.pb.go b/aiplatform/apiv1beta1/aiplatformpb/batch_prediction_job.pb.go index 8e69d84e3649..8dea35db5199 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/batch_prediction_job.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/batch_prediction_job.pb.go @@ -21,15 +21,14 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/cached_content.pb.go b/aiplatform/apiv1beta1/aiplatformpb/cached_content.pb.go index 184da6fd6630..02db878dbe17 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/cached_content.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/cached_content.pb.go @@ -21,14 +21,13 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/completion_stats.pb.go b/aiplatform/apiv1beta1/aiplatformpb/completion_stats.pb.go index 2fec6945c872..ef2fd8d01cb9 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/completion_stats.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/completion_stats.pb.go @@ -21,12 +21,11 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/content.pb.go b/aiplatform/apiv1beta1/aiplatformpb/content.pb.go index 23eb2aee9a58..5a5b75576a5c 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/content.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/content.pb.go @@ -21,14 +21,13 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" date "google.golang.org/genproto/googleapis/type/date" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/context.pb.go b/aiplatform/apiv1beta1/aiplatformpb/context.pb.go index 8b74904c2aa7..442692b662e8 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/context.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/context.pb.go @@ -21,14 +21,13 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/custom_job.pb.go b/aiplatform/apiv1beta1/aiplatformpb/custom_job.pb.go index c514e58347b2..a8593399ba42 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/custom_job.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/custom_job.pb.go @@ -21,15 +21,14 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/data_item.pb.go b/aiplatform/apiv1beta1/aiplatformpb/data_item.pb.go index e49c8f656b7f..ef7b47609e7e 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/data_item.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/data_item.pb.go @@ -21,14 +21,13 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/data_labeling_job.pb.go b/aiplatform/apiv1beta1/aiplatformpb/data_labeling_job.pb.go index b354002a00bf..72f73c1df742 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/data_labeling_job.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/data_labeling_job.pb.go @@ -21,9 +21,6 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" money "google.golang.org/genproto/googleapis/type/money" @@ -31,6 +28,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/dataset.pb.go b/aiplatform/apiv1beta1/aiplatformpb/dataset.pb.go index 171af3467308..a46543cb1b79 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/dataset.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/dataset.pb.go @@ -21,14 +21,13 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/dataset_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/dataset_service.pb.go index 082031dfc97d..b345414e8682 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/dataset_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/dataset_service.pb.go @@ -21,11 +21,8 @@ package aiplatformpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/dataset_version.pb.go b/aiplatform/apiv1beta1/aiplatformpb/dataset_version.pb.go index 8ed88e6d4974..4071f2d1bbbe 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/dataset_version.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/dataset_version.pb.go @@ -21,14 +21,13 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/deployed_index_ref.pb.go b/aiplatform/apiv1beta1/aiplatformpb/deployed_index_ref.pb.go index 5977e2507af8..a234067bbabc 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/deployed_index_ref.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/deployed_index_ref.pb.go @@ -21,12 +21,11 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/deployed_model_ref.pb.go b/aiplatform/apiv1beta1/aiplatformpb/deployed_model_ref.pb.go index c7fb52d06b87..5b2f7d80cad5 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/deployed_model_ref.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/deployed_model_ref.pb.go @@ -21,12 +21,11 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/deployment_resource_pool.pb.go b/aiplatform/apiv1beta1/aiplatformpb/deployment_resource_pool.pb.go index 63ff1105ba8a..0b8466a20ae6 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/deployment_resource_pool.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/deployment_resource_pool.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/deployment_resource_pool_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/deployment_resource_pool_service.pb.go index 3542483edd51..9d72cdf76d43 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/deployment_resource_pool_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/deployment_resource_pool_service.pb.go @@ -21,11 +21,8 @@ package aiplatformpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/encryption_spec.pb.go b/aiplatform/apiv1beta1/aiplatformpb/encryption_spec.pb.go index 30d0e4469754..a13d09228f5b 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/encryption_spec.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/encryption_spec.pb.go @@ -21,12 +21,11 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/endpoint.pb.go b/aiplatform/apiv1beta1/aiplatformpb/endpoint.pb.go index 57c85352cd0f..98f677e55ad5 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/endpoint.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/endpoint.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/endpoint_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/endpoint_service.pb.go index d25c10b0cfee..664c09623d86 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/endpoint_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/endpoint_service.pb.go @@ -21,11 +21,8 @@ package aiplatformpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/entity_type.pb.go b/aiplatform/apiv1beta1/aiplatformpb/entity_type.pb.go index 279f92293faa..69b28e737ab0 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/entity_type.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/entity_type.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/env_var.pb.go b/aiplatform/apiv1beta1/aiplatformpb/env_var.pb.go index ede9752c64c1..2fdd45f94980 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/env_var.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/env_var.pb.go @@ -21,12 +21,11 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/evaluated_annotation.pb.go b/aiplatform/apiv1beta1/aiplatformpb/evaluated_annotation.pb.go index 8cc82e5dfbe4..e901b6f4c7b9 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/evaluated_annotation.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/evaluated_annotation.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/evaluation_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/evaluation_service.pb.go index 40d610e83f46..fb2e7397325e 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/evaluation_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/evaluation_service.pb.go @@ -22,15 +22,14 @@ package aiplatformpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/event.pb.go b/aiplatform/apiv1beta1/aiplatformpb/event.pb.go index 38382c93201b..0ffc246bada4 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/event.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/event.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/execution.pb.go b/aiplatform/apiv1beta1/aiplatformpb/execution.pb.go index 3eca7f2c07a3..09f252778e17 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/execution.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/execution.pb.go @@ -21,14 +21,13 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/explanation.pb.go b/aiplatform/apiv1beta1/aiplatformpb/explanation.pb.go index c256a7426d5a..8a20dd31ece3 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/explanation.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/explanation.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/explanation_metadata.pb.go b/aiplatform/apiv1beta1/aiplatformpb/explanation_metadata.pb.go index 28189350d309..4495bf737ee8 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/explanation_metadata.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/explanation_metadata.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/extension.pb.go b/aiplatform/apiv1beta1/aiplatformpb/extension.pb.go index 48e59aeaee73..fbf23d170265 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/extension.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/extension.pb.go @@ -21,14 +21,13 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/extension_execution_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/extension_execution_service.pb.go index a0540d49e0c2..377d3bb5c48a 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/extension_execution_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/extension_execution_service.pb.go @@ -22,9 +22,6 @@ package aiplatformpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/extension_registry_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/extension_registry_service.pb.go index 63e8eda2e97d..5fe0138aa309 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/extension_registry_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/extension_registry_service.pb.go @@ -21,11 +21,8 @@ package aiplatformpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/feature.pb.go b/aiplatform/apiv1beta1/aiplatformpb/feature.pb.go index dd1025e0c0ae..91f98c2cfe5a 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/feature.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/feature.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/feature_group.pb.go b/aiplatform/apiv1beta1/aiplatformpb/feature_group.pb.go index 6f0301a5505c..97d3a060ba1e 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/feature_group.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/feature_group.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/feature_monitoring_stats.pb.go b/aiplatform/apiv1beta1/aiplatformpb/feature_monitoring_stats.pb.go index 947098c451cb..c6c20d6a5397 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/feature_monitoring_stats.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/feature_monitoring_stats.pb.go @@ -21,12 +21,11 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/feature_online_store.pb.go b/aiplatform/apiv1beta1/aiplatformpb/feature_online_store.pb.go index 6e485ae26ccf..a1bb7eb50161 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/feature_online_store.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/feature_online_store.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/feature_online_store_admin_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/feature_online_store_admin_service.pb.go index 132eba0b2b5d..6b6f46f17af4 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/feature_online_store_admin_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/feature_online_store_admin_service.pb.go @@ -21,11 +21,8 @@ package aiplatformpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/feature_online_store_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/feature_online_store_service.pb.go index 7ae29bdfc616..cf0797f7af74 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/feature_online_store_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/feature_online_store_service.pb.go @@ -22,9 +22,6 @@ package aiplatformpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -33,6 +30,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/feature_registry_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/feature_registry_service.pb.go index c657db0c8768..111d9dff80a3 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/feature_registry_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/feature_registry_service.pb.go @@ -21,11 +21,8 @@ package aiplatformpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/feature_selector.pb.go b/aiplatform/apiv1beta1/aiplatformpb/feature_selector.pb.go index a713bd81ad0d..9ec6c063b8a8 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/feature_selector.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/feature_selector.pb.go @@ -21,12 +21,11 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/feature_view.pb.go b/aiplatform/apiv1beta1/aiplatformpb/feature_view.pb.go index 7a0a8e7dda09..9d776ec203e7 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/feature_view.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/feature_view.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/feature_view_sync.pb.go b/aiplatform/apiv1beta1/aiplatformpb/feature_view_sync.pb.go index eb0811a5588d..c6d451b4e9a6 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/feature_view_sync.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/feature_view_sync.pb.go @@ -21,15 +21,14 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" interval "google.golang.org/genproto/googleapis/type/interval" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/featurestore.pb.go b/aiplatform/apiv1beta1/aiplatformpb/featurestore.pb.go index cd5b78daf083..dfc8a4a345e4 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/featurestore.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/featurestore.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/featurestore_monitoring.pb.go b/aiplatform/apiv1beta1/aiplatformpb/featurestore_monitoring.pb.go index daf4a6aaff11..ec569030fc13 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/featurestore_monitoring.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/featurestore_monitoring.pb.go @@ -21,12 +21,11 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/featurestore_online_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/featurestore_online_service.pb.go index fa658a9b6365..486d50839fbc 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/featurestore_online_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/featurestore_online_service.pb.go @@ -22,9 +22,6 @@ package aiplatformpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/featurestore_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/featurestore_service.pb.go index d531e618a8c2..ca9d03c24eb4 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/featurestore_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/featurestore_service.pb.go @@ -21,11 +21,8 @@ package aiplatformpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" interval "google.golang.org/genproto/googleapis/type/interval" grpc "google.golang.org/grpc" @@ -36,6 +33,8 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/gen_ai_cache_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/gen_ai_cache_service.pb.go index 310b8dc5880d..df78ad2ec0f7 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/gen_ai_cache_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/gen_ai_cache_service.pb.go @@ -22,9 +22,6 @@ package aiplatformpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/genai_tuning_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/genai_tuning_service.pb.go index 699a3a946a4b..c8589048f25a 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/genai_tuning_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/genai_tuning_service.pb.go @@ -21,11 +21,8 @@ package aiplatformpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/hyperparameter_tuning_job.pb.go b/aiplatform/apiv1beta1/aiplatformpb/hyperparameter_tuning_job.pb.go index 3dba5a73e4e2..9aa11cd3ad65 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/hyperparameter_tuning_job.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/hyperparameter_tuning_job.pb.go @@ -21,14 +21,13 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/index.pb.go b/aiplatform/apiv1beta1/aiplatformpb/index.pb.go index 3b7a3e4df30a..f66e30c070dd 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/index.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/index.pb.go @@ -21,14 +21,13 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/index_endpoint.pb.go b/aiplatform/apiv1beta1/aiplatformpb/index_endpoint.pb.go index ea84798d5084..a5a1dd556773 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/index_endpoint.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/index_endpoint.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/index_endpoint_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/index_endpoint_service.pb.go index fd4e02335320..ce86e9a0eb9d 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/index_endpoint_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/index_endpoint_service.pb.go @@ -21,11 +21,8 @@ package aiplatformpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/index_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/index_service.pb.go index 2a52251a1239..e11af71601de 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/index_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/index_service.pb.go @@ -21,11 +21,8 @@ package aiplatformpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/io.pb.go b/aiplatform/apiv1beta1/aiplatformpb/io.pb.go index c577c886adfc..8e553f8b9ab2 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/io.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/io.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/job_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/job_service.pb.go index 8b4ef11a1d76..6e5ac6ffe0eb 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/job_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/job_service.pb.go @@ -21,11 +21,8 @@ package aiplatformpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/job_state.pb.go b/aiplatform/apiv1beta1/aiplatformpb/job_state.pb.go index 57b0d02f87e0..0d2e3b4f9b4f 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/job_state.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/job_state.pb.go @@ -21,11 +21,10 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/lineage_subgraph.pb.go b/aiplatform/apiv1beta1/aiplatformpb/lineage_subgraph.pb.go index d5281a55b71a..c7955ac5ef52 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/lineage_subgraph.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/lineage_subgraph.pb.go @@ -21,11 +21,10 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/llm_utility_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/llm_utility_service.pb.go index 04673f7f62d7..169a136af0d0 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/llm_utility_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/llm_utility_service.pb.go @@ -22,9 +22,6 @@ package aiplatformpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/machine_resources.pb.go b/aiplatform/apiv1beta1/aiplatformpb/machine_resources.pb.go index 10c82b213d9b..f92221770d7e 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/machine_resources.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/machine_resources.pb.go @@ -21,12 +21,11 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/manual_batch_tuning_parameters.pb.go b/aiplatform/apiv1beta1/aiplatformpb/manual_batch_tuning_parameters.pb.go index 471e6908e6e0..544b33f6dd8f 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/manual_batch_tuning_parameters.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/manual_batch_tuning_parameters.pb.go @@ -21,12 +21,11 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/match_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/match_service.pb.go index 3a89148697c0..b6e7ca0443d6 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/match_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/match_service.pb.go @@ -22,15 +22,14 @@ package aiplatformpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/metadata_schema.pb.go b/aiplatform/apiv1beta1/aiplatformpb/metadata_schema.pb.go index af0ff5948c39..a95ec6a5d179 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/metadata_schema.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/metadata_schema.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/metadata_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/metadata_service.pb.go index 18ba0412b505..35076d671101 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/metadata_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/metadata_service.pb.go @@ -21,11 +21,8 @@ package aiplatformpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/metadata_store.pb.go b/aiplatform/apiv1beta1/aiplatformpb/metadata_store.pb.go index 3f4ec6f4dd13..d81401b97b52 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/metadata_store.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/metadata_store.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/migratable_resource.pb.go b/aiplatform/apiv1beta1/aiplatformpb/migratable_resource.pb.go index 014ae8c791a2..ddc587f53c7c 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/migratable_resource.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/migratable_resource.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/migration_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/migration_service.pb.go index 1872cfba88c1..c49036c5a90c 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/migration_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/migration_service.pb.go @@ -21,11 +21,8 @@ package aiplatformpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -33,6 +30,8 @@ import ( status1 "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/model.pb.go b/aiplatform/apiv1beta1/aiplatformpb/model.pb.go index a60418b6b29e..14c07e0841dc 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/model.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/model.pb.go @@ -21,15 +21,14 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/model_deployment_monitoring_job.pb.go b/aiplatform/apiv1beta1/aiplatformpb/model_deployment_monitoring_job.pb.go index e9f60105785a..14437447f9bb 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/model_deployment_monitoring_job.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/model_deployment_monitoring_job.pb.go @@ -21,9 +21,6 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" @@ -31,6 +28,8 @@ import ( durationpb "google.golang.org/protobuf/types/known/durationpb" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/model_evaluation.pb.go b/aiplatform/apiv1beta1/aiplatformpb/model_evaluation.pb.go index 0ed7123d93ee..02cfc3e172e6 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/model_evaluation.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/model_evaluation.pb.go @@ -21,14 +21,13 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/model_evaluation_slice.pb.go b/aiplatform/apiv1beta1/aiplatformpb/model_evaluation_slice.pb.go index aad43f729d6d..328f2c055980 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/model_evaluation_slice.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/model_evaluation_slice.pb.go @@ -21,15 +21,14 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/model_garden_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/model_garden_service.pb.go index b3d1d1cdef70..a90dcfe38396 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/model_garden_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/model_garden_service.pb.go @@ -22,15 +22,14 @@ package aiplatformpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/model_monitor.pb.go b/aiplatform/apiv1beta1/aiplatformpb/model_monitor.pb.go index 0d13a43a269a..3d95b6fee43c 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/model_monitor.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/model_monitor.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/model_monitoring.pb.go b/aiplatform/apiv1beta1/aiplatformpb/model_monitoring.pb.go index 925137996f71..7d055c301d67 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/model_monitoring.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/model_monitoring.pb.go @@ -21,12 +21,11 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/model_monitoring_alert.pb.go b/aiplatform/apiv1beta1/aiplatformpb/model_monitoring_alert.pb.go index 926a3c420832..e8f65e5f8b0f 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/model_monitoring_alert.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/model_monitoring_alert.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/model_monitoring_job.pb.go b/aiplatform/apiv1beta1/aiplatformpb/model_monitoring_job.pb.go index ee36a77185ac..e8cb0c0dfaeb 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/model_monitoring_job.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/model_monitoring_job.pb.go @@ -21,15 +21,14 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" interval "google.golang.org/genproto/googleapis/type/interval" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/model_monitoring_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/model_monitoring_service.pb.go index 0bd99c490026..992465580865 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/model_monitoring_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/model_monitoring_service.pb.go @@ -21,11 +21,8 @@ package aiplatformpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" interval "google.golang.org/genproto/googleapis/type/interval" grpc "google.golang.org/grpc" @@ -35,6 +32,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/model_monitoring_spec.pb.go b/aiplatform/apiv1beta1/aiplatformpb/model_monitoring_spec.pb.go index c6329df7d7d2..930134a786f9 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/model_monitoring_spec.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/model_monitoring_spec.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" interval "google.golang.org/genproto/googleapis/type/interval" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/model_monitoring_stats.pb.go b/aiplatform/apiv1beta1/aiplatformpb/model_monitoring_stats.pb.go index 8f190f02c2cd..cf4cb3879d9c 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/model_monitoring_stats.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/model_monitoring_stats.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/model_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/model_service.pb.go index e510726a389a..ea07715d85e9 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/model_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/model_service.pb.go @@ -21,11 +21,8 @@ package aiplatformpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/nas_job.pb.go b/aiplatform/apiv1beta1/aiplatformpb/nas_job.pb.go index a6670d0022ab..79dc36f0ef4a 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/nas_job.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/nas_job.pb.go @@ -21,14 +21,13 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/network_spec.pb.go b/aiplatform/apiv1beta1/aiplatformpb/network_spec.pb.go index 93c7c5a050b0..66f194e3bc52 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/network_spec.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/network_spec.pb.go @@ -21,12 +21,11 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/notebook_euc_config.pb.go b/aiplatform/apiv1beta1/aiplatformpb/notebook_euc_config.pb.go index b7ba21f31f0a..af40193c987d 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/notebook_euc_config.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/notebook_euc_config.pb.go @@ -21,12 +21,11 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/notebook_execution_job.pb.go b/aiplatform/apiv1beta1/aiplatformpb/notebook_execution_job.pb.go index b526ff4687f4..6e723db8c467 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/notebook_execution_job.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/notebook_execution_job.pb.go @@ -21,15 +21,14 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/notebook_idle_shutdown_config.pb.go b/aiplatform/apiv1beta1/aiplatformpb/notebook_idle_shutdown_config.pb.go index de76719096ff..a46939bb8e65 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/notebook_idle_shutdown_config.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/notebook_idle_shutdown_config.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/notebook_runtime.pb.go b/aiplatform/apiv1beta1/aiplatformpb/notebook_runtime.pb.go index 602a88254ac6..2162d56f42af 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/notebook_runtime.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/notebook_runtime.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/notebook_runtime_template_ref.pb.go b/aiplatform/apiv1beta1/aiplatformpb/notebook_runtime_template_ref.pb.go index 63289361070a..622d02f8083d 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/notebook_runtime_template_ref.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/notebook_runtime_template_ref.pb.go @@ -21,12 +21,11 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/notebook_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/notebook_service.pb.go index 85b89c4f5db8..a6713a38e9f7 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/notebook_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/notebook_service.pb.go @@ -21,11 +21,8 @@ package aiplatformpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/openapi.pb.go b/aiplatform/apiv1beta1/aiplatformpb/openapi.pb.go index 3d27598b1e29..c06f828580fe 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/openapi.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/openapi.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/operation.pb.go b/aiplatform/apiv1beta1/aiplatformpb/operation.pb.go index e57ffd453b2e..77a946c15701 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/operation.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/operation.pb.go @@ -21,14 +21,13 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/persistent_resource.pb.go b/aiplatform/apiv1beta1/aiplatformpb/persistent_resource.pb.go index 2a9cf81e552e..bc6a57240372 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/persistent_resource.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/persistent_resource.pb.go @@ -21,14 +21,13 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/persistent_resource_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/persistent_resource_service.pb.go index eef6cb988678..7d2a275aae93 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/persistent_resource_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/persistent_resource_service.pb.go @@ -21,11 +21,8 @@ package aiplatformpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/pipeline_failure_policy.pb.go b/aiplatform/apiv1beta1/aiplatformpb/pipeline_failure_policy.pb.go index 8200dbe9462c..25185badeaed 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/pipeline_failure_policy.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/pipeline_failure_policy.pb.go @@ -21,11 +21,10 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/pipeline_job.pb.go b/aiplatform/apiv1beta1/aiplatformpb/pipeline_job.pb.go index 9ebc8f721e0d..f73ed787ff77 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/pipeline_job.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/pipeline_job.pb.go @@ -21,15 +21,14 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/pipeline_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/pipeline_service.pb.go index 6ab0d261d75f..f3560fd1e72e 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/pipeline_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/pipeline_service.pb.go @@ -21,11 +21,8 @@ package aiplatformpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/pipeline_state.pb.go b/aiplatform/apiv1beta1/aiplatformpb/pipeline_state.pb.go index 33d3eb804008..293e96ecd305 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/pipeline_state.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/pipeline_state.pb.go @@ -21,11 +21,10 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/prediction_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/prediction_service.pb.go index 223466bf1345..c78fd2a6ece9 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/prediction_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/prediction_service.pb.go @@ -22,9 +22,6 @@ package aiplatformpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" httpbody "google.golang.org/genproto/googleapis/api/httpbody" grpc "google.golang.org/grpc" @@ -33,6 +30,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/publisher_model.pb.go b/aiplatform/apiv1beta1/aiplatformpb/publisher_model.pb.go index 36c5ee75e5db..82a6ce32b231 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/publisher_model.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/publisher_model.pb.go @@ -21,12 +21,11 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/reasoning_engine.pb.go b/aiplatform/apiv1beta1/aiplatformpb/reasoning_engine.pb.go index 2bf9d190b59c..78d0ca1b4d60 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/reasoning_engine.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/reasoning_engine.pb.go @@ -21,14 +21,13 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/reasoning_engine_execution_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/reasoning_engine_execution_service.pb.go index 50640579a39c..d3b036776f32 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/reasoning_engine_execution_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/reasoning_engine_execution_service.pb.go @@ -22,9 +22,6 @@ package aiplatformpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/reasoning_engine_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/reasoning_engine_service.pb.go index 9b5df971f836..6e00eeb1e406 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/reasoning_engine_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/reasoning_engine_service.pb.go @@ -21,11 +21,8 @@ package aiplatformpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/reservation_affinity.pb.go b/aiplatform/apiv1beta1/aiplatformpb/reservation_affinity.pb.go index e237a9fbc73d..31259b8663a5 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/reservation_affinity.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/reservation_affinity.pb.go @@ -21,12 +21,11 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/saved_query.pb.go b/aiplatform/apiv1beta1/aiplatformpb/saved_query.pb.go index f371a234dcbe..24a0a0a1c32e 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/saved_query.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/saved_query.pb.go @@ -21,14 +21,13 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/schedule.pb.go b/aiplatform/apiv1beta1/aiplatformpb/schedule.pb.go index f09505e88c0b..02a2e4031a18 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/schedule.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/schedule.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/schedule_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/schedule_service.pb.go index 4056d75d9508..09b5d8f44c82 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/schedule_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/schedule_service.pb.go @@ -21,11 +21,8 @@ package aiplatformpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/service_networking.pb.go b/aiplatform/apiv1beta1/aiplatformpb/service_networking.pb.go index f30080f9a722..d38dc9acd273 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/service_networking.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/service_networking.pb.go @@ -21,12 +21,11 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/specialist_pool.pb.go b/aiplatform/apiv1beta1/aiplatformpb/specialist_pool.pb.go index 4a720487964e..734f7986eec1 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/specialist_pool.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/specialist_pool.pb.go @@ -21,12 +21,11 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/specialist_pool_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/specialist_pool_service.pb.go index 4e081b369205..5c009433e4c2 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/specialist_pool_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/specialist_pool_service.pb.go @@ -21,11 +21,8 @@ package aiplatformpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/study.pb.go b/aiplatform/apiv1beta1/aiplatformpb/study.pb.go index 4de6a6be1750..80eb9fc7c864 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/study.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/study.pb.go @@ -21,9 +21,6 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" @@ -31,6 +28,8 @@ import ( structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/tensorboard.pb.go b/aiplatform/apiv1beta1/aiplatformpb/tensorboard.pb.go index e7f0af2d1874..01761144d87a 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/tensorboard.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/tensorboard.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/tensorboard_data.pb.go b/aiplatform/apiv1beta1/aiplatformpb/tensorboard_data.pb.go index 97fb805d96d4..77d3d26d02e6 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/tensorboard_data.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/tensorboard_data.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/tensorboard_experiment.pb.go b/aiplatform/apiv1beta1/aiplatformpb/tensorboard_experiment.pb.go index 20e6524ed2b5..c464e99b5de4 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/tensorboard_experiment.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/tensorboard_experiment.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/tensorboard_run.pb.go b/aiplatform/apiv1beta1/aiplatformpb/tensorboard_run.pb.go index ddbc14c94ada..d1e6b52925c4 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/tensorboard_run.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/tensorboard_run.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/tensorboard_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/tensorboard_service.pb.go index a5dae9739312..d233c7aa74bd 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/tensorboard_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/tensorboard_service.pb.go @@ -21,11 +21,8 @@ package aiplatformpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/tensorboard_time_series.pb.go b/aiplatform/apiv1beta1/aiplatformpb/tensorboard_time_series.pb.go index ab10f94fb121..406bbc711338 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/tensorboard_time_series.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/tensorboard_time_series.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/tool.pb.go b/aiplatform/apiv1beta1/aiplatformpb/tool.pb.go index 87a89afcad43..2bba3172d43d 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/tool.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/tool.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/training_pipeline.pb.go b/aiplatform/apiv1beta1/aiplatformpb/training_pipeline.pb.go index 113aa816b499..027bae4599a6 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/training_pipeline.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/training_pipeline.pb.go @@ -21,15 +21,14 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/tuning_job.pb.go b/aiplatform/apiv1beta1/aiplatformpb/tuning_job.pb.go index b4379b17f6c8..ee22a03bb072 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/tuning_job.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/tuning_job.pb.go @@ -21,15 +21,14 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/types.pb.go b/aiplatform/apiv1beta1/aiplatformpb/types.pb.go index b4938010856e..c1dab1c9d885 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/types.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/types.pb.go @@ -21,11 +21,10 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/ui_pipeline_spec.pb.go b/aiplatform/apiv1beta1/aiplatformpb/ui_pipeline_spec.pb.go index ef9991659fcf..86a09d8ba6ac 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/ui_pipeline_spec.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/ui_pipeline_spec.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/unmanaged_container_model.pb.go b/aiplatform/apiv1beta1/aiplatformpb/unmanaged_container_model.pb.go index 8f433f243757..003335a33145 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/unmanaged_container_model.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/unmanaged_container_model.pb.go @@ -21,12 +21,11 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/user_action_reference.pb.go b/aiplatform/apiv1beta1/aiplatformpb/user_action_reference.pb.go index 381cc672667b..dfcedc8ceb7c 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/user_action_reference.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/user_action_reference.pb.go @@ -21,11 +21,10 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/value.pb.go b/aiplatform/apiv1beta1/aiplatformpb/value.pb.go index 5c3eb857902a..f1fa3a2d59be 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/value.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/value.pb.go @@ -21,11 +21,10 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/vertex_rag_data.pb.go b/aiplatform/apiv1beta1/aiplatformpb/vertex_rag_data.pb.go index 11f4a5500f75..ff198d7ddc09 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/vertex_rag_data.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/vertex_rag_data.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/vertex_rag_data_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/vertex_rag_data_service.pb.go index 53c1d7587d90..30bad0ba2090 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/vertex_rag_data_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/vertex_rag_data_service.pb.go @@ -21,11 +21,8 @@ package aiplatformpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -34,6 +31,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/vertex_rag_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/vertex_rag_service.pb.go index 0437dd2222cf..d36fa42439c9 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/vertex_rag_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/vertex_rag_service.pb.go @@ -22,15 +22,14 @@ package aiplatformpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/vizier_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/vizier_service.pb.go index 14b75f4814b0..cccae7097aa6 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/vizier_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/vizier_service.pb.go @@ -21,11 +21,8 @@ package aiplatformpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/alloydb/apiv1/alloydbpb/data_model.pb.go b/alloydb/apiv1/alloydbpb/data_model.pb.go index 061fe54bee05..8201a49843ef 100755 --- a/alloydb/apiv1/alloydbpb/data_model.pb.go +++ b/alloydb/apiv1/alloydbpb/data_model.pb.go @@ -21,11 +21,10 @@ package alloydbpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/alloydb/apiv1/alloydbpb/resources.pb.go b/alloydb/apiv1/alloydbpb/resources.pb.go index 31298be042ed..60503d99c72d 100755 --- a/alloydb/apiv1/alloydbpb/resources.pb.go +++ b/alloydb/apiv1/alloydbpb/resources.pb.go @@ -21,9 +21,6 @@ package alloydbpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" dayofweek "google.golang.org/genproto/googleapis/type/dayofweek" timeofday "google.golang.org/genproto/googleapis/type/timeofday" @@ -32,6 +29,8 @@ import ( durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( diff --git a/alloydb/apiv1/alloydbpb/service.pb.go b/alloydb/apiv1/alloydbpb/service.pb.go index 5863ac192da7..66df719f3fd0 100755 --- a/alloydb/apiv1/alloydbpb/service.pb.go +++ b/alloydb/apiv1/alloydbpb/service.pb.go @@ -21,11 +21,8 @@ package alloydbpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -37,6 +34,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/alloydb/apiv1alpha/alloydbpb/resources.pb.go b/alloydb/apiv1alpha/alloydbpb/resources.pb.go index 89af81e4a9f7..ef5863b21dff 100755 --- a/alloydb/apiv1alpha/alloydbpb/resources.pb.go +++ b/alloydb/apiv1alpha/alloydbpb/resources.pb.go @@ -21,9 +21,6 @@ package alloydbpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" dayofweek "google.golang.org/genproto/googleapis/type/dayofweek" timeofday "google.golang.org/genproto/googleapis/type/timeofday" @@ -32,6 +29,8 @@ import ( durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( diff --git a/alloydb/apiv1alpha/alloydbpb/service.pb.go b/alloydb/apiv1alpha/alloydbpb/service.pb.go index f0b4e2cf29eb..d5e887855b40 100755 --- a/alloydb/apiv1alpha/alloydbpb/service.pb.go +++ b/alloydb/apiv1alpha/alloydbpb/service.pb.go @@ -21,11 +21,8 @@ package alloydbpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -37,6 +34,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/alloydb/apiv1beta/alloydbpb/resources.pb.go b/alloydb/apiv1beta/alloydbpb/resources.pb.go index bb5a21e30335..73d99eb39265 100755 --- a/alloydb/apiv1beta/alloydbpb/resources.pb.go +++ b/alloydb/apiv1beta/alloydbpb/resources.pb.go @@ -21,9 +21,6 @@ package alloydbpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" dayofweek "google.golang.org/genproto/googleapis/type/dayofweek" timeofday "google.golang.org/genproto/googleapis/type/timeofday" @@ -32,6 +29,8 @@ import ( durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( diff --git a/alloydb/apiv1beta/alloydbpb/service.pb.go b/alloydb/apiv1beta/alloydbpb/service.pb.go index a80714a4545e..755a0e7c4803 100755 --- a/alloydb/apiv1beta/alloydbpb/service.pb.go +++ b/alloydb/apiv1beta/alloydbpb/service.pb.go @@ -21,11 +21,8 @@ package alloydbpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -37,6 +34,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/alloydb/connectors/apiv1/connectorspb/resources.pb.go b/alloydb/connectors/apiv1/connectorspb/resources.pb.go index 0c5654927ca2..ac524d7e626b 100755 --- a/alloydb/connectors/apiv1/connectorspb/resources.pb.go +++ b/alloydb/connectors/apiv1/connectorspb/resources.pb.go @@ -21,12 +21,11 @@ package connectorspb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/alloydb/connectors/apiv1alpha/connectorspb/resources.pb.go b/alloydb/connectors/apiv1alpha/connectorspb/resources.pb.go index c28c68c3fced..86954d298748 100755 --- a/alloydb/connectors/apiv1alpha/connectorspb/resources.pb.go +++ b/alloydb/connectors/apiv1alpha/connectorspb/resources.pb.go @@ -21,12 +21,11 @@ package connectorspb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/alloydb/connectors/apiv1beta/connectorspb/resources.pb.go b/alloydb/connectors/apiv1beta/connectorspb/resources.pb.go index cc4f5a5d51a8..d17d42ab21cd 100755 --- a/alloydb/connectors/apiv1beta/connectorspb/resources.pb.go +++ b/alloydb/connectors/apiv1beta/connectorspb/resources.pb.go @@ -21,12 +21,11 @@ package connectorspb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/analytics/admin/apiv1alpha/adminpb/access_report.pb.go b/analytics/admin/apiv1alpha/adminpb/access_report.pb.go index 34f41932970e..f59d471a888c 100755 --- a/analytics/admin/apiv1alpha/adminpb/access_report.pb.go +++ b/analytics/admin/apiv1alpha/adminpb/access_report.pb.go @@ -21,11 +21,10 @@ package adminpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/analytics/admin/apiv1alpha/adminpb/analytics_admin.pb.go b/analytics/admin/apiv1alpha/adminpb/analytics_admin.pb.go index 7381d8835a5c..6185f00cca1e 100755 --- a/analytics/admin/apiv1alpha/adminpb/analytics_admin.pb.go +++ b/analytics/admin/apiv1alpha/adminpb/analytics_admin.pb.go @@ -22,9 +22,6 @@ package adminpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/analytics/admin/apiv1alpha/adminpb/audience.pb.go b/analytics/admin/apiv1alpha/adminpb/audience.pb.go index 5e9825f2f5a6..163efc20fd18 100755 --- a/analytics/admin/apiv1alpha/adminpb/audience.pb.go +++ b/analytics/admin/apiv1alpha/adminpb/audience.pb.go @@ -21,14 +21,13 @@ package adminpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/analytics/admin/apiv1alpha/adminpb/channel_group.pb.go b/analytics/admin/apiv1alpha/adminpb/channel_group.pb.go index f023d262f57b..d3d53e1cdabb 100755 --- a/analytics/admin/apiv1alpha/adminpb/channel_group.pb.go +++ b/analytics/admin/apiv1alpha/adminpb/channel_group.pb.go @@ -21,12 +21,11 @@ package adminpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/analytics/admin/apiv1alpha/adminpb/event_create_and_edit.pb.go b/analytics/admin/apiv1alpha/adminpb/event_create_and_edit.pb.go index 247400fc08f2..ff019b6db741 100755 --- a/analytics/admin/apiv1alpha/adminpb/event_create_and_edit.pb.go +++ b/analytics/admin/apiv1alpha/adminpb/event_create_and_edit.pb.go @@ -21,12 +21,11 @@ package adminpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/analytics/admin/apiv1alpha/adminpb/expanded_data_set.pb.go b/analytics/admin/apiv1alpha/adminpb/expanded_data_set.pb.go index f1e2a6a9b6d5..98856f69b3ae 100755 --- a/analytics/admin/apiv1alpha/adminpb/expanded_data_set.pb.go +++ b/analytics/admin/apiv1alpha/adminpb/expanded_data_set.pb.go @@ -21,13 +21,12 @@ package adminpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/analytics/admin/apiv1alpha/adminpb/resources.pb.go b/analytics/admin/apiv1alpha/adminpb/resources.pb.go index cb26fd8fdf43..0db070dba079 100755 --- a/analytics/admin/apiv1alpha/adminpb/resources.pb.go +++ b/analytics/admin/apiv1alpha/adminpb/resources.pb.go @@ -21,14 +21,13 @@ package adminpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( diff --git a/analytics/admin/apiv1alpha/adminpb/subproperty_event_filter.pb.go b/analytics/admin/apiv1alpha/adminpb/subproperty_event_filter.pb.go index d31d82aef3af..a23203fcc987 100755 --- a/analytics/admin/apiv1alpha/adminpb/subproperty_event_filter.pb.go +++ b/analytics/admin/apiv1alpha/adminpb/subproperty_event_filter.pb.go @@ -21,12 +21,11 @@ package adminpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/apigateway/apiv1/apigatewaypb/apigateway.pb.go b/apigateway/apiv1/apigatewaypb/apigateway.pb.go index fd9f53a1d062..0187e3631b69 100755 --- a/apigateway/apiv1/apigatewaypb/apigateway.pb.go +++ b/apigateway/apiv1/apigatewaypb/apigateway.pb.go @@ -21,14 +21,13 @@ package apigatewaypb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/apigateway/apiv1/apigatewaypb/apigateway_service.pb.go b/apigateway/apiv1/apigatewaypb/apigateway_service.pb.go index 515628882e63..12a1e80a1bc3 100755 --- a/apigateway/apiv1/apigatewaypb/apigateway_service.pb.go +++ b/apigateway/apiv1/apigatewaypb/apigateway_service.pb.go @@ -21,16 +21,15 @@ package apigatewaypb import ( - context "context" - reflect "reflect" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" ) const ( diff --git a/apigeeconnect/apiv1/apigeeconnectpb/connection.pb.go b/apigeeconnect/apiv1/apigeeconnectpb/connection.pb.go index 5df7aef4e07a..3cdf1c4825fe 100755 --- a/apigeeconnect/apiv1/apigeeconnectpb/connection.pb.go +++ b/apigeeconnect/apiv1/apigeeconnectpb/connection.pb.go @@ -22,15 +22,14 @@ package apigeeconnectpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/apigeeconnect/apiv1/apigeeconnectpb/tether.pb.go b/apigeeconnect/apiv1/apigeeconnectpb/tether.pb.go index b36d481e4a16..f4f2b4a1fe0b 100755 --- a/apigeeconnect/apiv1/apigeeconnectpb/tether.pb.go +++ b/apigeeconnect/apiv1/apigeeconnectpb/tether.pb.go @@ -22,9 +22,6 @@ package apigeeconnectpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -33,6 +30,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/apigeeconnect/apiv1/tether_client_example_go123_test.go b/apigeeconnect/apiv1/tether_client_example_go123_test.go index 583686fb715f..840ff79d8a8d 100644 --- a/apigeeconnect/apiv1/tether_client_example_go123_test.go +++ b/apigeeconnect/apiv1/tether_client_example_go123_test.go @@ -17,3 +17,7 @@ //go:build go1.23 package apigeeconnect_test + +import ( + apigeeconnect "cloud.google.com/go/apigeeconnect/apiv1" +) diff --git a/apigeeregistry/apiv1/apigeeregistrypb/provisioning_service.pb.go b/apigeeregistry/apiv1/apigeeregistrypb/provisioning_service.pb.go index 01007e76a9ca..3d5448e208c5 100755 --- a/apigeeregistry/apiv1/apigeeregistrypb/provisioning_service.pb.go +++ b/apigeeregistry/apiv1/apigeeregistrypb/provisioning_service.pb.go @@ -21,11 +21,8 @@ package apigeeregistrypb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/apigeeregistry/apiv1/apigeeregistrypb/registry_models.pb.go b/apigeeregistry/apiv1/apigeeregistrypb/registry_models.pb.go index e8d6db365df0..730005a87e49 100755 --- a/apigeeregistry/apiv1/apigeeregistrypb/registry_models.pb.go +++ b/apigeeregistry/apiv1/apigeeregistrypb/registry_models.pb.go @@ -21,13 +21,12 @@ package apigeeregistrypb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/apigeeregistry/apiv1/apigeeregistrypb/registry_service.pb.go b/apigeeregistry/apiv1/apigeeregistrypb/registry_service.pb.go index 1007e52318d5..aa3303998984 100755 --- a/apigeeregistry/apiv1/apigeeregistrypb/registry_service.pb.go +++ b/apigeeregistry/apiv1/apigeeregistrypb/registry_service.pb.go @@ -22,9 +22,6 @@ package apigeeregistrypb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" httpbody "google.golang.org/genproto/googleapis/api/httpbody" grpc "google.golang.org/grpc" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/apihub/apiv1/apihubpb/apihub_service.pb.go b/apihub/apiv1/apihubpb/apihub_service.pb.go index 1414ca0670d5..ff4b3962fa8f 100755 --- a/apihub/apiv1/apihubpb/apihub_service.pb.go +++ b/apihub/apiv1/apihubpb/apihub_service.pb.go @@ -22,9 +22,6 @@ package apihubpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/apihub/apiv1/apihubpb/common_fields.pb.go b/apihub/apiv1/apihubpb/common_fields.pb.go index 155beb80e79d..3c99f3301181 100755 --- a/apihub/apiv1/apihubpb/common_fields.pb.go +++ b/apihub/apiv1/apihubpb/common_fields.pb.go @@ -21,13 +21,12 @@ package apihubpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/apihub/apiv1/apihubpb/host_project_registration_service.pb.go b/apihub/apiv1/apihubpb/host_project_registration_service.pb.go index e1ad66d1935d..7f4c56bee1de 100755 --- a/apihub/apiv1/apihubpb/host_project_registration_service.pb.go +++ b/apihub/apiv1/apihubpb/host_project_registration_service.pb.go @@ -22,9 +22,6 @@ package apihubpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/apihub/apiv1/apihubpb/linting_service.pb.go b/apihub/apiv1/apihubpb/linting_service.pb.go index fc5cf591950b..225f1e0e4f33 100755 --- a/apihub/apiv1/apihubpb/linting_service.pb.go +++ b/apihub/apiv1/apihubpb/linting_service.pb.go @@ -22,9 +22,6 @@ package apihubpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/apihub/apiv1/apihubpb/plugin_service.pb.go b/apihub/apiv1/apihubpb/plugin_service.pb.go index 7290e0c8f50f..13504cb23544 100755 --- a/apihub/apiv1/apihubpb/plugin_service.pb.go +++ b/apihub/apiv1/apihubpb/plugin_service.pb.go @@ -22,15 +22,14 @@ package apihubpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/apihub/apiv1/apihubpb/provisioning_service.pb.go b/apihub/apiv1/apihubpb/provisioning_service.pb.go index 65905bfaf40a..350e046b7b5a 100755 --- a/apihub/apiv1/apihubpb/provisioning_service.pb.go +++ b/apihub/apiv1/apihubpb/provisioning_service.pb.go @@ -21,17 +21,16 @@ package apihubpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/apihub/apiv1/apihubpb/runtime_project_attachment_service.pb.go b/apihub/apiv1/apihubpb/runtime_project_attachment_service.pb.go index 82251981ebc9..edb07720a1ae 100755 --- a/apihub/apiv1/apihubpb/runtime_project_attachment_service.pb.go +++ b/apihub/apiv1/apihubpb/runtime_project_attachment_service.pb.go @@ -22,9 +22,6 @@ package apihubpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/apikeys/apiv2/apikeyspb/apikeys.pb.go b/apikeys/apiv2/apikeyspb/apikeys.pb.go index 38efaf38ef67..76f65ad412a7 100755 --- a/apikeys/apiv2/apikeyspb/apikeys.pb.go +++ b/apikeys/apiv2/apikeyspb/apikeys.pb.go @@ -21,11 +21,8 @@ package apikeyspb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/apikeys/apiv2/apikeyspb/resources.pb.go b/apikeys/apiv2/apikeyspb/resources.pb.go index a9d5be443480..898ef9c243ba 100755 --- a/apikeys/apiv2/apikeyspb/resources.pb.go +++ b/apikeys/apiv2/apikeyspb/resources.pb.go @@ -21,13 +21,12 @@ package apikeyspb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/appengine/apiv1/appenginepb/app_yaml.pb.go b/appengine/apiv1/appenginepb/app_yaml.pb.go index c5dd8755a1b6..566139524c8d 100755 --- a/appengine/apiv1/appenginepb/app_yaml.pb.go +++ b/appengine/apiv1/appenginepb/app_yaml.pb.go @@ -21,12 +21,11 @@ package appenginepb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/appengine/apiv1/appenginepb/appengine.pb.go b/appengine/apiv1/appenginepb/appengine.pb.go index e25d38a2b451..6f321c81e2dd 100755 --- a/appengine/apiv1/appenginepb/appengine.pb.go +++ b/appengine/apiv1/appenginepb/appengine.pb.go @@ -21,11 +21,8 @@ package appenginepb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/appengine/apiv1/appenginepb/application.pb.go b/appengine/apiv1/appenginepb/application.pb.go index 14a23fde99f5..b2cf73219254 100755 --- a/appengine/apiv1/appenginepb/application.pb.go +++ b/appengine/apiv1/appenginepb/application.pb.go @@ -21,12 +21,11 @@ package appenginepb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/appengine/apiv1/appenginepb/audit_data.pb.go b/appengine/apiv1/appenginepb/audit_data.pb.go index 89386ca6c911..8ddaa4277e53 100755 --- a/appengine/apiv1/appenginepb/audit_data.pb.go +++ b/appengine/apiv1/appenginepb/audit_data.pb.go @@ -21,11 +21,10 @@ package appenginepb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/appengine/apiv1/appenginepb/certificate.pb.go b/appengine/apiv1/appenginepb/certificate.pb.go index 8a40dc6052a0..7237a798ca42 100755 --- a/appengine/apiv1/appenginepb/certificate.pb.go +++ b/appengine/apiv1/appenginepb/certificate.pb.go @@ -21,12 +21,11 @@ package appenginepb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/appengine/apiv1/appenginepb/deploy.pb.go b/appengine/apiv1/appenginepb/deploy.pb.go index f7e2403c79be..ee40d7f6db64 100755 --- a/appengine/apiv1/appenginepb/deploy.pb.go +++ b/appengine/apiv1/appenginepb/deploy.pb.go @@ -21,12 +21,11 @@ package appenginepb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/appengine/apiv1/appenginepb/deployed_files.pb.go b/appengine/apiv1/appenginepb/deployed_files.pb.go index b9d2b3190883..bdd2106533fc 100755 --- a/appengine/apiv1/appenginepb/deployed_files.pb.go +++ b/appengine/apiv1/appenginepb/deployed_files.pb.go @@ -21,10 +21,9 @@ package appenginepb import ( - reflect "reflect" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" ) const ( diff --git a/appengine/apiv1/appenginepb/domain.pb.go b/appengine/apiv1/appenginepb/domain.pb.go index 48af7b7980a8..e8ed064058ae 100755 --- a/appengine/apiv1/appenginepb/domain.pb.go +++ b/appengine/apiv1/appenginepb/domain.pb.go @@ -21,11 +21,10 @@ package appenginepb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/appengine/apiv1/appenginepb/domain_mapping.pb.go b/appengine/apiv1/appenginepb/domain_mapping.pb.go index e4bd43c63d6e..6a832f619517 100755 --- a/appengine/apiv1/appenginepb/domain_mapping.pb.go +++ b/appengine/apiv1/appenginepb/domain_mapping.pb.go @@ -21,11 +21,10 @@ package appenginepb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/appengine/apiv1/appenginepb/firewall.pb.go b/appengine/apiv1/appenginepb/firewall.pb.go index f37c827823f7..3fef04cf4950 100755 --- a/appengine/apiv1/appenginepb/firewall.pb.go +++ b/appengine/apiv1/appenginepb/firewall.pb.go @@ -21,11 +21,10 @@ package appenginepb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/appengine/apiv1/appenginepb/instance.pb.go b/appengine/apiv1/appenginepb/instance.pb.go index c8d2dec723dd..85bc5d2d5110 100755 --- a/appengine/apiv1/appenginepb/instance.pb.go +++ b/appengine/apiv1/appenginepb/instance.pb.go @@ -21,13 +21,12 @@ package appenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/appengine/apiv1/appenginepb/location.pb.go b/appengine/apiv1/appenginepb/location.pb.go index d067118cfa84..08ef8b6e086a 100755 --- a/appengine/apiv1/appenginepb/location.pb.go +++ b/appengine/apiv1/appenginepb/location.pb.go @@ -21,12 +21,11 @@ package appenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/appengine/apiv1/appenginepb/network_settings.pb.go b/appengine/apiv1/appenginepb/network_settings.pb.go index 7508b2bfae24..226d43eb5d70 100755 --- a/appengine/apiv1/appenginepb/network_settings.pb.go +++ b/appengine/apiv1/appenginepb/network_settings.pb.go @@ -21,11 +21,10 @@ package appenginepb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/appengine/apiv1/appenginepb/operation.pb.go b/appengine/apiv1/appenginepb/operation.pb.go index d591cb75c922..3c3388b0f97b 100755 --- a/appengine/apiv1/appenginepb/operation.pb.go +++ b/appengine/apiv1/appenginepb/operation.pb.go @@ -21,12 +21,11 @@ package appenginepb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/appengine/apiv1/appenginepb/service.pb.go b/appengine/apiv1/appenginepb/service.pb.go index 7427b54b14d0..c17034886b76 100755 --- a/appengine/apiv1/appenginepb/service.pb.go +++ b/appengine/apiv1/appenginepb/service.pb.go @@ -21,11 +21,10 @@ package appenginepb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/appengine/apiv1/appenginepb/version.pb.go b/appengine/apiv1/appenginepb/version.pb.go index e5b4bece932c..de97fd84dcee 100755 --- a/appengine/apiv1/appenginepb/version.pb.go +++ b/appengine/apiv1/appenginepb/version.pb.go @@ -21,13 +21,12 @@ package appenginepb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/appengine/apiv1/applications_client_example_go123_test.go b/appengine/apiv1/applications_client_example_go123_test.go index 355832b3c2a4..c93977177ec8 100644 --- a/appengine/apiv1/applications_client_example_go123_test.go +++ b/appengine/apiv1/applications_client_example_go123_test.go @@ -17,3 +17,7 @@ //go:build go1.23 package appengine_test + +import ( + appengine "cloud.google.com/go/appengine/apiv1" +) diff --git a/apphub/apiv1/apphubpb/apphub_service.pb.go b/apphub/apiv1/apphubpb/apphub_service.pb.go index 7d947045d5e3..11892ebdb348 100755 --- a/apphub/apiv1/apphubpb/apphub_service.pb.go +++ b/apphub/apiv1/apphubpb/apphub_service.pb.go @@ -21,11 +21,8 @@ package apphubpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/apphub/apiv1/apphubpb/application.pb.go b/apphub/apiv1/apphubpb/application.pb.go index 8cadf015e77d..14182071c337 100755 --- a/apphub/apiv1/apphubpb/application.pb.go +++ b/apphub/apiv1/apphubpb/application.pb.go @@ -21,13 +21,12 @@ package apphubpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/apphub/apiv1/apphubpb/attributes.pb.go b/apphub/apiv1/apphubpb/attributes.pb.go index 41b29b8df83a..5a95fa67e21b 100755 --- a/apphub/apiv1/apphubpb/attributes.pb.go +++ b/apphub/apiv1/apphubpb/attributes.pb.go @@ -21,12 +21,11 @@ package apphubpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/apphub/apiv1/apphubpb/service.pb.go b/apphub/apiv1/apphubpb/service.pb.go index 446c78729734..9930a126dae1 100755 --- a/apphub/apiv1/apphubpb/service.pb.go +++ b/apphub/apiv1/apphubpb/service.pb.go @@ -21,13 +21,12 @@ package apphubpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/apphub/apiv1/apphubpb/service_project_attachment.pb.go b/apphub/apiv1/apphubpb/service_project_attachment.pb.go index 91dc361f6a61..9bfbc67f3961 100755 --- a/apphub/apiv1/apphubpb/service_project_attachment.pb.go +++ b/apphub/apiv1/apphubpb/service_project_attachment.pb.go @@ -21,13 +21,12 @@ package apphubpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/apphub/apiv1/apphubpb/workload.pb.go b/apphub/apiv1/apphubpb/workload.pb.go index 133f992ee08a..60b70c031823 100755 --- a/apphub/apiv1/apphubpb/workload.pb.go +++ b/apphub/apiv1/apphubpb/workload.pb.go @@ -21,13 +21,12 @@ package apphubpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/apps/events/subscriptions/apiv1/subscriptionspb/subscription_resource.pb.go b/apps/events/subscriptions/apiv1/subscriptionspb/subscription_resource.pb.go index 7f41e0af2e62..debd9b659e3c 100755 --- a/apps/events/subscriptions/apiv1/subscriptionspb/subscription_resource.pb.go +++ b/apps/events/subscriptions/apiv1/subscriptionspb/subscription_resource.pb.go @@ -21,15 +21,14 @@ package subscriptionspb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/apps/events/subscriptions/apiv1/subscriptionspb/subscriptions_service.pb.go b/apps/events/subscriptions/apiv1/subscriptionspb/subscriptions_service.pb.go index 6e4cc614678b..2105d0e11321 100755 --- a/apps/events/subscriptions/apiv1/subscriptionspb/subscriptions_service.pb.go +++ b/apps/events/subscriptions/apiv1/subscriptionspb/subscriptions_service.pb.go @@ -21,11 +21,8 @@ package subscriptionspb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/apps/meet/apiv2/meetpb/resource.pb.go b/apps/meet/apiv2/meetpb/resource.pb.go index 5b4f5f41028b..666de36b84a9 100755 --- a/apps/meet/apiv2/meetpb/resource.pb.go +++ b/apps/meet/apiv2/meetpb/resource.pb.go @@ -21,13 +21,12 @@ package meetpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/apps/meet/apiv2/meetpb/service.pb.go b/apps/meet/apiv2/meetpb/service.pb.go index 4feb0eecc3cf..6dba009bb494 100755 --- a/apps/meet/apiv2/meetpb/service.pb.go +++ b/apps/meet/apiv2/meetpb/service.pb.go @@ -22,9 +22,6 @@ package meetpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/apps/meet/apiv2/spaces_client_example_go123_test.go b/apps/meet/apiv2/spaces_client_example_go123_test.go index 288b16dc4567..9da180a613db 100644 --- a/apps/meet/apiv2/spaces_client_example_go123_test.go +++ b/apps/meet/apiv2/spaces_client_example_go123_test.go @@ -17,3 +17,7 @@ //go:build go1.23 package meet_test + +import ( + meet "cloud.google.com/go/apps/meet/apiv2" +) diff --git a/apps/meet/apiv2beta/meetpb/resource.pb.go b/apps/meet/apiv2beta/meetpb/resource.pb.go index 9b23aaf07f53..5418508f6eed 100755 --- a/apps/meet/apiv2beta/meetpb/resource.pb.go +++ b/apps/meet/apiv2beta/meetpb/resource.pb.go @@ -21,13 +21,12 @@ package meetpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/apps/meet/apiv2beta/meetpb/service.pb.go b/apps/meet/apiv2beta/meetpb/service.pb.go index 294770a67220..ed335b522aa7 100755 --- a/apps/meet/apiv2beta/meetpb/service.pb.go +++ b/apps/meet/apiv2beta/meetpb/service.pb.go @@ -22,9 +22,6 @@ package meetpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/apps/meet/apiv2beta/spaces_client_example_go123_test.go b/apps/meet/apiv2beta/spaces_client_example_go123_test.go index 288b16dc4567..e09a10383ced 100644 --- a/apps/meet/apiv2beta/spaces_client_example_go123_test.go +++ b/apps/meet/apiv2beta/spaces_client_example_go123_test.go @@ -17,3 +17,7 @@ //go:build go1.23 package meet_test + +import ( + meet "cloud.google.com/go/apps/meet/apiv2beta" +) diff --git a/area120/tables/apiv1alpha1/tablespb/tables.pb.go b/area120/tables/apiv1alpha1/tablespb/tables.pb.go index 13536e0b5dfb..acb2c9f665b7 100755 --- a/area120/tables/apiv1alpha1/tablespb/tables.pb.go +++ b/area120/tables/apiv1alpha1/tablespb/tables.pb.go @@ -22,9 +22,6 @@ package tablespb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/artifactregistry/apiv1/artifactregistrypb/apt_artifact.pb.go b/artifactregistry/apiv1/artifactregistrypb/apt_artifact.pb.go index d97b6122d699..30fe8ec984cb 100755 --- a/artifactregistry/apiv1/artifactregistrypb/apt_artifact.pb.go +++ b/artifactregistry/apiv1/artifactregistrypb/apt_artifact.pb.go @@ -21,13 +21,12 @@ package artifactregistrypb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/artifactregistry/apiv1/artifactregistrypb/artifact.pb.go b/artifactregistry/apiv1/artifactregistrypb/artifact.pb.go index 48711580c91e..78e1bae8c974 100755 --- a/artifactregistry/apiv1/artifactregistrypb/artifact.pb.go +++ b/artifactregistry/apiv1/artifactregistrypb/artifact.pb.go @@ -21,13 +21,12 @@ package artifactregistrypb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/artifactregistry/apiv1/artifactregistrypb/file.pb.go b/artifactregistry/apiv1/artifactregistrypb/file.pb.go index 315cd73a2506..d1bbc187470f 100755 --- a/artifactregistry/apiv1/artifactregistrypb/file.pb.go +++ b/artifactregistry/apiv1/artifactregistrypb/file.pb.go @@ -21,13 +21,12 @@ package artifactregistrypb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/artifactregistry/apiv1/artifactregistrypb/package.pb.go b/artifactregistry/apiv1/artifactregistrypb/package.pb.go index 5e5ef0c6bee7..f62523394f3e 100755 --- a/artifactregistry/apiv1/artifactregistrypb/package.pb.go +++ b/artifactregistry/apiv1/artifactregistrypb/package.pb.go @@ -21,13 +21,12 @@ package artifactregistrypb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/artifactregistry/apiv1/artifactregistrypb/repository.pb.go b/artifactregistry/apiv1/artifactregistrypb/repository.pb.go index e8108c50fcd9..84badad244ea 100755 --- a/artifactregistry/apiv1/artifactregistrypb/repository.pb.go +++ b/artifactregistry/apiv1/artifactregistrypb/repository.pb.go @@ -21,15 +21,14 @@ package artifactregistrypb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/artifactregistry/apiv1/artifactregistrypb/service.pb.go b/artifactregistry/apiv1/artifactregistrypb/service.pb.go index cda39e943029..f297805b0c01 100755 --- a/artifactregistry/apiv1/artifactregistrypb/service.pb.go +++ b/artifactregistry/apiv1/artifactregistrypb/service.pb.go @@ -21,12 +21,9 @@ package artifactregistrypb import ( - context "context" - reflect "reflect" - sync "sync" - iampb "cloud.google.com/go/iam/apiv1/iampb" longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" + reflect "reflect" + sync "sync" ) const ( diff --git a/artifactregistry/apiv1/artifactregistrypb/settings.pb.go b/artifactregistry/apiv1/artifactregistrypb/settings.pb.go index 38c26e44998d..0b97ada58db9 100755 --- a/artifactregistry/apiv1/artifactregistrypb/settings.pb.go +++ b/artifactregistry/apiv1/artifactregistrypb/settings.pb.go @@ -21,13 +21,12 @@ package artifactregistrypb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/artifactregistry/apiv1/artifactregistrypb/tag.pb.go b/artifactregistry/apiv1/artifactregistrypb/tag.pb.go index 94ef1fd7d2fb..e81ef472805a 100755 --- a/artifactregistry/apiv1/artifactregistrypb/tag.pb.go +++ b/artifactregistry/apiv1/artifactregistrypb/tag.pb.go @@ -21,13 +21,12 @@ package artifactregistrypb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/artifactregistry/apiv1/artifactregistrypb/version.pb.go b/artifactregistry/apiv1/artifactregistrypb/version.pb.go index ce6469e41f8a..e8c0690afff4 100755 --- a/artifactregistry/apiv1/artifactregistrypb/version.pb.go +++ b/artifactregistry/apiv1/artifactregistrypb/version.pb.go @@ -21,14 +21,13 @@ package artifactregistrypb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/artifactregistry/apiv1/artifactregistrypb/vpcsc_config.pb.go b/artifactregistry/apiv1/artifactregistrypb/vpcsc_config.pb.go index 42bf1745dad0..4b14c9553bf8 100755 --- a/artifactregistry/apiv1/artifactregistrypb/vpcsc_config.pb.go +++ b/artifactregistry/apiv1/artifactregistrypb/vpcsc_config.pb.go @@ -21,13 +21,12 @@ package artifactregistrypb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/artifactregistry/apiv1/artifactregistrypb/yum_artifact.pb.go b/artifactregistry/apiv1/artifactregistrypb/yum_artifact.pb.go index 8feee12e5073..24ddadbfc0cf 100755 --- a/artifactregistry/apiv1/artifactregistrypb/yum_artifact.pb.go +++ b/artifactregistry/apiv1/artifactregistrypb/yum_artifact.pb.go @@ -21,13 +21,12 @@ package artifactregistrypb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/artifactregistry/apiv1beta2/artifactregistrypb/apt_artifact.pb.go b/artifactregistry/apiv1beta2/artifactregistrypb/apt_artifact.pb.go index 79223a65886f..e171ee684c8b 100755 --- a/artifactregistry/apiv1beta2/artifactregistrypb/apt_artifact.pb.go +++ b/artifactregistry/apiv1beta2/artifactregistrypb/apt_artifact.pb.go @@ -21,13 +21,12 @@ package artifactregistrypb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/artifactregistry/apiv1beta2/artifactregistrypb/file.pb.go b/artifactregistry/apiv1beta2/artifactregistrypb/file.pb.go index e0068228b94e..f3f633257841 100755 --- a/artifactregistry/apiv1beta2/artifactregistrypb/file.pb.go +++ b/artifactregistry/apiv1beta2/artifactregistrypb/file.pb.go @@ -21,13 +21,12 @@ package artifactregistrypb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/artifactregistry/apiv1beta2/artifactregistrypb/package.pb.go b/artifactregistry/apiv1beta2/artifactregistrypb/package.pb.go index 54ee60de0c6b..0733bead542a 100755 --- a/artifactregistry/apiv1beta2/artifactregistrypb/package.pb.go +++ b/artifactregistry/apiv1beta2/artifactregistrypb/package.pb.go @@ -21,12 +21,11 @@ package artifactregistrypb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/artifactregistry/apiv1beta2/artifactregistrypb/repository.pb.go b/artifactregistry/apiv1beta2/artifactregistrypb/repository.pb.go index b1d61966541d..905eaa4a45ba 100755 --- a/artifactregistry/apiv1beta2/artifactregistrypb/repository.pb.go +++ b/artifactregistry/apiv1beta2/artifactregistrypb/repository.pb.go @@ -21,14 +21,13 @@ package artifactregistrypb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/artifactregistry/apiv1beta2/artifactregistrypb/service.pb.go b/artifactregistry/apiv1beta2/artifactregistrypb/service.pb.go index 8acd25d431b2..fda1bb890ad7 100755 --- a/artifactregistry/apiv1beta2/artifactregistrypb/service.pb.go +++ b/artifactregistry/apiv1beta2/artifactregistrypb/service.pb.go @@ -21,12 +21,9 @@ package artifactregistrypb import ( - context "context" - reflect "reflect" - sync "sync" - iampb "cloud.google.com/go/iam/apiv1/iampb" longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" + reflect "reflect" + sync "sync" ) const ( diff --git a/artifactregistry/apiv1beta2/artifactregistrypb/settings.pb.go b/artifactregistry/apiv1beta2/artifactregistrypb/settings.pb.go index 80e19b93fc56..bf0924e81755 100755 --- a/artifactregistry/apiv1beta2/artifactregistrypb/settings.pb.go +++ b/artifactregistry/apiv1beta2/artifactregistrypb/settings.pb.go @@ -21,13 +21,12 @@ package artifactregistrypb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/artifactregistry/apiv1beta2/artifactregistrypb/tag.pb.go b/artifactregistry/apiv1beta2/artifactregistrypb/tag.pb.go index 3902974815ef..d2d34fa38dd3 100755 --- a/artifactregistry/apiv1beta2/artifactregistrypb/tag.pb.go +++ b/artifactregistry/apiv1beta2/artifactregistrypb/tag.pb.go @@ -21,13 +21,12 @@ package artifactregistrypb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/artifactregistry/apiv1beta2/artifactregistrypb/version.pb.go b/artifactregistry/apiv1beta2/artifactregistrypb/version.pb.go index 1bbba6d00477..14265635cbb2 100755 --- a/artifactregistry/apiv1beta2/artifactregistrypb/version.pb.go +++ b/artifactregistry/apiv1beta2/artifactregistrypb/version.pb.go @@ -21,14 +21,13 @@ package artifactregistrypb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/artifactregistry/apiv1beta2/artifactregistrypb/yum_artifact.pb.go b/artifactregistry/apiv1beta2/artifactregistrypb/yum_artifact.pb.go index 9fb6d9468de4..f51059c560b7 100755 --- a/artifactregistry/apiv1beta2/artifactregistrypb/yum_artifact.pb.go +++ b/artifactregistry/apiv1beta2/artifactregistrypb/yum_artifact.pb.go @@ -21,13 +21,12 @@ package artifactregistrypb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/asset/apiv1/assetpb/asset_service.pb.go b/asset/apiv1/assetpb/asset_service.pb.go index 24407c792bfe..94a3f55b738f 100755 --- a/asset/apiv1/assetpb/asset_service.pb.go +++ b/asset/apiv1/assetpb/asset_service.pb.go @@ -21,12 +21,9 @@ package assetpb import ( - context "context" - reflect "reflect" - sync "sync" - iampb "cloud.google.com/go/iam/apiv1/iampb" longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" expr "google.golang.org/genproto/googleapis/type/expr" @@ -40,6 +37,8 @@ import ( fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/asset/apiv1/assetpb/assets.pb.go b/asset/apiv1/assetpb/assets.pb.go index 2e76016131a3..ce4e9c4f42be 100755 --- a/asset/apiv1/assetpb/assets.pb.go +++ b/asset/apiv1/assetpb/assets.pb.go @@ -21,9 +21,6 @@ package assetpb import ( - reflect "reflect" - sync "sync" - accesscontextmanagerpb "cloud.google.com/go/accesscontextmanager/apiv1/accesscontextmanagerpb" iampb "cloud.google.com/go/iam/apiv1/iampb" orgpolicypb "cloud.google.com/go/orgpolicy/apiv1/orgpolicypb" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/asset/apiv1p2beta1/asset_client_example_go123_test.go b/asset/apiv1p2beta1/asset_client_example_go123_test.go index 463caec06fe4..ae0b87b758e4 100644 --- a/asset/apiv1p2beta1/asset_client_example_go123_test.go +++ b/asset/apiv1p2beta1/asset_client_example_go123_test.go @@ -17,3 +17,7 @@ //go:build go1.23 package asset_test + +import ( + asset "cloud.google.com/go/asset/apiv1p2beta1" +) diff --git a/asset/apiv1p2beta1/assetpb/asset_service.pb.go b/asset/apiv1p2beta1/assetpb/asset_service.pb.go index c77d49fc8976..54e36a651270 100755 --- a/asset/apiv1p2beta1/assetpb/asset_service.pb.go +++ b/asset/apiv1p2beta1/assetpb/asset_service.pb.go @@ -22,9 +22,6 @@ package assetpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/asset/apiv1p2beta1/assetpb/assets.pb.go b/asset/apiv1p2beta1/assetpb/assets.pb.go index 0ce74bc2e517..982c2c4a4c46 100755 --- a/asset/apiv1p2beta1/assetpb/assets.pb.go +++ b/asset/apiv1p2beta1/assetpb/assets.pb.go @@ -21,9 +21,6 @@ package assetpb import ( - reflect "reflect" - sync "sync" - accesscontextmanagerpb "cloud.google.com/go/accesscontextmanager/apiv1/accesscontextmanagerpb" iampb "cloud.google.com/go/iam/apiv1/iampb" orgpolicypb "cloud.google.com/go/orgpolicy/apiv1/orgpolicypb" @@ -32,6 +29,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/asset/apiv1p2beta1/auxiliary.go b/asset/apiv1p2beta1/auxiliary.go index 901adb08085c..be58f5e27b1a 100755 --- a/asset/apiv1p2beta1/auxiliary.go +++ b/asset/apiv1p2beta1/auxiliary.go @@ -15,3 +15,5 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package asset + +import () diff --git a/asset/apiv1p2beta1/auxiliary_go123.go b/asset/apiv1p2beta1/auxiliary_go123.go index 482d879fec1b..1b9d999122e8 100755 --- a/asset/apiv1p2beta1/auxiliary_go123.go +++ b/asset/apiv1p2beta1/auxiliary_go123.go @@ -17,3 +17,5 @@ //go:build go1.23 package asset + +import () diff --git a/asset/apiv1p5beta1/assetpb/asset_service.pb.go b/asset/apiv1p5beta1/assetpb/asset_service.pb.go index f3abe3c92d7e..83e68c983ca6 100755 --- a/asset/apiv1p5beta1/assetpb/asset_service.pb.go +++ b/asset/apiv1p5beta1/assetpb/asset_service.pb.go @@ -22,9 +22,6 @@ package assetpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/asset/apiv1p5beta1/assetpb/assets.pb.go b/asset/apiv1p5beta1/assetpb/assets.pb.go index f58dc66297fb..1974259badfe 100755 --- a/asset/apiv1p5beta1/assetpb/assets.pb.go +++ b/asset/apiv1p5beta1/assetpb/assets.pb.go @@ -21,9 +21,6 @@ package assetpb import ( - reflect "reflect" - sync "sync" - accesscontextmanagerpb "cloud.google.com/go/accesscontextmanager/apiv1/accesscontextmanagerpb" iampb "cloud.google.com/go/iam/apiv1/iampb" orgpolicypb "cloud.google.com/go/orgpolicy/apiv1/orgpolicypb" @@ -31,6 +28,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/assuredworkloads/apiv1/assuredworkloadspb/assuredworkloads.pb.go b/assuredworkloads/apiv1/assuredworkloadspb/assuredworkloads.pb.go index 9868296a546f..d278c7484d2b 100755 --- a/assuredworkloads/apiv1/assuredworkloadspb/assuredworkloads.pb.go +++ b/assuredworkloads/apiv1/assuredworkloadspb/assuredworkloads.pb.go @@ -21,11 +21,8 @@ package assuredworkloadspb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -36,6 +33,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/assuredworkloads/apiv1beta1/assuredworkloadspb/assuredworkloads.pb.go b/assuredworkloads/apiv1beta1/assuredworkloadspb/assuredworkloads.pb.go index f90ebd7c706b..a637a8cc9292 100755 --- a/assuredworkloads/apiv1beta1/assuredworkloadspb/assuredworkloads.pb.go +++ b/assuredworkloads/apiv1beta1/assuredworkloadspb/assuredworkloads.pb.go @@ -21,15 +21,14 @@ package assuredworkloadspb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/assuredworkloads/apiv1beta1/assuredworkloadspb/assuredworkloads_service.pb.go b/assuredworkloads/apiv1beta1/assuredworkloadspb/assuredworkloads_service.pb.go index 33bec16c8d9f..1a3649b3a876 100755 --- a/assuredworkloads/apiv1beta1/assuredworkloadspb/assuredworkloads_service.pb.go +++ b/assuredworkloads/apiv1beta1/assuredworkloadspb/assuredworkloads_service.pb.go @@ -21,10 +21,8 @@ package assuredworkloadspb import ( - context "context" - reflect "reflect" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +30,7 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" + reflect "reflect" ) const ( diff --git a/automl/apiv1/automlpb/annotation_payload.pb.go b/automl/apiv1/automlpb/annotation_payload.pb.go index cd180598b301..ef6e9b39fedb 100755 --- a/automl/apiv1/automlpb/annotation_payload.pb.go +++ b/automl/apiv1/automlpb/annotation_payload.pb.go @@ -21,11 +21,10 @@ package automlpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/automl/apiv1/automlpb/annotation_spec.pb.go b/automl/apiv1/automlpb/annotation_spec.pb.go index f08b105c05f5..bdd5d514a4c6 100755 --- a/automl/apiv1/automlpb/annotation_spec.pb.go +++ b/automl/apiv1/automlpb/annotation_spec.pb.go @@ -21,12 +21,11 @@ package automlpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/automl/apiv1/automlpb/classification.pb.go b/automl/apiv1/automlpb/classification.pb.go index a5214a3051f3..f70347580060 100755 --- a/automl/apiv1/automlpb/classification.pb.go +++ b/automl/apiv1/automlpb/classification.pb.go @@ -21,11 +21,10 @@ package automlpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/automl/apiv1/automlpb/data_items.pb.go b/automl/apiv1/automlpb/data_items.pb.go index 6279389d9d27..9c2cc959bee5 100755 --- a/automl/apiv1/automlpb/data_items.pb.go +++ b/automl/apiv1/automlpb/data_items.pb.go @@ -21,11 +21,10 @@ package automlpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/automl/apiv1/automlpb/dataset.pb.go b/automl/apiv1/automlpb/dataset.pb.go index 2acc26fb821b..ed41405545e2 100755 --- a/automl/apiv1/automlpb/dataset.pb.go +++ b/automl/apiv1/automlpb/dataset.pb.go @@ -21,13 +21,12 @@ package automlpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/automl/apiv1/automlpb/detection.pb.go b/automl/apiv1/automlpb/detection.pb.go index b69ebd59d6ed..a2fefb52dc2d 100755 --- a/automl/apiv1/automlpb/detection.pb.go +++ b/automl/apiv1/automlpb/detection.pb.go @@ -21,11 +21,10 @@ package automlpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/automl/apiv1/automlpb/geometry.pb.go b/automl/apiv1/automlpb/geometry.pb.go index 47fd02ebe0ac..e544c0405a8c 100755 --- a/automl/apiv1/automlpb/geometry.pb.go +++ b/automl/apiv1/automlpb/geometry.pb.go @@ -21,11 +21,10 @@ package automlpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/automl/apiv1/automlpb/image.pb.go b/automl/apiv1/automlpb/image.pb.go index 56660b233e1a..416c86fe0253 100755 --- a/automl/apiv1/automlpb/image.pb.go +++ b/automl/apiv1/automlpb/image.pb.go @@ -21,12 +21,11 @@ package automlpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/automl/apiv1/automlpb/io.pb.go b/automl/apiv1/automlpb/io.pb.go index 330643103893..636178e167bd 100755 --- a/automl/apiv1/automlpb/io.pb.go +++ b/automl/apiv1/automlpb/io.pb.go @@ -21,12 +21,11 @@ package automlpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( @@ -67,16 +66,16 @@ const ( // * `ML_USE` - Identifies the data set that the current row (file) applies // to. // -// This value can be one of the following: -// * `TRAIN` - Rows in this file are used to train the model. -// * `TEST` - Rows in this file are used to test the model during training. -// * `UNASSIGNED` - Rows in this file are not categorized. They are -// Automatically divided into train and test data. 80% for training and -// 20% for testing. +// This value can be one of the following: +// * `TRAIN` - Rows in this file are used to train the model. +// * `TEST` - Rows in this file are used to test the model during training. +// * `UNASSIGNED` - Rows in this file are not categorized. They are +// Automatically divided into train and test data. 80% for training and +// 20% for testing. // -// - `GCS_FILE_PATH` - The Google Cloud Storage location of an image of up to -// 30MB in size. Supported extensions: .JPEG, .GIF, .PNG, .WEBP, .BMP, -// .TIFF, .ICO. +// - `GCS_FILE_PATH` - The Google Cloud Storage location of an image of up to +// 30MB in size. Supported extensions: .JPEG, .GIF, .PNG, .WEBP, .BMP, +// .TIFF, .ICO. // // * `LABEL` - A label that identifies the object in the image. // @@ -103,26 +102,26 @@ const ( // * `ML_USE` - Identifies the data set that the current row (file) applies // to. // -// This value can be one of the following: -// * `TRAIN` - Rows in this file are used to train the model. -// * `TEST` - Rows in this file are used to test the model during training. -// * `UNASSIGNED` - Rows in this file are not categorized. They are -// Automatically divided into train and test data. 80% for training and -// 20% for testing. +// This value can be one of the following: +// * `TRAIN` - Rows in this file are used to train the model. +// * `TEST` - Rows in this file are used to test the model during training. +// * `UNASSIGNED` - Rows in this file are not categorized. They are +// Automatically divided into train and test data. 80% for training and +// 20% for testing. // -// - `GCS_FILE_PATH` - The Google Cloud Storage location of an image of up to -// 30MB in size. Supported extensions: .JPEG, .GIF, .PNG. Each image -// is assumed to be exhaustively labeled. +// - `GCS_FILE_PATH` - The Google Cloud Storage location of an image of up to +// 30MB in size. Supported extensions: .JPEG, .GIF, .PNG. Each image +// is assumed to be exhaustively labeled. // -// - `LABEL` - A label that identifies the object in the image specified by the -// `BOUNDING_BOX`. +// - `LABEL` - A label that identifies the object in the image specified by the +// `BOUNDING_BOX`. // -// - `BOUNDING BOX` - The vertices of an object in the example image. -// The minimum allowed `BOUNDING_BOX` edge length is 0.01, and no more than -// 500 `BOUNDING_BOX` instances per image are allowed (one `BOUNDING_BOX` -// per line). If an image has no looked for objects then it should be -// mentioned just once with no LABEL and the ",,,,,,," in place of the -// `BOUNDING_BOX`. +// - `BOUNDING BOX` - The vertices of an object in the example image. +// The minimum allowed `BOUNDING_BOX` edge length is 0.01, and no more than +// 500 `BOUNDING_BOX` instances per image are allowed (one `BOUNDING_BOX` +// per line). If an image has no looked for objects then it should be +// mentioned just once with no LABEL and the ",,,,,,," in place of the +// `BOUNDING_BOX`. // // **Four sample rows:** // @@ -247,16 +246,16 @@ const ( // * `ML_USE` - Identifies the data set that the current row (file) applies // to. // -// This value can be one of the following: -// * `TRAIN` - Rows in this file are used to train the model. -// * `TEST` - Rows in this file are used to test the model during training. -// * `UNASSIGNED` - Rows in this file are not categorized. They are -// Automatically divided into train and test data. 80% for training and -// 20% for testing.. +// This value can be one of the following: +// * `TRAIN` - Rows in this file are used to train the model. +// * `TEST` - Rows in this file are used to test the model during training. +// * `UNASSIGNED` - Rows in this file are not categorized. They are +// Automatically divided into train and test data. 80% for training and +// 20% for testing.. // -// - `GCS_FILE_PATH` - a Identifies JSON Lines (.JSONL) file stored in -// Google Cloud Storage that contains in-line text in-line as documents -// for model training. +// - `GCS_FILE_PATH` - a Identifies JSON Lines (.JSONL) file stored in +// Google Cloud Storage that contains in-line text in-line as documents +// for model training. // // After the training data set has been determined from the `TRAIN` and // `UNASSIGNED` CSV files, the training data is divided into train and @@ -428,29 +427,29 @@ const ( // * `ML_USE` - Identifies the data set that the current row (file) applies // to. // -// This value can be one of the following: -// * `TRAIN` - Rows in this file are used to train the model. -// * `TEST` - Rows in this file are used to test the model during training. -// * `UNASSIGNED` - Rows in this file are not categorized. They are -// Automatically divided into train and test data. 80% for training and -// 20% for testing. -// -// - `TEXT_SNIPPET` and `GCS_FILE_PATH` are distinguished by a pattern. If -// the column content is a valid Google Cloud Storage file path, that is, -// prefixed by "gs://", it is treated as a `GCS_FILE_PATH`. Otherwise, if -// the content is enclosed in double quotes (""), it is treated as a -// `TEXT_SNIPPET`. For `GCS_FILE_PATH`, the path must lead to a -// file with supported extension and UTF-8 encoding, for example, -// "gs://folder/content.txt" AutoML imports the file content -// as a text snippet. For `TEXT_SNIPPET`, AutoML imports the column content -// excluding quotes. In both cases, size of the content must be 10MB or -// less in size. For zip files, the size of each file inside the zip must be -// 10MB or less in size. -// -// For the `MULTICLASS` classification type, at most one `LABEL` is allowed. -// -// The `ML_USE` and `LABEL` columns are optional. -// Supported file extensions: .TXT, .PDF, .TIF, .TIFF, .ZIP +// This value can be one of the following: +// * `TRAIN` - Rows in this file are used to train the model. +// * `TEST` - Rows in this file are used to test the model during training. +// * `UNASSIGNED` - Rows in this file are not categorized. They are +// Automatically divided into train and test data. 80% for training and +// 20% for testing. +// +// - `TEXT_SNIPPET` and `GCS_FILE_PATH` are distinguished by a pattern. If +// the column content is a valid Google Cloud Storage file path, that is, +// prefixed by "gs://", it is treated as a `GCS_FILE_PATH`. Otherwise, if +// the content is enclosed in double quotes (""), it is treated as a +// `TEXT_SNIPPET`. For `GCS_FILE_PATH`, the path must lead to a +// file with supported extension and UTF-8 encoding, for example, +// "gs://folder/content.txt" AutoML imports the file content +// as a text snippet. For `TEXT_SNIPPET`, AutoML imports the column content +// excluding quotes. In both cases, size of the content must be 10MB or +// less in size. For zip files, the size of each file inside the zip must be +// 10MB or less in size. +// +// For the `MULTICLASS` classification type, at most one `LABEL` is allowed. +// +// The `ML_USE` and `LABEL` columns are optional. +// Supported file extensions: .TXT, .PDF, .TIF, .TIFF, .ZIP // // A maximum of 100 unique labels are allowed per CSV row. // @@ -474,44 +473,44 @@ const ( // * `ML_USE` - Identifies the data set that the current row (file) applies // to. // -// This value can be one of the following: -// * `TRAIN` - Rows in this file are used to train the model. -// * `TEST` - Rows in this file are used to test the model during training. -// * `UNASSIGNED` - Rows in this file are not categorized. They are -// Automatically divided into train and test data. 80% for training and -// 20% for testing. -// -// - `TEXT_SNIPPET` and `GCS_FILE_PATH` are distinguished by a pattern. If -// the column content is a valid Google Cloud Storage file path, that is, -// prefixed by "gs://", it is treated as a `GCS_FILE_PATH`. Otherwise, if -// the content is enclosed in double quotes (""), it is treated as a -// `TEXT_SNIPPET`. For `GCS_FILE_PATH`, the path must lead to a -// file with supported extension and UTF-8 encoding, for example, -// "gs://folder/content.txt" AutoML imports the file content -// as a text snippet. For `TEXT_SNIPPET`, AutoML imports the column content -// excluding quotes. In both cases, size of the content must be 128kB or -// less in size. For zip files, the size of each file inside the zip must be -// 128kB or less in size. -// -// The `ML_USE` and `SENTIMENT` columns are optional. -// Supported file extensions: .TXT, .PDF, .TIF, .TIFF, .ZIP -// -// - `SENTIMENT` - An integer between 0 and -// Dataset.text_sentiment_dataset_metadata.sentiment_max -// (inclusive). Describes the ordinal of the sentiment - higher -// value means a more positive sentiment. All the values are -// completely relative, i.e. neither 0 needs to mean a negative or -// neutral sentiment nor sentiment_max needs to mean a positive one - -// it is just required that 0 is the least positive sentiment -// in the data, and sentiment_max is the most positive one. -// The SENTIMENT shouldn't be confused with "score" or "magnitude" -// from the previous Natural Language Sentiment Analysis API. -// All SENTIMENT values between 0 and sentiment_max must be -// represented in the imported data. On prediction the same 0 to -// sentiment_max range will be used. The difference between -// neighboring sentiment values needs not to be uniform, e.g. 1 and -// 2 may be similar whereas the difference between 2 and 3 may be -// large. +// This value can be one of the following: +// * `TRAIN` - Rows in this file are used to train the model. +// * `TEST` - Rows in this file are used to test the model during training. +// * `UNASSIGNED` - Rows in this file are not categorized. They are +// Automatically divided into train and test data. 80% for training and +// 20% for testing. +// +// - `TEXT_SNIPPET` and `GCS_FILE_PATH` are distinguished by a pattern. If +// the column content is a valid Google Cloud Storage file path, that is, +// prefixed by "gs://", it is treated as a `GCS_FILE_PATH`. Otherwise, if +// the content is enclosed in double quotes (""), it is treated as a +// `TEXT_SNIPPET`. For `GCS_FILE_PATH`, the path must lead to a +// file with supported extension and UTF-8 encoding, for example, +// "gs://folder/content.txt" AutoML imports the file content +// as a text snippet. For `TEXT_SNIPPET`, AutoML imports the column content +// excluding quotes. In both cases, size of the content must be 128kB or +// less in size. For zip files, the size of each file inside the zip must be +// 128kB or less in size. +// +// The `ML_USE` and `SENTIMENT` columns are optional. +// Supported file extensions: .TXT, .PDF, .TIF, .TIFF, .ZIP +// +// - `SENTIMENT` - An integer between 0 and +// Dataset.text_sentiment_dataset_metadata.sentiment_max +// (inclusive). Describes the ordinal of the sentiment - higher +// value means a more positive sentiment. All the values are +// completely relative, i.e. neither 0 needs to mean a negative or +// neutral sentiment nor sentiment_max needs to mean a positive one - +// it is just required that 0 is the least positive sentiment +// in the data, and sentiment_max is the most positive one. +// The SENTIMENT shouldn't be confused with "score" or "magnitude" +// from the previous Natural Language Sentiment Analysis API. +// All SENTIMENT values between 0 and sentiment_max must be +// represented in the imported data. On prediction the same 0 to +// sentiment_max range will be used. The difference between +// neighboring sentiment values needs not to be uniform, e.g. 1 and +// 2 may be similar whereas the difference between 2 and 3 may be +// large. // // Sample rows: // diff --git a/automl/apiv1/automlpb/model.pb.go b/automl/apiv1/automlpb/model.pb.go index 6933cc8dc399..f27abdcb6b43 100755 --- a/automl/apiv1/automlpb/model.pb.go +++ b/automl/apiv1/automlpb/model.pb.go @@ -21,13 +21,12 @@ package automlpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/automl/apiv1/automlpb/model_evaluation.pb.go b/automl/apiv1/automlpb/model_evaluation.pb.go index deba22542189..0ef8c3e5769c 100755 --- a/automl/apiv1/automlpb/model_evaluation.pb.go +++ b/automl/apiv1/automlpb/model_evaluation.pb.go @@ -21,13 +21,12 @@ package automlpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/automl/apiv1/automlpb/operations.pb.go b/automl/apiv1/automlpb/operations.pb.go index eae42e0edca0..843a11b0c7f7 100755 --- a/automl/apiv1/automlpb/operations.pb.go +++ b/automl/apiv1/automlpb/operations.pb.go @@ -21,13 +21,12 @@ package automlpb import ( - reflect "reflect" - sync "sync" - status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/automl/apiv1/automlpb/prediction_service.pb.go b/automl/apiv1/automlpb/prediction_service.pb.go index 79ce99ae2947..84194cc7d24e 100755 --- a/automl/apiv1/automlpb/prediction_service.pb.go +++ b/automl/apiv1/automlpb/prediction_service.pb.go @@ -21,17 +21,16 @@ package automlpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/automl/apiv1/automlpb/service.pb.go b/automl/apiv1/automlpb/service.pb.go index 3345f1226382..f81f5fc940fa 100755 --- a/automl/apiv1/automlpb/service.pb.go +++ b/automl/apiv1/automlpb/service.pb.go @@ -21,11 +21,8 @@ package automlpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/automl/apiv1/automlpb/text.pb.go b/automl/apiv1/automlpb/text.pb.go index f8dbc7c5a5a9..4f87171e0b55 100755 --- a/automl/apiv1/automlpb/text.pb.go +++ b/automl/apiv1/automlpb/text.pb.go @@ -21,11 +21,10 @@ package automlpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/automl/apiv1/automlpb/text_extraction.pb.go b/automl/apiv1/automlpb/text_extraction.pb.go index d0ec770c00e0..e504c69d5fd0 100755 --- a/automl/apiv1/automlpb/text_extraction.pb.go +++ b/automl/apiv1/automlpb/text_extraction.pb.go @@ -21,11 +21,10 @@ package automlpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/automl/apiv1/automlpb/text_segment.pb.go b/automl/apiv1/automlpb/text_segment.pb.go index c347360b9bbd..b07782714cd4 100755 --- a/automl/apiv1/automlpb/text_segment.pb.go +++ b/automl/apiv1/automlpb/text_segment.pb.go @@ -21,11 +21,10 @@ package automlpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/automl/apiv1/automlpb/text_sentiment.pb.go b/automl/apiv1/automlpb/text_sentiment.pb.go index f4782d3b5a9f..287a699316b1 100755 --- a/automl/apiv1/automlpb/text_sentiment.pb.go +++ b/automl/apiv1/automlpb/text_sentiment.pb.go @@ -21,11 +21,10 @@ package automlpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/automl/apiv1/automlpb/translation.pb.go b/automl/apiv1/automlpb/translation.pb.go index a957f5805b0c..e59bdf42544e 100755 --- a/automl/apiv1/automlpb/translation.pb.go +++ b/automl/apiv1/automlpb/translation.pb.go @@ -21,12 +21,11 @@ package automlpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/automl/apiv1/prediction_client_example_go123_test.go b/automl/apiv1/prediction_client_example_go123_test.go index b462fb22f5f9..4101133843fd 100644 --- a/automl/apiv1/prediction_client_example_go123_test.go +++ b/automl/apiv1/prediction_client_example_go123_test.go @@ -17,3 +17,7 @@ //go:build go1.23 package automl_test + +import ( + automl "cloud.google.com/go/automl/apiv1" +) diff --git a/automl/apiv1beta1/automlpb/annotation_payload.pb.go b/automl/apiv1beta1/automlpb/annotation_payload.pb.go index 70dc26456e17..4cbca6f0715c 100755 --- a/automl/apiv1beta1/automlpb/annotation_payload.pb.go +++ b/automl/apiv1beta1/automlpb/annotation_payload.pb.go @@ -21,11 +21,10 @@ package automlpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/automl/apiv1beta1/automlpb/annotation_spec.pb.go b/automl/apiv1beta1/automlpb/annotation_spec.pb.go index 4dc01f2edae6..9a9d2590db37 100755 --- a/automl/apiv1beta1/automlpb/annotation_spec.pb.go +++ b/automl/apiv1beta1/automlpb/annotation_spec.pb.go @@ -21,12 +21,11 @@ package automlpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/automl/apiv1beta1/automlpb/classification.pb.go b/automl/apiv1beta1/automlpb/classification.pb.go index 726def816dfe..c3984d579b9e 100755 --- a/automl/apiv1beta1/automlpb/classification.pb.go +++ b/automl/apiv1beta1/automlpb/classification.pb.go @@ -21,11 +21,10 @@ package automlpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/automl/apiv1beta1/automlpb/column_spec.pb.go b/automl/apiv1beta1/automlpb/column_spec.pb.go index ed75c165468b..c37bbc7a4913 100755 --- a/automl/apiv1beta1/automlpb/column_spec.pb.go +++ b/automl/apiv1beta1/automlpb/column_spec.pb.go @@ -21,12 +21,11 @@ package automlpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/automl/apiv1beta1/automlpb/data_items.pb.go b/automl/apiv1beta1/automlpb/data_items.pb.go index e45f6a566f63..0ad1251c03eb 100755 --- a/automl/apiv1beta1/automlpb/data_items.pb.go +++ b/automl/apiv1beta1/automlpb/data_items.pb.go @@ -21,12 +21,11 @@ package automlpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/automl/apiv1beta1/automlpb/data_stats.pb.go b/automl/apiv1beta1/automlpb/data_stats.pb.go index ce54cdcad064..1cf62c5804b1 100755 --- a/automl/apiv1beta1/automlpb/data_stats.pb.go +++ b/automl/apiv1beta1/automlpb/data_stats.pb.go @@ -21,11 +21,10 @@ package automlpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/automl/apiv1beta1/automlpb/data_types.pb.go b/automl/apiv1beta1/automlpb/data_types.pb.go index d54d7a97e3a6..8a7bb8735a03 100755 --- a/automl/apiv1beta1/automlpb/data_types.pb.go +++ b/automl/apiv1beta1/automlpb/data_types.pb.go @@ -21,11 +21,10 @@ package automlpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/automl/apiv1beta1/automlpb/dataset.pb.go b/automl/apiv1beta1/automlpb/dataset.pb.go index bcd222b56f7f..215659059624 100755 --- a/automl/apiv1beta1/automlpb/dataset.pb.go +++ b/automl/apiv1beta1/automlpb/dataset.pb.go @@ -21,13 +21,12 @@ package automlpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/automl/apiv1beta1/automlpb/detection.pb.go b/automl/apiv1beta1/automlpb/detection.pb.go index 1f084d76de8e..231c4199c1fc 100755 --- a/automl/apiv1beta1/automlpb/detection.pb.go +++ b/automl/apiv1beta1/automlpb/detection.pb.go @@ -21,12 +21,11 @@ package automlpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/automl/apiv1beta1/automlpb/geometry.pb.go b/automl/apiv1beta1/automlpb/geometry.pb.go index f13968c1499e..4c5376acbdfe 100755 --- a/automl/apiv1beta1/automlpb/geometry.pb.go +++ b/automl/apiv1beta1/automlpb/geometry.pb.go @@ -21,11 +21,10 @@ package automlpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/automl/apiv1beta1/automlpb/image.pb.go b/automl/apiv1beta1/automlpb/image.pb.go index ed9f86fce3ba..2cc0310327c0 100755 --- a/automl/apiv1beta1/automlpb/image.pb.go +++ b/automl/apiv1beta1/automlpb/image.pb.go @@ -21,11 +21,10 @@ package automlpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/automl/apiv1beta1/automlpb/io.pb.go b/automl/apiv1beta1/automlpb/io.pb.go index b37d24e3dde9..49be182810ed 100755 --- a/automl/apiv1beta1/automlpb/io.pb.go +++ b/automl/apiv1beta1/automlpb/io.pb.go @@ -21,11 +21,10 @@ package automlpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/automl/apiv1beta1/automlpb/model.pb.go b/automl/apiv1beta1/automlpb/model.pb.go index 7bb9bccd082d..af2a679b19b6 100755 --- a/automl/apiv1beta1/automlpb/model.pb.go +++ b/automl/apiv1beta1/automlpb/model.pb.go @@ -21,13 +21,12 @@ package automlpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/automl/apiv1beta1/automlpb/model_evaluation.pb.go b/automl/apiv1beta1/automlpb/model_evaluation.pb.go index 071e6ea9737d..31cd24683fbf 100755 --- a/automl/apiv1beta1/automlpb/model_evaluation.pb.go +++ b/automl/apiv1beta1/automlpb/model_evaluation.pb.go @@ -21,13 +21,12 @@ package automlpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/automl/apiv1beta1/automlpb/operations.pb.go b/automl/apiv1beta1/automlpb/operations.pb.go index fcd02630156d..2da473103e9b 100755 --- a/automl/apiv1beta1/automlpb/operations.pb.go +++ b/automl/apiv1beta1/automlpb/operations.pb.go @@ -21,13 +21,12 @@ package automlpb import ( - reflect "reflect" - sync "sync" - status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/automl/apiv1beta1/automlpb/prediction_service.pb.go b/automl/apiv1beta1/automlpb/prediction_service.pb.go index c059eeb8acc3..925c34d928dc 100755 --- a/automl/apiv1beta1/automlpb/prediction_service.pb.go +++ b/automl/apiv1beta1/automlpb/prediction_service.pb.go @@ -21,17 +21,16 @@ package automlpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/automl/apiv1beta1/automlpb/ranges.pb.go b/automl/apiv1beta1/automlpb/ranges.pb.go index 3d20fafe7de4..ff2963d9c2fc 100755 --- a/automl/apiv1beta1/automlpb/ranges.pb.go +++ b/automl/apiv1beta1/automlpb/ranges.pb.go @@ -21,11 +21,10 @@ package automlpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/automl/apiv1beta1/automlpb/regression.pb.go b/automl/apiv1beta1/automlpb/regression.pb.go index 62e353f14599..f5bfa96cfab3 100755 --- a/automl/apiv1beta1/automlpb/regression.pb.go +++ b/automl/apiv1beta1/automlpb/regression.pb.go @@ -21,11 +21,10 @@ package automlpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/automl/apiv1beta1/automlpb/service.pb.go b/automl/apiv1beta1/automlpb/service.pb.go index 9f31be5ab853..ed2b5f32a793 100755 --- a/automl/apiv1beta1/automlpb/service.pb.go +++ b/automl/apiv1beta1/automlpb/service.pb.go @@ -21,11 +21,8 @@ package automlpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/automl/apiv1beta1/automlpb/table_spec.pb.go b/automl/apiv1beta1/automlpb/table_spec.pb.go index 004ef9d06d77..55d0c353992a 100755 --- a/automl/apiv1beta1/automlpb/table_spec.pb.go +++ b/automl/apiv1beta1/automlpb/table_spec.pb.go @@ -21,12 +21,11 @@ package automlpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/automl/apiv1beta1/automlpb/tables.pb.go b/automl/apiv1beta1/automlpb/tables.pb.go index 3766b0acbfbb..443b7a971eb8 100755 --- a/automl/apiv1beta1/automlpb/tables.pb.go +++ b/automl/apiv1beta1/automlpb/tables.pb.go @@ -21,13 +21,12 @@ package automlpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/automl/apiv1beta1/automlpb/temporal.pb.go b/automl/apiv1beta1/automlpb/temporal.pb.go index dfe9b32e9ce2..51e65c02fc7f 100755 --- a/automl/apiv1beta1/automlpb/temporal.pb.go +++ b/automl/apiv1beta1/automlpb/temporal.pb.go @@ -21,12 +21,11 @@ package automlpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/automl/apiv1beta1/automlpb/text.pb.go b/automl/apiv1beta1/automlpb/text.pb.go index 555a754608e2..23dd48521fa4 100755 --- a/automl/apiv1beta1/automlpb/text.pb.go +++ b/automl/apiv1beta1/automlpb/text.pb.go @@ -21,11 +21,10 @@ package automlpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/automl/apiv1beta1/automlpb/text_extraction.pb.go b/automl/apiv1beta1/automlpb/text_extraction.pb.go index b4bfa30df098..51f68371a815 100755 --- a/automl/apiv1beta1/automlpb/text_extraction.pb.go +++ b/automl/apiv1beta1/automlpb/text_extraction.pb.go @@ -21,11 +21,10 @@ package automlpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/automl/apiv1beta1/automlpb/text_segment.pb.go b/automl/apiv1beta1/automlpb/text_segment.pb.go index f53fd5f02225..a4818e630cdb 100755 --- a/automl/apiv1beta1/automlpb/text_segment.pb.go +++ b/automl/apiv1beta1/automlpb/text_segment.pb.go @@ -21,11 +21,10 @@ package automlpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/automl/apiv1beta1/automlpb/text_sentiment.pb.go b/automl/apiv1beta1/automlpb/text_sentiment.pb.go index 2a8ac3db3c5a..81fefd12d825 100755 --- a/automl/apiv1beta1/automlpb/text_sentiment.pb.go +++ b/automl/apiv1beta1/automlpb/text_sentiment.pb.go @@ -21,11 +21,10 @@ package automlpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/automl/apiv1beta1/automlpb/translation.pb.go b/automl/apiv1beta1/automlpb/translation.pb.go index 4b851976ca0d..4ae9a8b95eab 100755 --- a/automl/apiv1beta1/automlpb/translation.pb.go +++ b/automl/apiv1beta1/automlpb/translation.pb.go @@ -21,12 +21,11 @@ package automlpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/automl/apiv1beta1/automlpb/video.pb.go b/automl/apiv1beta1/automlpb/video.pb.go index a007982dc541..e6bc63fd3560 100755 --- a/automl/apiv1beta1/automlpb/video.pb.go +++ b/automl/apiv1beta1/automlpb/video.pb.go @@ -21,11 +21,10 @@ package automlpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/automl/apiv1beta1/prediction_client_example_go123_test.go b/automl/apiv1beta1/prediction_client_example_go123_test.go index b462fb22f5f9..3474b53529e9 100644 --- a/automl/apiv1beta1/prediction_client_example_go123_test.go +++ b/automl/apiv1beta1/prediction_client_example_go123_test.go @@ -17,3 +17,7 @@ //go:build go1.23 package automl_test + +import ( + automl "cloud.google.com/go/automl/apiv1beta1" +) diff --git a/backupdr/apiv1/backupdrpb/backupdr.pb.go b/backupdr/apiv1/backupdrpb/backupdr.pb.go index 7014a6e8ac3a..18580ec44542 100755 --- a/backupdr/apiv1/backupdrpb/backupdr.pb.go +++ b/backupdr/apiv1/backupdrpb/backupdr.pb.go @@ -21,11 +21,8 @@ package backupdrpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( diff --git a/backupdr/apiv1/backupdrpb/backupplan.pb.go b/backupdr/apiv1/backupdrpb/backupplan.pb.go index 6a6b4cd88629..3b9cedad4378 100755 --- a/backupdr/apiv1/backupdrpb/backupplan.pb.go +++ b/backupdr/apiv1/backupdrpb/backupplan.pb.go @@ -21,15 +21,14 @@ package backupdrpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" dayofweek "google.golang.org/genproto/googleapis/type/dayofweek" month "google.golang.org/genproto/googleapis/type/month" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/backupdr/apiv1/backupdrpb/backupplanassociation.pb.go b/backupdr/apiv1/backupdrpb/backupplanassociation.pb.go index a82ba4754df8..3a856306deb9 100755 --- a/backupdr/apiv1/backupdrpb/backupplanassociation.pb.go +++ b/backupdr/apiv1/backupdrpb/backupplanassociation.pb.go @@ -21,14 +21,13 @@ package backupdrpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/backupdr/apiv1/backupdrpb/backupvault.pb.go b/backupdr/apiv1/backupdrpb/backupvault.pb.go index 866f12dced4e..75d0cb271b81 100755 --- a/backupdr/apiv1/backupdrpb/backupvault.pb.go +++ b/backupdr/apiv1/backupdrpb/backupvault.pb.go @@ -21,9 +21,6 @@ package backupdrpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" @@ -31,6 +28,8 @@ import ( durationpb "google.golang.org/protobuf/types/known/durationpb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/backupdr/apiv1/backupdrpb/backupvault_ba.pb.go b/backupdr/apiv1/backupdrpb/backupvault_ba.pb.go index e71745392cad..9ec89cd3e7a9 100755 --- a/backupdr/apiv1/backupdrpb/backupvault_ba.pb.go +++ b/backupdr/apiv1/backupdrpb/backupvault_ba.pb.go @@ -21,13 +21,12 @@ package backupdrpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/backupdr/apiv1/backupdrpb/backupvault_gce.pb.go b/backupdr/apiv1/backupdrpb/backupvault_gce.pb.go index 9b1bb2c184b3..29bfe9605170 100755 --- a/backupdr/apiv1/backupdrpb/backupvault_gce.pb.go +++ b/backupdr/apiv1/backupdrpb/backupvault_gce.pb.go @@ -21,12 +21,11 @@ package backupdrpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/baremetalsolution/apiv2/baremetalsolutionpb/baremetalsolution.pb.go b/baremetalsolution/apiv2/baremetalsolutionpb/baremetalsolution.pb.go index d079c71adefc..0e4b6b63a850 100755 --- a/baremetalsolution/apiv2/baremetalsolutionpb/baremetalsolution.pb.go +++ b/baremetalsolution/apiv2/baremetalsolutionpb/baremetalsolution.pb.go @@ -21,11 +21,8 @@ package baremetalsolutionpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/baremetalsolution/apiv2/baremetalsolutionpb/common.pb.go b/baremetalsolution/apiv2/baremetalsolutionpb/common.pb.go index 8b4f9b3ac812..ac000823baf9 100755 --- a/baremetalsolution/apiv2/baremetalsolutionpb/common.pb.go +++ b/baremetalsolution/apiv2/baremetalsolutionpb/common.pb.go @@ -21,11 +21,10 @@ package baremetalsolutionpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/baremetalsolution/apiv2/baremetalsolutionpb/instance.pb.go b/baremetalsolution/apiv2/baremetalsolutionpb/instance.pb.go index 1746ca7bbe63..7ed3bf019d70 100755 --- a/baremetalsolution/apiv2/baremetalsolutionpb/instance.pb.go +++ b/baremetalsolution/apiv2/baremetalsolutionpb/instance.pb.go @@ -21,14 +21,13 @@ package baremetalsolutionpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/baremetalsolution/apiv2/baremetalsolutionpb/lun.pb.go b/baremetalsolution/apiv2/baremetalsolutionpb/lun.pb.go index bd64aaba2988..7c0a938c157e 100755 --- a/baremetalsolution/apiv2/baremetalsolutionpb/lun.pb.go +++ b/baremetalsolution/apiv2/baremetalsolutionpb/lun.pb.go @@ -21,13 +21,12 @@ package baremetalsolutionpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/baremetalsolution/apiv2/baremetalsolutionpb/network.pb.go b/baremetalsolution/apiv2/baremetalsolutionpb/network.pb.go index d36213b21a95..3ca2078b1bb9 100755 --- a/baremetalsolution/apiv2/baremetalsolutionpb/network.pb.go +++ b/baremetalsolution/apiv2/baremetalsolutionpb/network.pb.go @@ -21,13 +21,12 @@ package baremetalsolutionpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/baremetalsolution/apiv2/baremetalsolutionpb/nfs_share.pb.go b/baremetalsolution/apiv2/baremetalsolutionpb/nfs_share.pb.go index 22c76e2088e8..a247859d23a5 100755 --- a/baremetalsolution/apiv2/baremetalsolutionpb/nfs_share.pb.go +++ b/baremetalsolution/apiv2/baremetalsolutionpb/nfs_share.pb.go @@ -21,13 +21,12 @@ package baremetalsolutionpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/baremetalsolution/apiv2/baremetalsolutionpb/osimage.pb.go b/baremetalsolution/apiv2/baremetalsolutionpb/osimage.pb.go index f5f9e4e7505d..4ae99e021178 100755 --- a/baremetalsolution/apiv2/baremetalsolutionpb/osimage.pb.go +++ b/baremetalsolution/apiv2/baremetalsolutionpb/osimage.pb.go @@ -21,12 +21,11 @@ package baremetalsolutionpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/baremetalsolution/apiv2/baremetalsolutionpb/provisioning.pb.go b/baremetalsolution/apiv2/baremetalsolutionpb/provisioning.pb.go index e43b09b9010b..f893bf1712ea 100755 --- a/baremetalsolution/apiv2/baremetalsolutionpb/provisioning.pb.go +++ b/baremetalsolution/apiv2/baremetalsolutionpb/provisioning.pb.go @@ -21,14 +21,13 @@ package baremetalsolutionpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/baremetalsolution/apiv2/baremetalsolutionpb/ssh_key.pb.go b/baremetalsolution/apiv2/baremetalsolutionpb/ssh_key.pb.go index 13e96d89530c..df6410d2d3a8 100755 --- a/baremetalsolution/apiv2/baremetalsolutionpb/ssh_key.pb.go +++ b/baremetalsolution/apiv2/baremetalsolutionpb/ssh_key.pb.go @@ -21,12 +21,11 @@ package baremetalsolutionpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/baremetalsolution/apiv2/baremetalsolutionpb/volume.pb.go b/baremetalsolution/apiv2/baremetalsolutionpb/volume.pb.go index a02f3ee178e7..cd20456462d3 100755 --- a/baremetalsolution/apiv2/baremetalsolutionpb/volume.pb.go +++ b/baremetalsolution/apiv2/baremetalsolutionpb/volume.pb.go @@ -21,14 +21,13 @@ package baremetalsolutionpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/baremetalsolution/apiv2/baremetalsolutionpb/volume_snapshot.pb.go b/baremetalsolution/apiv2/baremetalsolutionpb/volume_snapshot.pb.go index ef607bdfa131..2ffc51bb4b3f 100755 --- a/baremetalsolution/apiv2/baremetalsolutionpb/volume_snapshot.pb.go +++ b/baremetalsolution/apiv2/baremetalsolutionpb/volume_snapshot.pb.go @@ -21,13 +21,12 @@ package baremetalsolutionpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/batch/apiv1/batchpb/batch.pb.go b/batch/apiv1/batchpb/batch.pb.go index 5a51dbf5055a..73d6cdf1febd 100755 --- a/batch/apiv1/batchpb/batch.pb.go +++ b/batch/apiv1/batchpb/batch.pb.go @@ -21,11 +21,8 @@ package batchpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/batch/apiv1/batchpb/job.pb.go b/batch/apiv1/batchpb/job.pb.go index de9bca03102f..15f63161c4e9 100755 --- a/batch/apiv1/batchpb/job.pb.go +++ b/batch/apiv1/batchpb/job.pb.go @@ -21,14 +21,13 @@ package batchpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/batch/apiv1/batchpb/task.pb.go b/batch/apiv1/batchpb/task.pb.go index 877f200c4ae0..7cf3a1838ab9 100755 --- a/batch/apiv1/batchpb/task.pb.go +++ b/batch/apiv1/batchpb/task.pb.go @@ -21,14 +21,13 @@ package batchpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/batch/apiv1/batchpb/volume.pb.go b/batch/apiv1/batchpb/volume.pb.go index 573ef0cd5229..02525ab4369c 100755 --- a/batch/apiv1/batchpb/volume.pb.go +++ b/batch/apiv1/batchpb/volume.pb.go @@ -21,11 +21,10 @@ package batchpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/beyondcorp/appconnections/apiv1/appconnectionspb/app_connections_service.pb.go b/beyondcorp/appconnections/apiv1/appconnectionspb/app_connections_service.pb.go index 978fb7319523..b00c5b55a6f1 100755 --- a/beyondcorp/appconnections/apiv1/appconnectionspb/app_connections_service.pb.go +++ b/beyondcorp/appconnections/apiv1/appconnectionspb/app_connections_service.pb.go @@ -21,11 +21,8 @@ package appconnectionspb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/beyondcorp/appconnectors/apiv1/appconnectorspb/app_connector_instance_config.pb.go b/beyondcorp/appconnectors/apiv1/appconnectorspb/app_connector_instance_config.pb.go index af54c5b654fc..edb22256cf69 100755 --- a/beyondcorp/appconnectors/apiv1/appconnectorspb/app_connector_instance_config.pb.go +++ b/beyondcorp/appconnectors/apiv1/appconnectorspb/app_connector_instance_config.pb.go @@ -21,13 +21,12 @@ package appconnectorspb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" anypb "google.golang.org/protobuf/types/known/anypb" + reflect "reflect" + sync "sync" ) const ( diff --git a/beyondcorp/appconnectors/apiv1/appconnectorspb/app_connectors_service.pb.go b/beyondcorp/appconnectors/apiv1/appconnectorspb/app_connectors_service.pb.go index 33464cade22e..a3d7e5adbbaf 100755 --- a/beyondcorp/appconnectors/apiv1/appconnectorspb/app_connectors_service.pb.go +++ b/beyondcorp/appconnectors/apiv1/appconnectorspb/app_connectors_service.pb.go @@ -21,11 +21,8 @@ package appconnectorspb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/beyondcorp/appconnectors/apiv1/appconnectorspb/resource_info.pb.go b/beyondcorp/appconnectors/apiv1/appconnectorspb/resource_info.pb.go index 729c76244759..875150f5738f 100755 --- a/beyondcorp/appconnectors/apiv1/appconnectorspb/resource_info.pb.go +++ b/beyondcorp/appconnectors/apiv1/appconnectorspb/resource_info.pb.go @@ -21,14 +21,13 @@ package appconnectorspb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" anypb "google.golang.org/protobuf/types/known/anypb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/beyondcorp/appgateways/apiv1/appgatewayspb/app_gateways_service.pb.go b/beyondcorp/appgateways/apiv1/appgatewayspb/app_gateways_service.pb.go index ae709e7c9a03..7498878931f0 100755 --- a/beyondcorp/appgateways/apiv1/appgatewayspb/app_gateways_service.pb.go +++ b/beyondcorp/appgateways/apiv1/appgatewayspb/app_gateways_service.pb.go @@ -21,11 +21,8 @@ package appgatewayspb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/beyondcorp/clientconnectorservices/apiv1/clientconnectorservicespb/client_connector_services_service.pb.go b/beyondcorp/clientconnectorservices/apiv1/clientconnectorservicespb/client_connector_services_service.pb.go index bbe436fe8a56..c08b8af8a5a1 100755 --- a/beyondcorp/clientconnectorservices/apiv1/clientconnectorservicespb/client_connector_services_service.pb.go +++ b/beyondcorp/clientconnectorservices/apiv1/clientconnectorservicespb/client_connector_services_service.pb.go @@ -21,11 +21,8 @@ package clientconnectorservicespb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/beyondcorp/clientgateways/apiv1/clientgatewayspb/client_gateways_service.pb.go b/beyondcorp/clientgateways/apiv1/clientgatewayspb/client_gateways_service.pb.go index 50974649a25a..d9f0d1706331 100755 --- a/beyondcorp/clientgateways/apiv1/clientgatewayspb/client_gateways_service.pb.go +++ b/beyondcorp/clientgateways/apiv1/clientgatewayspb/client_gateways_service.pb.go @@ -21,11 +21,8 @@ package clientgatewayspb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/bigquery/analyticshub/apiv1/analyticshubpb/analyticshub.pb.go b/bigquery/analyticshub/apiv1/analyticshubpb/analyticshub.pb.go index da20378d1358..3b3313b5675f 100755 --- a/bigquery/analyticshub/apiv1/analyticshubpb/analyticshub.pb.go +++ b/bigquery/analyticshub/apiv1/analyticshubpb/analyticshub.pb.go @@ -21,12 +21,9 @@ package analyticshubpb import ( - context "context" - reflect "reflect" - sync "sync" - iampb "cloud.google.com/go/iam/apiv1/iampb" longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -37,6 +34,8 @@ import ( fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( diff --git a/bigquery/biglake/apiv1/biglakepb/metastore.pb.go b/bigquery/biglake/apiv1/biglakepb/metastore.pb.go index d037d727ef16..13551c3216b2 100755 --- a/bigquery/biglake/apiv1/biglakepb/metastore.pb.go +++ b/bigquery/biglake/apiv1/biglakepb/metastore.pb.go @@ -22,9 +22,6 @@ package biglakepb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/bigquery/biglake/apiv1alpha1/biglakepb/metastore.pb.go b/bigquery/biglake/apiv1alpha1/biglakepb/metastore.pb.go index 6c73df9ba0a7..ba0f4c6c0935 100755 --- a/bigquery/biglake/apiv1alpha1/biglakepb/metastore.pb.go +++ b/bigquery/biglake/apiv1alpha1/biglakepb/metastore.pb.go @@ -22,9 +22,6 @@ package biglakepb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/bigquery/connection/apiv1/connectionpb/connection.pb.go b/bigquery/connection/apiv1/connectionpb/connection.pb.go index a498da39e2a6..50c1c8940482 100755 --- a/bigquery/connection/apiv1/connectionpb/connection.pb.go +++ b/bigquery/connection/apiv1/connectionpb/connection.pb.go @@ -21,11 +21,8 @@ package connectionpb import ( - context "context" - reflect "reflect" - sync "sync" - iampb "cloud.google.com/go/iam/apiv1/iampb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/bigquery/connection/apiv1beta1/auxiliary.go b/bigquery/connection/apiv1beta1/auxiliary.go index 7a3a690ca6a7..139a9e6ca6aa 100755 --- a/bigquery/connection/apiv1beta1/auxiliary.go +++ b/bigquery/connection/apiv1beta1/auxiliary.go @@ -15,3 +15,5 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package connection + +import () diff --git a/bigquery/connection/apiv1beta1/auxiliary_go123.go b/bigquery/connection/apiv1beta1/auxiliary_go123.go index 6d38a03e06d4..a5243d650c7d 100755 --- a/bigquery/connection/apiv1beta1/auxiliary_go123.go +++ b/bigquery/connection/apiv1beta1/auxiliary_go123.go @@ -17,3 +17,5 @@ //go:build go1.23 package connection + +import () diff --git a/bigquery/connection/apiv1beta1/connection_client_example_go123_test.go b/bigquery/connection/apiv1beta1/connection_client_example_go123_test.go index 4fe7dbc0baf5..5bef46153fb1 100644 --- a/bigquery/connection/apiv1beta1/connection_client_example_go123_test.go +++ b/bigquery/connection/apiv1beta1/connection_client_example_go123_test.go @@ -17,3 +17,7 @@ //go:build go1.23 package connection_test + +import ( + connection "cloud.google.com/go/bigquery/connection/apiv1beta1" +) diff --git a/bigquery/connection/apiv1beta1/connectionpb/connection.pb.go b/bigquery/connection/apiv1beta1/connectionpb/connection.pb.go index cc4e96bee429..8b7ceaaf5339 100755 --- a/bigquery/connection/apiv1beta1/connectionpb/connection.pb.go +++ b/bigquery/connection/apiv1beta1/connectionpb/connection.pb.go @@ -21,11 +21,8 @@ package connectionpb import ( - context "context" - reflect "reflect" - sync "sync" - iampb "cloud.google.com/go/iam/apiv1/iampb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( diff --git a/bigquery/dataexchange/apiv1beta1/dataexchangepb/dataexchange.pb.go b/bigquery/dataexchange/apiv1beta1/dataexchangepb/dataexchange.pb.go index 5c955c67530d..14bc411784ef 100755 --- a/bigquery/dataexchange/apiv1beta1/dataexchangepb/dataexchange.pb.go +++ b/bigquery/dataexchange/apiv1beta1/dataexchangepb/dataexchange.pb.go @@ -21,11 +21,8 @@ package dataexchangepb import ( - context "context" - reflect "reflect" - sync "sync" - iampb "cloud.google.com/go/iam/apiv1/iampb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( diff --git a/bigquery/datapolicies/apiv1/datapoliciespb/datapolicy.pb.go b/bigquery/datapolicies/apiv1/datapoliciespb/datapolicy.pb.go index 22d07fc3a247..b9f11473bacf 100755 --- a/bigquery/datapolicies/apiv1/datapoliciespb/datapolicy.pb.go +++ b/bigquery/datapolicies/apiv1/datapoliciespb/datapolicy.pb.go @@ -21,11 +21,8 @@ package datapoliciespb import ( - context "context" - reflect "reflect" - sync "sync" - iampb "cloud.google.com/go/iam/apiv1/iampb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/bigquery/datapolicies/apiv1beta1/datapoliciespb/datapolicy.pb.go b/bigquery/datapolicies/apiv1beta1/datapoliciespb/datapolicy.pb.go index 8d5bc51ecdfe..6aae2d979579 100755 --- a/bigquery/datapolicies/apiv1beta1/datapoliciespb/datapolicy.pb.go +++ b/bigquery/datapolicies/apiv1beta1/datapoliciespb/datapolicy.pb.go @@ -21,11 +21,8 @@ package datapoliciespb import ( - context "context" - reflect "reflect" - sync "sync" - iampb "cloud.google.com/go/iam/apiv1/iampb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/bigquery/datatransfer/apiv1/datatransferpb/datatransfer.pb.go b/bigquery/datatransfer/apiv1/datatransferpb/datatransfer.pb.go index 4b402b2c2d47..3fcde43ee05a 100755 --- a/bigquery/datatransfer/apiv1/datatransferpb/datatransfer.pb.go +++ b/bigquery/datatransfer/apiv1/datatransferpb/datatransfer.pb.go @@ -22,9 +22,6 @@ package datatransferpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -36,6 +33,8 @@ import ( fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( diff --git a/bigquery/datatransfer/apiv1/datatransferpb/transfer.pb.go b/bigquery/datatransfer/apiv1/datatransferpb/transfer.pb.go index 6831d6e7146e..0fac9d94dd0b 100755 --- a/bigquery/datatransfer/apiv1/datatransferpb/transfer.pb.go +++ b/bigquery/datatransfer/apiv1/datatransferpb/transfer.pb.go @@ -21,9 +21,6 @@ package datatransferpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" @@ -31,6 +28,8 @@ import ( structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( diff --git a/bigquery/migration/apiv2/migrationpb/migration_entities.pb.go b/bigquery/migration/apiv2/migrationpb/migration_entities.pb.go index b12ca2c47170..2eff9bd79a31 100755 --- a/bigquery/migration/apiv2/migrationpb/migration_entities.pb.go +++ b/bigquery/migration/apiv2/migrationpb/migration_entities.pb.go @@ -21,14 +21,13 @@ package migrationpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" errdetails "google.golang.org/genproto/googleapis/rpc/errdetails" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/bigquery/migration/apiv2/migrationpb/migration_error_details.pb.go b/bigquery/migration/apiv2/migrationpb/migration_error_details.pb.go index 3798d7ab1f4b..612f46982c5e 100755 --- a/bigquery/migration/apiv2/migrationpb/migration_error_details.pb.go +++ b/bigquery/migration/apiv2/migrationpb/migration_error_details.pb.go @@ -21,13 +21,12 @@ package migrationpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" errdetails "google.golang.org/genproto/googleapis/rpc/errdetails" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/bigquery/migration/apiv2/migrationpb/migration_metrics.pb.go b/bigquery/migration/apiv2/migrationpb/migration_metrics.pb.go index df23e5acea69..3ced082a71bc 100755 --- a/bigquery/migration/apiv2/migrationpb/migration_metrics.pb.go +++ b/bigquery/migration/apiv2/migrationpb/migration_metrics.pb.go @@ -21,15 +21,14 @@ package migrationpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" distribution "google.golang.org/genproto/googleapis/api/distribution" metric "google.golang.org/genproto/googleapis/api/metric" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/bigquery/migration/apiv2/migrationpb/migration_service.pb.go b/bigquery/migration/apiv2/migrationpb/migration_service.pb.go index a595a5d60aff..f89129f3e92d 100755 --- a/bigquery/migration/apiv2/migrationpb/migration_service.pb.go +++ b/bigquery/migration/apiv2/migrationpb/migration_service.pb.go @@ -22,9 +22,6 @@ package migrationpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/bigquery/migration/apiv2/migrationpb/translation_config.pb.go b/bigquery/migration/apiv2/migrationpb/translation_config.pb.go index ab014659c838..0dbee74a8978 100755 --- a/bigquery/migration/apiv2/migrationpb/translation_config.pb.go +++ b/bigquery/migration/apiv2/migrationpb/translation_config.pb.go @@ -21,12 +21,11 @@ package migrationpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/bigquery/migration/apiv2/migrationpb/translation_details.pb.go b/bigquery/migration/apiv2/migrationpb/translation_details.pb.go index 22daa3e7da56..dbb84f42e8ce 100755 --- a/bigquery/migration/apiv2/migrationpb/translation_details.pb.go +++ b/bigquery/migration/apiv2/migrationpb/translation_details.pb.go @@ -21,12 +21,11 @@ package migrationpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/bigquery/migration/apiv2/migrationpb/translation_suggestion.pb.go b/bigquery/migration/apiv2/migrationpb/translation_suggestion.pb.go index 8daed6048d13..2d071b09049e 100755 --- a/bigquery/migration/apiv2/migrationpb/translation_suggestion.pb.go +++ b/bigquery/migration/apiv2/migrationpb/translation_suggestion.pb.go @@ -21,12 +21,11 @@ package migrationpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/bigquery/migration/apiv2/migrationpb/translation_usability.pb.go b/bigquery/migration/apiv2/migrationpb/translation_usability.pb.go index 7e6248674a5e..b93c4c344080 100755 --- a/bigquery/migration/apiv2/migrationpb/translation_usability.pb.go +++ b/bigquery/migration/apiv2/migrationpb/translation_usability.pb.go @@ -21,12 +21,11 @@ package migrationpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/bigquery/migration/apiv2alpha/migrationpb/assessment_task.pb.go b/bigquery/migration/apiv2alpha/migrationpb/assessment_task.pb.go index 805541d30430..79e6d76295f5 100755 --- a/bigquery/migration/apiv2alpha/migrationpb/assessment_task.pb.go +++ b/bigquery/migration/apiv2alpha/migrationpb/assessment_task.pb.go @@ -21,12 +21,11 @@ package migrationpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/bigquery/migration/apiv2alpha/migrationpb/migration_entities.pb.go b/bigquery/migration/apiv2alpha/migrationpb/migration_entities.pb.go index 72b3d7540fde..ef197b69bf37 100755 --- a/bigquery/migration/apiv2alpha/migrationpb/migration_entities.pb.go +++ b/bigquery/migration/apiv2alpha/migrationpb/migration_entities.pb.go @@ -21,15 +21,14 @@ package migrationpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" errdetails "google.golang.org/genproto/googleapis/rpc/errdetails" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" anypb "google.golang.org/protobuf/types/known/anypb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/bigquery/migration/apiv2alpha/migrationpb/migration_error_details.pb.go b/bigquery/migration/apiv2alpha/migrationpb/migration_error_details.pb.go index 5b1fc3f9652a..c12137025e3e 100755 --- a/bigquery/migration/apiv2alpha/migrationpb/migration_error_details.pb.go +++ b/bigquery/migration/apiv2alpha/migrationpb/migration_error_details.pb.go @@ -21,13 +21,12 @@ package migrationpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" errdetails "google.golang.org/genproto/googleapis/rpc/errdetails" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/bigquery/migration/apiv2alpha/migrationpb/migration_metrics.pb.go b/bigquery/migration/apiv2alpha/migrationpb/migration_metrics.pb.go index 77a620257025..1ecf687e8fe4 100755 --- a/bigquery/migration/apiv2alpha/migrationpb/migration_metrics.pb.go +++ b/bigquery/migration/apiv2alpha/migrationpb/migration_metrics.pb.go @@ -21,15 +21,14 @@ package migrationpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" distribution "google.golang.org/genproto/googleapis/api/distribution" metric "google.golang.org/genproto/googleapis/api/metric" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/bigquery/migration/apiv2alpha/migrationpb/migration_service.pb.go b/bigquery/migration/apiv2alpha/migrationpb/migration_service.pb.go index bfe954a81408..1a3d565f9b3e 100755 --- a/bigquery/migration/apiv2alpha/migrationpb/migration_service.pb.go +++ b/bigquery/migration/apiv2alpha/migrationpb/migration_service.pb.go @@ -22,9 +22,6 @@ package migrationpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/bigquery/migration/apiv2alpha/migrationpb/translation_service.pb.go b/bigquery/migration/apiv2alpha/migrationpb/translation_service.pb.go index b8b1d97256f5..e1c5b9c0cd08 100755 --- a/bigquery/migration/apiv2alpha/migrationpb/translation_service.pb.go +++ b/bigquery/migration/apiv2alpha/migrationpb/translation_service.pb.go @@ -22,15 +22,14 @@ package migrationpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/bigquery/migration/apiv2alpha/migrationpb/translation_task.pb.go b/bigquery/migration/apiv2alpha/migrationpb/translation_task.pb.go index dcd6887fbb6f..cc04d3b9dfd9 100755 --- a/bigquery/migration/apiv2alpha/migrationpb/translation_task.pb.go +++ b/bigquery/migration/apiv2alpha/migrationpb/translation_task.pb.go @@ -21,11 +21,10 @@ package migrationpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/bigquery/migration/apiv2alpha/sql_translation_client_example_go123_test.go b/bigquery/migration/apiv2alpha/sql_translation_client_example_go123_test.go index dfbef20a398e..76dbea2fe9c3 100644 --- a/bigquery/migration/apiv2alpha/sql_translation_client_example_go123_test.go +++ b/bigquery/migration/apiv2alpha/sql_translation_client_example_go123_test.go @@ -17,3 +17,7 @@ //go:build go1.23 package migration_test + +import ( + migration "cloud.google.com/go/bigquery/migration/apiv2alpha" +) diff --git a/bigquery/reservation/apiv1/reservationpb/reservation.pb.go b/bigquery/reservation/apiv1/reservationpb/reservation.pb.go index 60572c60a8d5..dd1dda3a9113 100755 --- a/bigquery/reservation/apiv1/reservationpb/reservation.pb.go +++ b/bigquery/reservation/apiv1/reservationpb/reservation.pb.go @@ -22,9 +22,6 @@ package reservationpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -35,6 +32,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/bigquery/storage/apiv1/auxiliary.go b/bigquery/storage/apiv1/auxiliary.go index 8f7891d25e1b..4b81ae0acf70 100755 --- a/bigquery/storage/apiv1/auxiliary.go +++ b/bigquery/storage/apiv1/auxiliary.go @@ -15,3 +15,5 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package storage + +import () diff --git a/bigquery/storage/apiv1/auxiliary_go123.go b/bigquery/storage/apiv1/auxiliary_go123.go index 7c7ca20370e3..c378ffef4e69 100755 --- a/bigquery/storage/apiv1/auxiliary_go123.go +++ b/bigquery/storage/apiv1/auxiliary_go123.go @@ -17,3 +17,5 @@ //go:build go1.23 package storage + +import () diff --git a/bigquery/storage/apiv1/big_query_read_client_example_go123_test.go b/bigquery/storage/apiv1/big_query_read_client_example_go123_test.go index c496a9cc0d15..739797fa6fe9 100644 --- a/bigquery/storage/apiv1/big_query_read_client_example_go123_test.go +++ b/bigquery/storage/apiv1/big_query_read_client_example_go123_test.go @@ -17,3 +17,7 @@ //go:build go1.23 package storage_test + +import ( + storage "cloud.google.com/go/bigquery/storage/apiv1" +) diff --git a/bigquery/storage/apiv1/big_query_write_client_example_go123_test.go b/bigquery/storage/apiv1/big_query_write_client_example_go123_test.go index c496a9cc0d15..739797fa6fe9 100644 --- a/bigquery/storage/apiv1/big_query_write_client_example_go123_test.go +++ b/bigquery/storage/apiv1/big_query_write_client_example_go123_test.go @@ -17,3 +17,7 @@ //go:build go1.23 package storage_test + +import ( + storage "cloud.google.com/go/bigquery/storage/apiv1" +) diff --git a/bigquery/storage/apiv1/storagepb/annotations.pb.go b/bigquery/storage/apiv1/storagepb/annotations.pb.go index 0e295f086ed2..f7159e3251d7 100755 --- a/bigquery/storage/apiv1/storagepb/annotations.pb.go +++ b/bigquery/storage/apiv1/storagepb/annotations.pb.go @@ -7,11 +7,10 @@ package storagepb import ( - reflect "reflect" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" descriptorpb "google.golang.org/protobuf/types/descriptorpb" + reflect "reflect" ) const ( diff --git a/bigquery/storage/apiv1/storagepb/arrow.pb.go b/bigquery/storage/apiv1/storagepb/arrow.pb.go index e9cd4cc7f5c4..5b2d509cf714 100755 --- a/bigquery/storage/apiv1/storagepb/arrow.pb.go +++ b/bigquery/storage/apiv1/storagepb/arrow.pb.go @@ -21,11 +21,10 @@ package storagepb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/bigquery/storage/apiv1/storagepb/avro.pb.go b/bigquery/storage/apiv1/storagepb/avro.pb.go index 3e0c48d91e11..7947dab95017 100755 --- a/bigquery/storage/apiv1/storagepb/avro.pb.go +++ b/bigquery/storage/apiv1/storagepb/avro.pb.go @@ -21,11 +21,10 @@ package storagepb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/bigquery/storage/apiv1/storagepb/protobuf.pb.go b/bigquery/storage/apiv1/storagepb/protobuf.pb.go index 1af704532701..39a42b3b885a 100755 --- a/bigquery/storage/apiv1/storagepb/protobuf.pb.go +++ b/bigquery/storage/apiv1/storagepb/protobuf.pb.go @@ -21,12 +21,11 @@ package storagepb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" descriptorpb "google.golang.org/protobuf/types/descriptorpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/bigquery/storage/apiv1/storagepb/storage.pb.go b/bigquery/storage/apiv1/storagepb/storage.pb.go index 7ccb3314a64a..d613ede68b15 100755 --- a/bigquery/storage/apiv1/storagepb/storage.pb.go +++ b/bigquery/storage/apiv1/storagepb/storage.pb.go @@ -22,9 +22,6 @@ package storagepb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( diff --git a/bigquery/storage/apiv1/storagepb/stream.pb.go b/bigquery/storage/apiv1/storagepb/stream.pb.go index 5e92d1a0dea2..8f631345af8a 100755 --- a/bigquery/storage/apiv1/storagepb/stream.pb.go +++ b/bigquery/storage/apiv1/storagepb/stream.pb.go @@ -21,13 +21,12 @@ package storagepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/bigquery/storage/apiv1/storagepb/table.pb.go b/bigquery/storage/apiv1/storagepb/table.pb.go index f26b6750603f..9c428b286382 100755 --- a/bigquery/storage/apiv1/storagepb/table.pb.go +++ b/bigquery/storage/apiv1/storagepb/table.pb.go @@ -21,12 +21,11 @@ package storagepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/bigquery/storage/apiv1alpha/auxiliary.go b/bigquery/storage/apiv1alpha/auxiliary.go index 8f7891d25e1b..4b81ae0acf70 100755 --- a/bigquery/storage/apiv1alpha/auxiliary.go +++ b/bigquery/storage/apiv1alpha/auxiliary.go @@ -15,3 +15,5 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package storage + +import () diff --git a/bigquery/storage/apiv1alpha/auxiliary_go123.go b/bigquery/storage/apiv1alpha/auxiliary_go123.go index 7c7ca20370e3..c378ffef4e69 100755 --- a/bigquery/storage/apiv1alpha/auxiliary_go123.go +++ b/bigquery/storage/apiv1alpha/auxiliary_go123.go @@ -17,3 +17,5 @@ //go:build go1.23 package storage + +import () diff --git a/bigquery/storage/apiv1alpha/metastore_partition_client_example_go123_test.go b/bigquery/storage/apiv1alpha/metastore_partition_client_example_go123_test.go index c496a9cc0d15..69e385de8dff 100644 --- a/bigquery/storage/apiv1alpha/metastore_partition_client_example_go123_test.go +++ b/bigquery/storage/apiv1alpha/metastore_partition_client_example_go123_test.go @@ -17,3 +17,7 @@ //go:build go1.23 package storage_test + +import ( + storage "cloud.google.com/go/bigquery/storage/apiv1alpha" +) diff --git a/bigquery/storage/apiv1alpha/storagepb/metastore_partition.pb.go b/bigquery/storage/apiv1alpha/storagepb/metastore_partition.pb.go index 850fe1d28474..6080c0b22b4f 100755 --- a/bigquery/storage/apiv1alpha/storagepb/metastore_partition.pb.go +++ b/bigquery/storage/apiv1alpha/storagepb/metastore_partition.pb.go @@ -22,9 +22,6 @@ package storagepb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/bigquery/storage/apiv1alpha/storagepb/partition.pb.go b/bigquery/storage/apiv1alpha/storagepb/partition.pb.go index 91c222fe6ca4..75ec9c3de2d4 100755 --- a/bigquery/storage/apiv1alpha/storagepb/partition.pb.go +++ b/bigquery/storage/apiv1alpha/storagepb/partition.pb.go @@ -21,13 +21,12 @@ package storagepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/bigquery/storage/apiv1beta1/auxiliary.go b/bigquery/storage/apiv1beta1/auxiliary.go index 8f7891d25e1b..4b81ae0acf70 100755 --- a/bigquery/storage/apiv1beta1/auxiliary.go +++ b/bigquery/storage/apiv1beta1/auxiliary.go @@ -15,3 +15,5 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package storage + +import () diff --git a/bigquery/storage/apiv1beta1/auxiliary_go123.go b/bigquery/storage/apiv1beta1/auxiliary_go123.go index 7c7ca20370e3..c378ffef4e69 100755 --- a/bigquery/storage/apiv1beta1/auxiliary_go123.go +++ b/bigquery/storage/apiv1beta1/auxiliary_go123.go @@ -17,3 +17,5 @@ //go:build go1.23 package storage + +import () diff --git a/bigquery/storage/apiv1beta1/big_query_storage_client_example_go123_test.go b/bigquery/storage/apiv1beta1/big_query_storage_client_example_go123_test.go index c496a9cc0d15..8d46df219142 100644 --- a/bigquery/storage/apiv1beta1/big_query_storage_client_example_go123_test.go +++ b/bigquery/storage/apiv1beta1/big_query_storage_client_example_go123_test.go @@ -17,3 +17,7 @@ //go:build go1.23 package storage_test + +import ( + storage "cloud.google.com/go/bigquery/storage/apiv1beta1" +) diff --git a/bigquery/storage/apiv1beta1/storagepb/arrow.pb.go b/bigquery/storage/apiv1beta1/storagepb/arrow.pb.go index 936f13ee349f..32aa33bf57ec 100755 --- a/bigquery/storage/apiv1beta1/storagepb/arrow.pb.go +++ b/bigquery/storage/apiv1beta1/storagepb/arrow.pb.go @@ -21,11 +21,10 @@ package storagepb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/bigquery/storage/apiv1beta1/storagepb/avro.pb.go b/bigquery/storage/apiv1beta1/storagepb/avro.pb.go index 6331a8787da5..63c6e9b99fab 100755 --- a/bigquery/storage/apiv1beta1/storagepb/avro.pb.go +++ b/bigquery/storage/apiv1beta1/storagepb/avro.pb.go @@ -21,11 +21,10 @@ package storagepb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/bigquery/storage/apiv1beta1/storagepb/read_options.pb.go b/bigquery/storage/apiv1beta1/storagepb/read_options.pb.go index 580f93fbbce7..1238f4004914 100755 --- a/bigquery/storage/apiv1beta1/storagepb/read_options.pb.go +++ b/bigquery/storage/apiv1beta1/storagepb/read_options.pb.go @@ -21,11 +21,10 @@ package storagepb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/bigquery/storage/apiv1beta1/storagepb/storage.pb.go b/bigquery/storage/apiv1beta1/storagepb/storage.pb.go index 55c24ff90ba4..4b7c46fb9033 100755 --- a/bigquery/storage/apiv1beta1/storagepb/storage.pb.go +++ b/bigquery/storage/apiv1beta1/storagepb/storage.pb.go @@ -22,9 +22,6 @@ package storagepb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/bigquery/storage/apiv1beta1/storagepb/table_reference.pb.go b/bigquery/storage/apiv1beta1/storagepb/table_reference.pb.go index cc6d9e48f9d6..45dc58678388 100755 --- a/bigquery/storage/apiv1beta1/storagepb/table_reference.pb.go +++ b/bigquery/storage/apiv1beta1/storagepb/table_reference.pb.go @@ -21,12 +21,11 @@ package storagepb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/bigquery/storage/apiv1beta2/auxiliary.go b/bigquery/storage/apiv1beta2/auxiliary.go index 8f7891d25e1b..4b81ae0acf70 100755 --- a/bigquery/storage/apiv1beta2/auxiliary.go +++ b/bigquery/storage/apiv1beta2/auxiliary.go @@ -15,3 +15,5 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package storage + +import () diff --git a/bigquery/storage/apiv1beta2/auxiliary_go123.go b/bigquery/storage/apiv1beta2/auxiliary_go123.go index 7c7ca20370e3..c378ffef4e69 100755 --- a/bigquery/storage/apiv1beta2/auxiliary_go123.go +++ b/bigquery/storage/apiv1beta2/auxiliary_go123.go @@ -17,3 +17,5 @@ //go:build go1.23 package storage + +import () diff --git a/bigquery/storage/apiv1beta2/big_query_read_client_example_go123_test.go b/bigquery/storage/apiv1beta2/big_query_read_client_example_go123_test.go index c496a9cc0d15..37dd817c147a 100644 --- a/bigquery/storage/apiv1beta2/big_query_read_client_example_go123_test.go +++ b/bigquery/storage/apiv1beta2/big_query_read_client_example_go123_test.go @@ -17,3 +17,7 @@ //go:build go1.23 package storage_test + +import ( + storage "cloud.google.com/go/bigquery/storage/apiv1beta2" +) diff --git a/bigquery/storage/apiv1beta2/big_query_write_client_example_go123_test.go b/bigquery/storage/apiv1beta2/big_query_write_client_example_go123_test.go index c496a9cc0d15..37dd817c147a 100644 --- a/bigquery/storage/apiv1beta2/big_query_write_client_example_go123_test.go +++ b/bigquery/storage/apiv1beta2/big_query_write_client_example_go123_test.go @@ -17,3 +17,7 @@ //go:build go1.23 package storage_test + +import ( + storage "cloud.google.com/go/bigquery/storage/apiv1beta2" +) diff --git a/bigquery/storage/apiv1beta2/storagepb/arrow.pb.go b/bigquery/storage/apiv1beta2/storagepb/arrow.pb.go index 687bb3b45bc5..ffa059cd465f 100755 --- a/bigquery/storage/apiv1beta2/storagepb/arrow.pb.go +++ b/bigquery/storage/apiv1beta2/storagepb/arrow.pb.go @@ -21,11 +21,10 @@ package storagepb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/bigquery/storage/apiv1beta2/storagepb/avro.pb.go b/bigquery/storage/apiv1beta2/storagepb/avro.pb.go index bb5d4bef53e8..b7ed5ca951cd 100755 --- a/bigquery/storage/apiv1beta2/storagepb/avro.pb.go +++ b/bigquery/storage/apiv1beta2/storagepb/avro.pb.go @@ -21,11 +21,10 @@ package storagepb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/bigquery/storage/apiv1beta2/storagepb/protobuf.pb.go b/bigquery/storage/apiv1beta2/storagepb/protobuf.pb.go index 71e8cb1692c7..00189f0fca8b 100755 --- a/bigquery/storage/apiv1beta2/storagepb/protobuf.pb.go +++ b/bigquery/storage/apiv1beta2/storagepb/protobuf.pb.go @@ -21,12 +21,11 @@ package storagepb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" descriptorpb "google.golang.org/protobuf/types/descriptorpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/bigquery/storage/apiv1beta2/storagepb/storage.pb.go b/bigquery/storage/apiv1beta2/storagepb/storage.pb.go index 91dcd023bbb8..03e8f695d3c7 100755 --- a/bigquery/storage/apiv1beta2/storagepb/storage.pb.go +++ b/bigquery/storage/apiv1beta2/storagepb/storage.pb.go @@ -22,9 +22,6 @@ package storagepb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( diff --git a/bigquery/storage/apiv1beta2/storagepb/stream.pb.go b/bigquery/storage/apiv1beta2/storagepb/stream.pb.go index 92ac7d009d72..fb1141623f63 100755 --- a/bigquery/storage/apiv1beta2/storagepb/stream.pb.go +++ b/bigquery/storage/apiv1beta2/storagepb/stream.pb.go @@ -21,13 +21,12 @@ package storagepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/bigquery/storage/apiv1beta2/storagepb/table.pb.go b/bigquery/storage/apiv1beta2/storagepb/table.pb.go index 3afbb4971614..1a2f4d2ff12e 100755 --- a/bigquery/storage/apiv1beta2/storagepb/table.pb.go +++ b/bigquery/storage/apiv1beta2/storagepb/table.pb.go @@ -21,12 +21,11 @@ package storagepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/bigtable/admin/apiv2/adminpb/bigtable_instance_admin.pb.go b/bigtable/admin/apiv2/adminpb/bigtable_instance_admin.pb.go index ca912acd58f6..80a01de4b950 100755 --- a/bigtable/admin/apiv2/adminpb/bigtable_instance_admin.pb.go +++ b/bigtable/admin/apiv2/adminpb/bigtable_instance_admin.pb.go @@ -21,12 +21,9 @@ package adminpb import ( - context "context" - reflect "reflect" - sync "sync" - iampb "cloud.google.com/go/iam/apiv1/iampb" longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -36,6 +33,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/bigtable/admin/apiv2/adminpb/bigtable_table_admin.pb.go b/bigtable/admin/apiv2/adminpb/bigtable_table_admin.pb.go index f765d7acdeed..1a40f8261698 100755 --- a/bigtable/admin/apiv2/adminpb/bigtable_table_admin.pb.go +++ b/bigtable/admin/apiv2/adminpb/bigtable_table_admin.pb.go @@ -21,12 +21,9 @@ package adminpb import ( - context "context" - reflect "reflect" - sync "sync" - iampb "cloud.google.com/go/iam/apiv1/iampb" longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -37,6 +34,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/bigtable/admin/apiv2/adminpb/common.pb.go b/bigtable/admin/apiv2/adminpb/common.pb.go index caa6e944683a..3e9d1a5d59cf 100755 --- a/bigtable/admin/apiv2/adminpb/common.pb.go +++ b/bigtable/admin/apiv2/adminpb/common.pb.go @@ -21,12 +21,11 @@ package adminpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/bigtable/admin/apiv2/adminpb/instance.pb.go b/bigtable/admin/apiv2/adminpb/instance.pb.go index a02a1866910d..57da08c3f4d4 100755 --- a/bigtable/admin/apiv2/adminpb/instance.pb.go +++ b/bigtable/admin/apiv2/adminpb/instance.pb.go @@ -21,13 +21,12 @@ package adminpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/bigtable/admin/apiv2/adminpb/table.pb.go b/bigtable/admin/apiv2/adminpb/table.pb.go index 9cd3dbe892ce..df03860d256c 100755 --- a/bigtable/admin/apiv2/adminpb/table.pb.go +++ b/bigtable/admin/apiv2/adminpb/table.pb.go @@ -21,15 +21,14 @@ package adminpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/bigtable/admin/apiv2/adminpb/types.pb.go b/bigtable/admin/apiv2/adminpb/types.pb.go index 9997364f1d2c..af51d658a84e 100755 --- a/bigtable/admin/apiv2/adminpb/types.pb.go +++ b/bigtable/admin/apiv2/adminpb/types.pb.go @@ -21,12 +21,11 @@ package adminpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/bigtable/apiv2/bigtablepb/bigtable.pb.go b/bigtable/apiv2/bigtablepb/bigtable.pb.go index e0880f480b6e..c46b019f470c 100755 --- a/bigtable/apiv2/bigtablepb/bigtable.pb.go +++ b/bigtable/apiv2/bigtablepb/bigtable.pb.go @@ -22,9 +22,6 @@ package bigtablepb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -35,6 +32,8 @@ import ( durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( diff --git a/bigtable/apiv2/bigtablepb/data.pb.go b/bigtable/apiv2/bigtablepb/data.pb.go index 0021c1a61e22..191fd68635a3 100755 --- a/bigtable/apiv2/bigtablepb/data.pb.go +++ b/bigtable/apiv2/bigtablepb/data.pb.go @@ -21,14 +21,13 @@ package bigtablepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" date "google.golang.org/genproto/googleapis/type/date" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/bigtable/apiv2/bigtablepb/feature_flags.pb.go b/bigtable/apiv2/bigtablepb/feature_flags.pb.go index 3ecb550dd56a..51b3f2fd8d6a 100755 --- a/bigtable/apiv2/bigtablepb/feature_flags.pb.go +++ b/bigtable/apiv2/bigtablepb/feature_flags.pb.go @@ -21,11 +21,10 @@ package bigtablepb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/bigtable/apiv2/bigtablepb/request_stats.pb.go b/bigtable/apiv2/bigtablepb/request_stats.pb.go index a3b26670fe4a..6580483e2eca 100755 --- a/bigtable/apiv2/bigtablepb/request_stats.pb.go +++ b/bigtable/apiv2/bigtablepb/request_stats.pb.go @@ -21,12 +21,11 @@ package bigtablepb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/bigtable/apiv2/bigtablepb/response_params.pb.go b/bigtable/apiv2/bigtablepb/response_params.pb.go index 54caa744faed..ffd18061f5c8 100755 --- a/bigtable/apiv2/bigtablepb/response_params.pb.go +++ b/bigtable/apiv2/bigtablepb/response_params.pb.go @@ -21,11 +21,10 @@ package bigtablepb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/bigtable/apiv2/bigtablepb/types.pb.go b/bigtable/apiv2/bigtablepb/types.pb.go index 1090862843a8..2a471c3bf95c 100755 --- a/bigtable/apiv2/bigtablepb/types.pb.go +++ b/bigtable/apiv2/bigtablepb/types.pb.go @@ -21,12 +21,11 @@ package bigtablepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/billing/apiv1/billingpb/cloud_billing.pb.go b/billing/apiv1/billingpb/cloud_billing.pb.go index 3cee8000d21d..f096b850b4a4 100755 --- a/billing/apiv1/billingpb/cloud_billing.pb.go +++ b/billing/apiv1/billingpb/cloud_billing.pb.go @@ -21,11 +21,8 @@ package billingpb import ( - context "context" - reflect "reflect" - sync "sync" - iampb "cloud.google.com/go/iam/apiv1/iampb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/billing/apiv1/billingpb/cloud_catalog.pb.go b/billing/apiv1/billingpb/cloud_catalog.pb.go index 8741f5bb684e..82cdd82f2853 100755 --- a/billing/apiv1/billingpb/cloud_catalog.pb.go +++ b/billing/apiv1/billingpb/cloud_catalog.pb.go @@ -22,9 +22,6 @@ package billingpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" money "google.golang.org/genproto/googleapis/type/money" grpc "google.golang.org/grpc" @@ -33,6 +30,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/billing/budgets/apiv1/budgetspb/budget_model.pb.go b/billing/budgets/apiv1/budgetspb/budget_model.pb.go index de2cbbeee2fc..2996d0aa2b3d 100755 --- a/billing/budgets/apiv1/budgetspb/budget_model.pb.go +++ b/billing/budgets/apiv1/budgetspb/budget_model.pb.go @@ -21,15 +21,14 @@ package budgetspb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" date "google.golang.org/genproto/googleapis/type/date" money "google.golang.org/genproto/googleapis/type/money" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/billing/budgets/apiv1/budgetspb/budget_service.pb.go b/billing/budgets/apiv1/budgetspb/budget_service.pb.go index 66b9d157c02c..75656f26a78a 100755 --- a/billing/budgets/apiv1/budgetspb/budget_service.pb.go +++ b/billing/budgets/apiv1/budgetspb/budget_service.pb.go @@ -22,9 +22,6 @@ package budgetspb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/billing/budgets/apiv1beta1/budgetspb/budget_model.pb.go b/billing/budgets/apiv1beta1/budgetspb/budget_model.pb.go index 1e546894f1a4..8b57c7d9f880 100755 --- a/billing/budgets/apiv1beta1/budgetspb/budget_model.pb.go +++ b/billing/budgets/apiv1beta1/budgetspb/budget_model.pb.go @@ -21,15 +21,14 @@ package budgetspb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" date "google.golang.org/genproto/googleapis/type/date" money "google.golang.org/genproto/googleapis/type/money" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/billing/budgets/apiv1beta1/budgetspb/budget_service.pb.go b/billing/budgets/apiv1beta1/budgetspb/budget_service.pb.go index 1ef2afac60c1..dbcd68d1c769 100755 --- a/billing/budgets/apiv1beta1/budgetspb/budget_service.pb.go +++ b/billing/budgets/apiv1beta1/budgetspb/budget_service.pb.go @@ -22,9 +22,6 @@ package budgetspb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/binaryauthorization/apiv1/binaryauthorizationpb/resources.pb.go b/binaryauthorization/apiv1/binaryauthorizationpb/resources.pb.go index 2438c68ced90..1a8fe277b992 100755 --- a/binaryauthorization/apiv1/binaryauthorizationpb/resources.pb.go +++ b/binaryauthorization/apiv1/binaryauthorizationpb/resources.pb.go @@ -21,13 +21,12 @@ package binaryauthorizationpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/binaryauthorization/apiv1/binaryauthorizationpb/service.pb.go b/binaryauthorization/apiv1/binaryauthorizationpb/service.pb.go index cfb325f35b69..210b11e4b9e6 100755 --- a/binaryauthorization/apiv1/binaryauthorizationpb/service.pb.go +++ b/binaryauthorization/apiv1/binaryauthorizationpb/service.pb.go @@ -22,9 +22,6 @@ package binaryauthorizationpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" v1 "google.golang.org/genproto/googleapis/grafeas/v1" grpc "google.golang.org/grpc" @@ -33,6 +30,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" + reflect "reflect" + sync "sync" ) const ( diff --git a/binaryauthorization/apiv1/system_policy_client_example_go123_test.go b/binaryauthorization/apiv1/system_policy_client_example_go123_test.go index e5a73c6a29cd..1565445eb9a9 100644 --- a/binaryauthorization/apiv1/system_policy_client_example_go123_test.go +++ b/binaryauthorization/apiv1/system_policy_client_example_go123_test.go @@ -17,3 +17,7 @@ //go:build go1.23 package binaryauthorization_test + +import ( + binaryauthorization "cloud.google.com/go/binaryauthorization/apiv1" +) diff --git a/binaryauthorization/apiv1/validation_helper_client_example_go123_test.go b/binaryauthorization/apiv1/validation_helper_client_example_go123_test.go index e5a73c6a29cd..1565445eb9a9 100644 --- a/binaryauthorization/apiv1/validation_helper_client_example_go123_test.go +++ b/binaryauthorization/apiv1/validation_helper_client_example_go123_test.go @@ -17,3 +17,7 @@ //go:build go1.23 package binaryauthorization_test + +import ( + binaryauthorization "cloud.google.com/go/binaryauthorization/apiv1" +) diff --git a/binaryauthorization/apiv1beta1/binaryauthorizationpb/continuous_validation_logging.pb.go b/binaryauthorization/apiv1beta1/binaryauthorizationpb/continuous_validation_logging.pb.go index a91921214152..431963bd9cb6 100755 --- a/binaryauthorization/apiv1beta1/binaryauthorizationpb/continuous_validation_logging.pb.go +++ b/binaryauthorization/apiv1beta1/binaryauthorizationpb/continuous_validation_logging.pb.go @@ -21,12 +21,11 @@ package binaryauthorizationpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/binaryauthorization/apiv1beta1/binaryauthorizationpb/resources.pb.go b/binaryauthorization/apiv1beta1/binaryauthorizationpb/resources.pb.go index df57a84cb740..be8d23bfbe72 100755 --- a/binaryauthorization/apiv1beta1/binaryauthorizationpb/resources.pb.go +++ b/binaryauthorization/apiv1beta1/binaryauthorizationpb/resources.pb.go @@ -21,13 +21,12 @@ package binaryauthorizationpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/binaryauthorization/apiv1beta1/binaryauthorizationpb/service.pb.go b/binaryauthorization/apiv1beta1/binaryauthorizationpb/service.pb.go index 84b13807b054..f442fc4524dd 100755 --- a/binaryauthorization/apiv1beta1/binaryauthorizationpb/service.pb.go +++ b/binaryauthorization/apiv1beta1/binaryauthorizationpb/service.pb.go @@ -22,9 +22,6 @@ package binaryauthorizationpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" + reflect "reflect" + sync "sync" ) const ( diff --git a/binaryauthorization/apiv1beta1/system_policy_v1_beta1_client_example_go123_test.go b/binaryauthorization/apiv1beta1/system_policy_v1_beta1_client_example_go123_test.go index e5a73c6a29cd..108cf3588ece 100644 --- a/binaryauthorization/apiv1beta1/system_policy_v1_beta1_client_example_go123_test.go +++ b/binaryauthorization/apiv1beta1/system_policy_v1_beta1_client_example_go123_test.go @@ -17,3 +17,7 @@ //go:build go1.23 package binaryauthorization_test + +import ( + binaryauthorization "cloud.google.com/go/binaryauthorization/apiv1beta1" +) diff --git a/certificatemanager/apiv1/certificatemanagerpb/certificate_issuance_config.pb.go b/certificatemanager/apiv1/certificatemanagerpb/certificate_issuance_config.pb.go index 141b196f0681..c5b6f262e73c 100755 --- a/certificatemanager/apiv1/certificatemanagerpb/certificate_issuance_config.pb.go +++ b/certificatemanager/apiv1/certificatemanagerpb/certificate_issuance_config.pb.go @@ -21,14 +21,13 @@ package certificatemanagerpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/certificatemanager/apiv1/certificatemanagerpb/certificate_manager.pb.go b/certificatemanager/apiv1/certificatemanagerpb/certificate_manager.pb.go index 3286d63bd231..34239bb0791f 100755 --- a/certificatemanager/apiv1/certificatemanagerpb/certificate_manager.pb.go +++ b/certificatemanager/apiv1/certificatemanagerpb/certificate_manager.pb.go @@ -21,11 +21,8 @@ package certificatemanagerpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/certificatemanager/apiv1/certificatemanagerpb/trust_config.pb.go b/certificatemanager/apiv1/certificatemanagerpb/trust_config.pb.go index 287fca0bb51c..556a05fa8591 100755 --- a/certificatemanager/apiv1/certificatemanagerpb/trust_config.pb.go +++ b/certificatemanager/apiv1/certificatemanagerpb/trust_config.pb.go @@ -21,14 +21,13 @@ package certificatemanagerpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/channel/apiv1/channelpb/billing_accounts.pb.go b/channel/apiv1/channelpb/billing_accounts.pb.go index 94dd371a7ac9..8f68d9cac18c 100755 --- a/channel/apiv1/channelpb/billing_accounts.pb.go +++ b/channel/apiv1/channelpb/billing_accounts.pb.go @@ -21,13 +21,12 @@ package channelpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/channel/apiv1/channelpb/channel_partner_links.pb.go b/channel/apiv1/channelpb/channel_partner_links.pb.go index d27d5dbdc834..f1b2865eb93f 100755 --- a/channel/apiv1/channelpb/channel_partner_links.pb.go +++ b/channel/apiv1/channelpb/channel_partner_links.pb.go @@ -21,13 +21,12 @@ package channelpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/channel/apiv1/channelpb/common.pb.go b/channel/apiv1/channelpb/common.pb.go index bf6205b44eaf..5344904c0363 100755 --- a/channel/apiv1/channelpb/common.pb.go +++ b/channel/apiv1/channelpb/common.pb.go @@ -21,13 +21,12 @@ package channelpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" anypb "google.golang.org/protobuf/types/known/anypb" + reflect "reflect" + sync "sync" ) const ( diff --git a/channel/apiv1/channelpb/customers.pb.go b/channel/apiv1/channelpb/customers.pb.go index 9339a94ca981..6e47b7ca46d7 100755 --- a/channel/apiv1/channelpb/customers.pb.go +++ b/channel/apiv1/channelpb/customers.pb.go @@ -21,14 +21,13 @@ package channelpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" postaladdress "google.golang.org/genproto/googleapis/type/postaladdress" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/channel/apiv1/channelpb/entitlement_changes.pb.go b/channel/apiv1/channelpb/entitlement_changes.pb.go index e7622ec4165c..236d7e356fd5 100755 --- a/channel/apiv1/channelpb/entitlement_changes.pb.go +++ b/channel/apiv1/channelpb/entitlement_changes.pb.go @@ -21,13 +21,12 @@ package channelpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/channel/apiv1/channelpb/entitlements.pb.go b/channel/apiv1/channelpb/entitlements.pb.go index a1a5b187d94d..7d6e17e30353 100755 --- a/channel/apiv1/channelpb/entitlements.pb.go +++ b/channel/apiv1/channelpb/entitlements.pb.go @@ -21,13 +21,12 @@ package channelpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/channel/apiv1/channelpb/offers.pb.go b/channel/apiv1/channelpb/offers.pb.go index 61825cedf6fd..a5b77022abc0 100755 --- a/channel/apiv1/channelpb/offers.pb.go +++ b/channel/apiv1/channelpb/offers.pb.go @@ -21,14 +21,13 @@ package channelpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" money "google.golang.org/genproto/googleapis/type/money" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/channel/apiv1/channelpb/operations.pb.go b/channel/apiv1/channelpb/operations.pb.go index ee9d4747910c..6c06712239b4 100755 --- a/channel/apiv1/channelpb/operations.pb.go +++ b/channel/apiv1/channelpb/operations.pb.go @@ -21,11 +21,10 @@ package channelpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/channel/apiv1/channelpb/products.pb.go b/channel/apiv1/channelpb/products.pb.go index ef5d57ed2ba2..d4b26baaf2ad 100755 --- a/channel/apiv1/channelpb/products.pb.go +++ b/channel/apiv1/channelpb/products.pb.go @@ -21,12 +21,11 @@ package channelpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/channel/apiv1/channelpb/reports_service.pb.go b/channel/apiv1/channelpb/reports_service.pb.go index fb0ef81478c0..66d3c2464662 100755 --- a/channel/apiv1/channelpb/reports_service.pb.go +++ b/channel/apiv1/channelpb/reports_service.pb.go @@ -21,11 +21,8 @@ package channelpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" date "google.golang.org/genproto/googleapis/type/date" datetime "google.golang.org/genproto/googleapis/type/datetime" @@ -37,6 +34,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/channel/apiv1/channelpb/repricing.pb.go b/channel/apiv1/channelpb/repricing.pb.go index 03cff573d6d4..3aa4bc30a3b8 100755 --- a/channel/apiv1/channelpb/repricing.pb.go +++ b/channel/apiv1/channelpb/repricing.pb.go @@ -21,15 +21,14 @@ package channelpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" date "google.golang.org/genproto/googleapis/type/date" decimal "google.golang.org/genproto/googleapis/type/decimal" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/channel/apiv1/channelpb/service.pb.go b/channel/apiv1/channelpb/service.pb.go index b962774bedcf..7ef0b7455cd3 100755 --- a/channel/apiv1/channelpb/service.pb.go +++ b/channel/apiv1/channelpb/service.pb.go @@ -21,11 +21,8 @@ package channelpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/channel/apiv1/channelpb/subscriber_event.pb.go b/channel/apiv1/channelpb/subscriber_event.pb.go index b5304de60298..773ac830dc8d 100755 --- a/channel/apiv1/channelpb/subscriber_event.pb.go +++ b/channel/apiv1/channelpb/subscriber_event.pb.go @@ -21,12 +21,11 @@ package channelpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/chat/apiv1/chatpb/action_status.pb.go b/chat/apiv1/chatpb/action_status.pb.go index fd96f8a4bdbd..03917cdddd20 100755 --- a/chat/apiv1/chatpb/action_status.pb.go +++ b/chat/apiv1/chatpb/action_status.pb.go @@ -21,12 +21,11 @@ package chatpb import ( - reflect "reflect" - sync "sync" - code "google.golang.org/genproto/googleapis/rpc/code" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/chat/apiv1/chatpb/annotation.pb.go b/chat/apiv1/chatpb/annotation.pb.go index 72f90dc16026..6934ae876a50 100755 --- a/chat/apiv1/chatpb/annotation.pb.go +++ b/chat/apiv1/chatpb/annotation.pb.go @@ -21,12 +21,11 @@ package chatpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/chat/apiv1/chatpb/attachment.pb.go b/chat/apiv1/chatpb/attachment.pb.go index 0bde53f59546..8e4e925df0bf 100755 --- a/chat/apiv1/chatpb/attachment.pb.go +++ b/chat/apiv1/chatpb/attachment.pb.go @@ -21,12 +21,11 @@ package chatpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/chat/apiv1/chatpb/chat_service.pb.go b/chat/apiv1/chatpb/chat_service.pb.go index 8e78cfdf840b..01cd43a2f297 100755 --- a/chat/apiv1/chatpb/chat_service.pb.go +++ b/chat/apiv1/chatpb/chat_service.pb.go @@ -22,8 +22,6 @@ package chatpb import ( context "context" - reflect "reflect" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,6 +29,7 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" + reflect "reflect" ) const ( diff --git a/chat/apiv1/chatpb/contextual_addon.pb.go b/chat/apiv1/chatpb/contextual_addon.pb.go index 445b9bdde67b..ef9bbf77cec2 100755 --- a/chat/apiv1/chatpb/contextual_addon.pb.go +++ b/chat/apiv1/chatpb/contextual_addon.pb.go @@ -21,11 +21,10 @@ package chatpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/chat/apiv1/chatpb/deletion_metadata.pb.go b/chat/apiv1/chatpb/deletion_metadata.pb.go index a2f5ef072bf7..dbd1d8d609be 100755 --- a/chat/apiv1/chatpb/deletion_metadata.pb.go +++ b/chat/apiv1/chatpb/deletion_metadata.pb.go @@ -21,11 +21,10 @@ package chatpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/chat/apiv1/chatpb/event_payload.pb.go b/chat/apiv1/chatpb/event_payload.pb.go index b04ee398c1fb..866463ffa4c0 100755 --- a/chat/apiv1/chatpb/event_payload.pb.go +++ b/chat/apiv1/chatpb/event_payload.pb.go @@ -21,12 +21,11 @@ package chatpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/chat/apiv1/chatpb/group.pb.go b/chat/apiv1/chatpb/group.pb.go index 7f72bb9297a8..c8bf066f35a1 100755 --- a/chat/apiv1/chatpb/group.pb.go +++ b/chat/apiv1/chatpb/group.pb.go @@ -21,11 +21,10 @@ package chatpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/chat/apiv1/chatpb/history_state.pb.go b/chat/apiv1/chatpb/history_state.pb.go index feb09544346e..9e3470de9ac5 100755 --- a/chat/apiv1/chatpb/history_state.pb.go +++ b/chat/apiv1/chatpb/history_state.pb.go @@ -21,11 +21,10 @@ package chatpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/chat/apiv1/chatpb/matched_url.pb.go b/chat/apiv1/chatpb/matched_url.pb.go index 6e06689d3287..dc87a4258c21 100755 --- a/chat/apiv1/chatpb/matched_url.pb.go +++ b/chat/apiv1/chatpb/matched_url.pb.go @@ -21,12 +21,11 @@ package chatpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/chat/apiv1/chatpb/membership.pb.go b/chat/apiv1/chatpb/membership.pb.go index addfaf958da0..74e62c8cdb36 100755 --- a/chat/apiv1/chatpb/membership.pb.go +++ b/chat/apiv1/chatpb/membership.pb.go @@ -21,14 +21,13 @@ package chatpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/chat/apiv1/chatpb/message.pb.go b/chat/apiv1/chatpb/message.pb.go index dec2e316c30a..b3142b428160 100755 --- a/chat/apiv1/chatpb/message.pb.go +++ b/chat/apiv1/chatpb/message.pb.go @@ -21,15 +21,14 @@ package chatpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" v1 "google.golang.org/genproto/googleapis/apps/card/v1" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/chat/apiv1/chatpb/reaction.pb.go b/chat/apiv1/chatpb/reaction.pb.go index 6b87ad533979..ea92a8268f2d 100755 --- a/chat/apiv1/chatpb/reaction.pb.go +++ b/chat/apiv1/chatpb/reaction.pb.go @@ -21,12 +21,11 @@ package chatpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/chat/apiv1/chatpb/slash_command.pb.go b/chat/apiv1/chatpb/slash_command.pb.go index dfec1a3aaaab..27a142bc7d22 100755 --- a/chat/apiv1/chatpb/slash_command.pb.go +++ b/chat/apiv1/chatpb/slash_command.pb.go @@ -21,11 +21,10 @@ package chatpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/chat/apiv1/chatpb/space.pb.go b/chat/apiv1/chatpb/space.pb.go index 1fa10e972bfb..db07d6f9d40b 100755 --- a/chat/apiv1/chatpb/space.pb.go +++ b/chat/apiv1/chatpb/space.pb.go @@ -21,14 +21,13 @@ package chatpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/chat/apiv1/chatpb/space_event.pb.go b/chat/apiv1/chatpb/space_event.pb.go index 100578f56223..1338265a4611 100755 --- a/chat/apiv1/chatpb/space_event.pb.go +++ b/chat/apiv1/chatpb/space_event.pb.go @@ -21,13 +21,12 @@ package chatpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/chat/apiv1/chatpb/space_read_state.pb.go b/chat/apiv1/chatpb/space_read_state.pb.go index 0f81c79eaa8f..917d1e474a8d 100755 --- a/chat/apiv1/chatpb/space_read_state.pb.go +++ b/chat/apiv1/chatpb/space_read_state.pb.go @@ -21,14 +21,13 @@ package chatpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/chat/apiv1/chatpb/space_setup.pb.go b/chat/apiv1/chatpb/space_setup.pb.go index 637a5b0c0702..3d74fdee74cf 100755 --- a/chat/apiv1/chatpb/space_setup.pb.go +++ b/chat/apiv1/chatpb/space_setup.pb.go @@ -21,12 +21,11 @@ package chatpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/chat/apiv1/chatpb/thread_read_state.pb.go b/chat/apiv1/chatpb/thread_read_state.pb.go index 3487b79f5daa..d80cba10497c 100755 --- a/chat/apiv1/chatpb/thread_read_state.pb.go +++ b/chat/apiv1/chatpb/thread_read_state.pb.go @@ -21,13 +21,12 @@ package chatpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/chat/apiv1/chatpb/user.pb.go b/chat/apiv1/chatpb/user.pb.go index 54e878a6e347..0164b35c3df6 100755 --- a/chat/apiv1/chatpb/user.pb.go +++ b/chat/apiv1/chatpb/user.pb.go @@ -21,12 +21,11 @@ package chatpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/chat/apiv1/chatpb/widgets.pb.go b/chat/apiv1/chatpb/widgets.pb.go index 41f22bbc00e2..d3bc56395013 100755 --- a/chat/apiv1/chatpb/widgets.pb.go +++ b/chat/apiv1/chatpb/widgets.pb.go @@ -21,11 +21,10 @@ package chatpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/cloudbuild/apiv1/v2/cloudbuildpb/cloudbuild.pb.go b/cloudbuild/apiv1/v2/cloudbuildpb/cloudbuild.pb.go index 09f7042e2bf5..76744410d4f9 100755 --- a/cloudbuild/apiv1/v2/cloudbuildpb/cloudbuild.pb.go +++ b/cloudbuild/apiv1/v2/cloudbuildpb/cloudbuild.pb.go @@ -21,11 +21,8 @@ package cloudbuildpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" httpbody "google.golang.org/genproto/googleapis/api/httpbody" grpc "google.golang.org/grpc" @@ -37,6 +34,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/cloudbuild/apiv2/cloudbuildpb/cloudbuild.pb.go b/cloudbuild/apiv2/cloudbuildpb/cloudbuild.pb.go index 88e130d7eed7..69b8fd453f56 100755 --- a/cloudbuild/apiv2/cloudbuildpb/cloudbuild.pb.go +++ b/cloudbuild/apiv2/cloudbuildpb/cloudbuild.pb.go @@ -21,13 +21,12 @@ package cloudbuildpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/cloudbuild/apiv2/cloudbuildpb/repositories.pb.go b/cloudbuild/apiv2/cloudbuildpb/repositories.pb.go index 535edde609ce..979a572aca1a 100755 --- a/cloudbuild/apiv2/cloudbuildpb/repositories.pb.go +++ b/cloudbuild/apiv2/cloudbuildpb/repositories.pb.go @@ -21,11 +21,8 @@ package cloudbuildpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" httpbody "google.golang.org/genproto/googleapis/api/httpbody" grpc "google.golang.org/grpc" @@ -36,6 +33,8 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/cloudcontrolspartner/apiv1/cloudcontrolspartnerpb/access_approval_requests.pb.go b/cloudcontrolspartner/apiv1/cloudcontrolspartnerpb/access_approval_requests.pb.go index db6ffe33be64..1344d51f5254 100755 --- a/cloudcontrolspartner/apiv1/cloudcontrolspartnerpb/access_approval_requests.pb.go +++ b/cloudcontrolspartner/apiv1/cloudcontrolspartnerpb/access_approval_requests.pb.go @@ -21,13 +21,12 @@ package cloudcontrolspartnerpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/cloudcontrolspartner/apiv1/cloudcontrolspartnerpb/completion_state.pb.go b/cloudcontrolspartner/apiv1/cloudcontrolspartnerpb/completion_state.pb.go index 866c04e0e93f..b5957b72fdef 100755 --- a/cloudcontrolspartner/apiv1/cloudcontrolspartnerpb/completion_state.pb.go +++ b/cloudcontrolspartner/apiv1/cloudcontrolspartnerpb/completion_state.pb.go @@ -21,11 +21,10 @@ package cloudcontrolspartnerpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/cloudcontrolspartner/apiv1/cloudcontrolspartnerpb/core.pb.go b/cloudcontrolspartner/apiv1/cloudcontrolspartnerpb/core.pb.go index 88d369cd3a78..b1d501638caf 100755 --- a/cloudcontrolspartner/apiv1/cloudcontrolspartnerpb/core.pb.go +++ b/cloudcontrolspartner/apiv1/cloudcontrolspartnerpb/core.pb.go @@ -22,9 +22,6 @@ package cloudcontrolspartnerpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/cloudcontrolspartner/apiv1/cloudcontrolspartnerpb/customer_workloads.pb.go b/cloudcontrolspartner/apiv1/cloudcontrolspartnerpb/customer_workloads.pb.go index 728220548544..7eb3de50b20a 100755 --- a/cloudcontrolspartner/apiv1/cloudcontrolspartnerpb/customer_workloads.pb.go +++ b/cloudcontrolspartner/apiv1/cloudcontrolspartnerpb/customer_workloads.pb.go @@ -21,13 +21,12 @@ package cloudcontrolspartnerpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/cloudcontrolspartner/apiv1/cloudcontrolspartnerpb/customers.pb.go b/cloudcontrolspartner/apiv1/cloudcontrolspartnerpb/customers.pb.go index 6d6ccbf56067..1b56ec99d3a2 100755 --- a/cloudcontrolspartner/apiv1/cloudcontrolspartnerpb/customers.pb.go +++ b/cloudcontrolspartner/apiv1/cloudcontrolspartnerpb/customers.pb.go @@ -21,13 +21,12 @@ package cloudcontrolspartnerpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/cloudcontrolspartner/apiv1/cloudcontrolspartnerpb/ekm_connections.pb.go b/cloudcontrolspartner/apiv1/cloudcontrolspartnerpb/ekm_connections.pb.go index 491bff4097c1..1094350eca88 100755 --- a/cloudcontrolspartner/apiv1/cloudcontrolspartnerpb/ekm_connections.pb.go +++ b/cloudcontrolspartner/apiv1/cloudcontrolspartnerpb/ekm_connections.pb.go @@ -21,12 +21,11 @@ package cloudcontrolspartnerpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/cloudcontrolspartner/apiv1/cloudcontrolspartnerpb/monitoring.pb.go b/cloudcontrolspartner/apiv1/cloudcontrolspartnerpb/monitoring.pb.go index 50192b2ae9e8..d99a2b551548 100755 --- a/cloudcontrolspartner/apiv1/cloudcontrolspartnerpb/monitoring.pb.go +++ b/cloudcontrolspartner/apiv1/cloudcontrolspartnerpb/monitoring.pb.go @@ -22,14 +22,13 @@ package cloudcontrolspartnerpb import ( context "context" - reflect "reflect" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" ) const ( diff --git a/cloudcontrolspartner/apiv1/cloudcontrolspartnerpb/partner_permissions.pb.go b/cloudcontrolspartner/apiv1/cloudcontrolspartnerpb/partner_permissions.pb.go index cb72b9504f8c..4ef5e45b17a4 100755 --- a/cloudcontrolspartner/apiv1/cloudcontrolspartnerpb/partner_permissions.pb.go +++ b/cloudcontrolspartner/apiv1/cloudcontrolspartnerpb/partner_permissions.pb.go @@ -21,12 +21,11 @@ package cloudcontrolspartnerpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/cloudcontrolspartner/apiv1/cloudcontrolspartnerpb/partners.pb.go b/cloudcontrolspartner/apiv1/cloudcontrolspartnerpb/partners.pb.go index d0c8a14fff7a..d652613061f6 100755 --- a/cloudcontrolspartner/apiv1/cloudcontrolspartnerpb/partners.pb.go +++ b/cloudcontrolspartner/apiv1/cloudcontrolspartnerpb/partners.pb.go @@ -21,13 +21,12 @@ package cloudcontrolspartnerpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/cloudcontrolspartner/apiv1/cloudcontrolspartnerpb/violations.pb.go b/cloudcontrolspartner/apiv1/cloudcontrolspartnerpb/violations.pb.go index 9aa2f9bdce96..1fb5dd877207 100755 --- a/cloudcontrolspartner/apiv1/cloudcontrolspartnerpb/violations.pb.go +++ b/cloudcontrolspartner/apiv1/cloudcontrolspartnerpb/violations.pb.go @@ -21,14 +21,13 @@ package cloudcontrolspartnerpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" interval "google.golang.org/genproto/googleapis/type/interval" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/cloudcontrolspartner/apiv1beta/cloudcontrolspartnerpb/access_approval_requests.pb.go b/cloudcontrolspartner/apiv1beta/cloudcontrolspartnerpb/access_approval_requests.pb.go index 2df7023d1848..a9dc8d7b05e9 100755 --- a/cloudcontrolspartner/apiv1beta/cloudcontrolspartnerpb/access_approval_requests.pb.go +++ b/cloudcontrolspartner/apiv1beta/cloudcontrolspartnerpb/access_approval_requests.pb.go @@ -21,13 +21,12 @@ package cloudcontrolspartnerpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/cloudcontrolspartner/apiv1beta/cloudcontrolspartnerpb/completion_state.pb.go b/cloudcontrolspartner/apiv1beta/cloudcontrolspartnerpb/completion_state.pb.go index 06a677a67c57..424b720381c2 100755 --- a/cloudcontrolspartner/apiv1beta/cloudcontrolspartnerpb/completion_state.pb.go +++ b/cloudcontrolspartner/apiv1beta/cloudcontrolspartnerpb/completion_state.pb.go @@ -21,11 +21,10 @@ package cloudcontrolspartnerpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/cloudcontrolspartner/apiv1beta/cloudcontrolspartnerpb/core.pb.go b/cloudcontrolspartner/apiv1beta/cloudcontrolspartnerpb/core.pb.go index 1a07bd76ca23..7af08ae080ca 100755 --- a/cloudcontrolspartner/apiv1beta/cloudcontrolspartnerpb/core.pb.go +++ b/cloudcontrolspartner/apiv1beta/cloudcontrolspartnerpb/core.pb.go @@ -22,9 +22,6 @@ package cloudcontrolspartnerpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/cloudcontrolspartner/apiv1beta/cloudcontrolspartnerpb/customer_workloads.pb.go b/cloudcontrolspartner/apiv1beta/cloudcontrolspartnerpb/customer_workloads.pb.go index 04675a24b855..badab5db5159 100755 --- a/cloudcontrolspartner/apiv1beta/cloudcontrolspartnerpb/customer_workloads.pb.go +++ b/cloudcontrolspartner/apiv1beta/cloudcontrolspartnerpb/customer_workloads.pb.go @@ -21,13 +21,12 @@ package cloudcontrolspartnerpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/cloudcontrolspartner/apiv1beta/cloudcontrolspartnerpb/customers.pb.go b/cloudcontrolspartner/apiv1beta/cloudcontrolspartnerpb/customers.pb.go index 50755d023dee..e8b452e7bb30 100755 --- a/cloudcontrolspartner/apiv1beta/cloudcontrolspartnerpb/customers.pb.go +++ b/cloudcontrolspartner/apiv1beta/cloudcontrolspartnerpb/customers.pb.go @@ -21,13 +21,12 @@ package cloudcontrolspartnerpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/cloudcontrolspartner/apiv1beta/cloudcontrolspartnerpb/ekm_connections.pb.go b/cloudcontrolspartner/apiv1beta/cloudcontrolspartnerpb/ekm_connections.pb.go index 1722c7468ad4..fd14307a4779 100755 --- a/cloudcontrolspartner/apiv1beta/cloudcontrolspartnerpb/ekm_connections.pb.go +++ b/cloudcontrolspartner/apiv1beta/cloudcontrolspartnerpb/ekm_connections.pb.go @@ -21,12 +21,11 @@ package cloudcontrolspartnerpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/cloudcontrolspartner/apiv1beta/cloudcontrolspartnerpb/monitoring.pb.go b/cloudcontrolspartner/apiv1beta/cloudcontrolspartnerpb/monitoring.pb.go index e5f81d3dfdab..9044496d5586 100755 --- a/cloudcontrolspartner/apiv1beta/cloudcontrolspartnerpb/monitoring.pb.go +++ b/cloudcontrolspartner/apiv1beta/cloudcontrolspartnerpb/monitoring.pb.go @@ -22,14 +22,13 @@ package cloudcontrolspartnerpb import ( context "context" - reflect "reflect" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" ) const ( diff --git a/cloudcontrolspartner/apiv1beta/cloudcontrolspartnerpb/partner_permissions.pb.go b/cloudcontrolspartner/apiv1beta/cloudcontrolspartnerpb/partner_permissions.pb.go index c8ef56c55afe..c533f9a9024c 100755 --- a/cloudcontrolspartner/apiv1beta/cloudcontrolspartnerpb/partner_permissions.pb.go +++ b/cloudcontrolspartner/apiv1beta/cloudcontrolspartnerpb/partner_permissions.pb.go @@ -21,12 +21,11 @@ package cloudcontrolspartnerpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/cloudcontrolspartner/apiv1beta/cloudcontrolspartnerpb/partners.pb.go b/cloudcontrolspartner/apiv1beta/cloudcontrolspartnerpb/partners.pb.go index 295bd483ed14..fa8456ec70b5 100755 --- a/cloudcontrolspartner/apiv1beta/cloudcontrolspartnerpb/partners.pb.go +++ b/cloudcontrolspartner/apiv1beta/cloudcontrolspartnerpb/partners.pb.go @@ -21,13 +21,12 @@ package cloudcontrolspartnerpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/cloudcontrolspartner/apiv1beta/cloudcontrolspartnerpb/violations.pb.go b/cloudcontrolspartner/apiv1beta/cloudcontrolspartnerpb/violations.pb.go index fea10fee295c..a5592db537f3 100755 --- a/cloudcontrolspartner/apiv1beta/cloudcontrolspartnerpb/violations.pb.go +++ b/cloudcontrolspartner/apiv1beta/cloudcontrolspartnerpb/violations.pb.go @@ -21,14 +21,13 @@ package cloudcontrolspartnerpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" interval "google.golang.org/genproto/googleapis/type/interval" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/clouddms/apiv1/clouddmspb/clouddms.pb.go b/clouddms/apiv1/clouddmspb/clouddms.pb.go index c3a365424a78..f0b4662d1d87 100755 --- a/clouddms/apiv1/clouddmspb/clouddms.pb.go +++ b/clouddms/apiv1/clouddmspb/clouddms.pb.go @@ -21,11 +21,8 @@ package clouddmspb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/clouddms/apiv1/clouddmspb/clouddms_resources.pb.go b/clouddms/apiv1/clouddmspb/clouddms_resources.pb.go index 63a20863113f..b7d42ed317c3 100755 --- a/clouddms/apiv1/clouddmspb/clouddms_resources.pb.go +++ b/clouddms/apiv1/clouddmspb/clouddms_resources.pb.go @@ -21,9 +21,6 @@ package clouddmspb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" @@ -31,6 +28,8 @@ import ( durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( diff --git a/clouddms/apiv1/clouddmspb/conversionworkspace_resources.pb.go b/clouddms/apiv1/clouddmspb/conversionworkspace_resources.pb.go index f5b4d9641456..f9ce6d4bbbd9 100755 --- a/clouddms/apiv1/clouddmspb/conversionworkspace_resources.pb.go +++ b/clouddms/apiv1/clouddmspb/conversionworkspace_resources.pb.go @@ -21,15 +21,14 @@ package clouddmspb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/cloudprofiler/apiv2/cloudprofilerpb/profiler.pb.go b/cloudprofiler/apiv2/cloudprofilerpb/profiler.pb.go index 622246e6880b..0c6a24bb4fb1 100755 --- a/cloudprofiler/apiv2/cloudprofilerpb/profiler.pb.go +++ b/cloudprofiler/apiv2/cloudprofilerpb/profiler.pb.go @@ -22,9 +22,6 @@ package cloudprofilerpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( durationpb "google.golang.org/protobuf/types/known/durationpb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/cloudprofiler/apiv2/profiler_client_example_go123_test.go b/cloudprofiler/apiv2/profiler_client_example_go123_test.go index f68a30a893fd..34fb86f0770d 100644 --- a/cloudprofiler/apiv2/profiler_client_example_go123_test.go +++ b/cloudprofiler/apiv2/profiler_client_example_go123_test.go @@ -17,3 +17,7 @@ //go:build go1.23 package cloudprofiler_test + +import ( + cloudprofiler "cloud.google.com/go/cloudprofiler/apiv2" +) diff --git a/cloudquotas/apiv1/cloudquotaspb/cloudquotas.pb.go b/cloudquotas/apiv1/cloudquotaspb/cloudquotas.pb.go index e4e35d953634..9926ec8bf5af 100755 --- a/cloudquotas/apiv1/cloudquotaspb/cloudquotas.pb.go +++ b/cloudquotas/apiv1/cloudquotaspb/cloudquotas.pb.go @@ -22,9 +22,6 @@ package cloudquotaspb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/cloudquotas/apiv1/cloudquotaspb/resources.pb.go b/cloudquotas/apiv1/cloudquotaspb/resources.pb.go index 47a2326b2690..b6e58b5b1c68 100755 --- a/cloudquotas/apiv1/cloudquotaspb/resources.pb.go +++ b/cloudquotas/apiv1/cloudquotaspb/resources.pb.go @@ -21,14 +21,13 @@ package cloudquotaspb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( diff --git a/cloudtasks/apiv2/cloudtaskspb/cloudtasks.pb.go b/cloudtasks/apiv2/cloudtaskspb/cloudtasks.pb.go index 7217feccbc29..afd618393603 100755 --- a/cloudtasks/apiv2/cloudtaskspb/cloudtasks.pb.go +++ b/cloudtasks/apiv2/cloudtaskspb/cloudtasks.pb.go @@ -21,11 +21,8 @@ package cloudtaskspb import ( - context "context" - reflect "reflect" - sync "sync" - iampb "cloud.google.com/go/iam/apiv1/iampb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/cloudtasks/apiv2/cloudtaskspb/queue.pb.go b/cloudtasks/apiv2/cloudtaskspb/queue.pb.go index 82a6f8250e6b..8ccbc0eb7469 100755 --- a/cloudtasks/apiv2/cloudtaskspb/queue.pb.go +++ b/cloudtasks/apiv2/cloudtaskspb/queue.pb.go @@ -21,14 +21,13 @@ package cloudtaskspb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/cloudtasks/apiv2/cloudtaskspb/target.pb.go b/cloudtasks/apiv2/cloudtaskspb/target.pb.go index 3f6db9596cfd..4b8602d95e9d 100755 --- a/cloudtasks/apiv2/cloudtaskspb/target.pb.go +++ b/cloudtasks/apiv2/cloudtaskspb/target.pb.go @@ -21,12 +21,11 @@ package cloudtaskspb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( @@ -120,27 +119,27 @@ func (HttpMethod) EnumDescriptor() ([]byte, []int) { // * User-specified throttling: [retry // configuration][google.cloud.tasks.v2.Queue.retry_config], // -// [rate limits][google.cloud.tasks.v2.Queue.rate_limits], and the [queue's -// state][google.cloud.tasks.v2.Queue.state]. +// [rate limits][google.cloud.tasks.v2.Queue.rate_limits], and the [queue's +// state][google.cloud.tasks.v2.Queue.state]. // -// - System throttling: To prevent the worker from overloading, Cloud Tasks may -// temporarily reduce the queue's effective rate. User-specified settings -// will not be changed. +// - System throttling: To prevent the worker from overloading, Cloud Tasks may +// temporarily reduce the queue's effective rate. User-specified settings +// will not be changed. // -// System throttling happens because: +// System throttling happens because: // -// - Cloud Tasks backs off on all errors. Normally the backoff specified in -// [rate limits][google.cloud.tasks.v2.Queue.rate_limits] will be used. But -// if the worker returns `429` (Too Many Requests), `503` (Service -// Unavailable), or the rate of errors is high, Cloud Tasks will use a -// higher backoff rate. The retry specified in the `Retry-After` HTTP -// response header is considered. +// - Cloud Tasks backs off on all errors. Normally the backoff specified in +// [rate limits][google.cloud.tasks.v2.Queue.rate_limits] will be used. But +// if the worker returns `429` (Too Many Requests), `503` (Service +// Unavailable), or the rate of errors is high, Cloud Tasks will use a +// higher backoff rate. The retry specified in the `Retry-After` HTTP +// response header is considered. // -// - To prevent traffic spikes and to smooth sudden increases in traffic, -// dispatches ramp up slowly when the queue is newly created or idle and -// if large numbers of tasks suddenly become available to dispatch (due to -// spikes in create task rates, the queue being unpaused, or many tasks -// that are scheduled at the same time). +// - To prevent traffic spikes and to smooth sudden increases in traffic, +// dispatches ramp up slowly when the queue is newly created or idle and +// if large numbers of tasks suddenly become available to dispatch (due to +// spikes in create task rates, the queue being unpaused, or many tasks +// that are scheduled at the same time). type HttpRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/cloudtasks/apiv2/cloudtaskspb/task.pb.go b/cloudtasks/apiv2/cloudtaskspb/task.pb.go index 60fa20d3d84f..996671f2c2f3 100755 --- a/cloudtasks/apiv2/cloudtaskspb/task.pb.go +++ b/cloudtasks/apiv2/cloudtaskspb/task.pb.go @@ -21,15 +21,14 @@ package cloudtaskspb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/cloudtasks/apiv2beta2/cloudtaskspb/cloudtasks.pb.go b/cloudtasks/apiv2beta2/cloudtaskspb/cloudtasks.pb.go index 5153f2d2c019..d5295df6ac98 100755 --- a/cloudtasks/apiv2beta2/cloudtaskspb/cloudtasks.pb.go +++ b/cloudtasks/apiv2beta2/cloudtaskspb/cloudtasks.pb.go @@ -21,11 +21,8 @@ package cloudtaskspb import ( - context "context" - reflect "reflect" - sync "sync" - iampb "cloud.google.com/go/iam/apiv1/iampb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" httpbody "google.golang.org/genproto/googleapis/api/httpbody" grpc "google.golang.org/grpc" @@ -37,6 +34,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/cloudtasks/apiv2beta2/cloudtaskspb/old_target.pb.go b/cloudtasks/apiv2beta2/cloudtaskspb/old_target.pb.go index 54123be8db51..20c9e24ccb0d 100755 --- a/cloudtasks/apiv2beta2/cloudtaskspb/old_target.pb.go +++ b/cloudtasks/apiv2beta2/cloudtaskspb/old_target.pb.go @@ -21,10 +21,9 @@ package cloudtaskspb import ( - reflect "reflect" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" ) const ( diff --git a/cloudtasks/apiv2beta2/cloudtaskspb/queue.pb.go b/cloudtasks/apiv2beta2/cloudtaskspb/queue.pb.go index cac0dedee497..47893a1741fb 100755 --- a/cloudtasks/apiv2beta2/cloudtaskspb/queue.pb.go +++ b/cloudtasks/apiv2beta2/cloudtaskspb/queue.pb.go @@ -21,14 +21,13 @@ package cloudtaskspb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/cloudtasks/apiv2beta2/cloudtaskspb/target.pb.go b/cloudtasks/apiv2beta2/cloudtaskspb/target.pb.go index 9812440947a1..a263625bbf5c 100755 --- a/cloudtasks/apiv2beta2/cloudtaskspb/target.pb.go +++ b/cloudtasks/apiv2beta2/cloudtaskspb/target.pb.go @@ -21,12 +21,11 @@ package cloudtaskspb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/cloudtasks/apiv2beta2/cloudtaskspb/task.pb.go b/cloudtasks/apiv2beta2/cloudtaskspb/task.pb.go index 56573132582c..5acd766fd3a7 100755 --- a/cloudtasks/apiv2beta2/cloudtaskspb/task.pb.go +++ b/cloudtasks/apiv2beta2/cloudtaskspb/task.pb.go @@ -21,14 +21,13 @@ package cloudtaskspb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/cloudtasks/apiv2beta3/cloudtaskspb/cloudtasks.pb.go b/cloudtasks/apiv2beta3/cloudtaskspb/cloudtasks.pb.go index f658b6249eef..28dedec3211e 100755 --- a/cloudtasks/apiv2beta3/cloudtaskspb/cloudtasks.pb.go +++ b/cloudtasks/apiv2beta3/cloudtaskspb/cloudtasks.pb.go @@ -21,11 +21,8 @@ package cloudtaskspb import ( - context "context" - reflect "reflect" - sync "sync" - iampb "cloud.google.com/go/iam/apiv1/iampb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/cloudtasks/apiv2beta3/cloudtaskspb/queue.pb.go b/cloudtasks/apiv2beta3/cloudtaskspb/queue.pb.go index 395a4e9da549..958e3200e541 100755 --- a/cloudtasks/apiv2beta3/cloudtaskspb/queue.pb.go +++ b/cloudtasks/apiv2beta3/cloudtaskspb/queue.pb.go @@ -21,14 +21,13 @@ package cloudtaskspb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/cloudtasks/apiv2beta3/cloudtaskspb/target.pb.go b/cloudtasks/apiv2beta3/cloudtaskspb/target.pb.go index f5a72498e6f0..c5f8017d7629 100755 --- a/cloudtasks/apiv2beta3/cloudtaskspb/target.pb.go +++ b/cloudtasks/apiv2beta3/cloudtaskspb/target.pb.go @@ -21,11 +21,10 @@ package cloudtaskspb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( @@ -697,27 +696,27 @@ func (*HttpTarget_OidcToken) isHttpTarget_AuthorizationHeader() {} // * User-specified throttling: [retry // configuration][google.cloud.tasks.v2beta3.Queue.retry_config], // -// [rate limits][google.cloud.tasks.v2beta3.Queue.rate_limits], and the -// [queue's state][google.cloud.tasks.v2beta3.Queue.state]. +// [rate limits][google.cloud.tasks.v2beta3.Queue.rate_limits], and the +// [queue's state][google.cloud.tasks.v2beta3.Queue.state]. // -// - System throttling: To prevent the worker from overloading, Cloud Tasks may -// temporarily reduce the queue's effective rate. User-specified settings -// will not be changed. +// - System throttling: To prevent the worker from overloading, Cloud Tasks may +// temporarily reduce the queue's effective rate. User-specified settings +// will not be changed. // -// System throttling happens because: +// System throttling happens because: // -// - Cloud Tasks backs off on all errors. Normally the backoff specified in -// [rate limits][google.cloud.tasks.v2beta3.Queue.rate_limits] will be used. -// But if the worker returns `429` (Too Many Requests), `503` (Service -// Unavailable), or the rate of errors is high, Cloud Tasks will use a -// higher backoff rate. The retry specified in the `Retry-After` HTTP -// response header is considered. +// - Cloud Tasks backs off on all errors. Normally the backoff specified in +// [rate limits][google.cloud.tasks.v2beta3.Queue.rate_limits] will be used. +// But if the worker returns `429` (Too Many Requests), `503` (Service +// Unavailable), or the rate of errors is high, Cloud Tasks will use a +// higher backoff rate. The retry specified in the `Retry-After` HTTP +// response header is considered. // -// - To prevent traffic spikes and to smooth sudden increases in traffic, -// dispatches ramp up slowly when the queue is newly created or idle and -// if large numbers of tasks suddenly become available to dispatch (due to -// spikes in create task rates, the queue being unpaused, or many tasks -// that are scheduled at the same time). +// - To prevent traffic spikes and to smooth sudden increases in traffic, +// dispatches ramp up slowly when the queue is newly created or idle and +// if large numbers of tasks suddenly become available to dispatch (due to +// spikes in create task rates, the queue being unpaused, or many tasks +// that are scheduled at the same time). type HttpRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/cloudtasks/apiv2beta3/cloudtaskspb/task.pb.go b/cloudtasks/apiv2beta3/cloudtaskspb/task.pb.go index a250e8b397b3..9fcfb9dd2008 100755 --- a/cloudtasks/apiv2beta3/cloudtaskspb/task.pb.go +++ b/cloudtasks/apiv2beta3/cloudtaskspb/task.pb.go @@ -21,15 +21,14 @@ package cloudtaskspb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/commerce/consumer/procurement/apiv1/procurementpb/license_management_service.pb.go b/commerce/consumer/procurement/apiv1/procurementpb/license_management_service.pb.go index b6d820cbf467..fe8446e13c18 100755 --- a/commerce/consumer/procurement/apiv1/procurementpb/license_management_service.pb.go +++ b/commerce/consumer/procurement/apiv1/procurementpb/license_management_service.pb.go @@ -22,9 +22,6 @@ package procurementpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( durationpb "google.golang.org/protobuf/types/known/durationpb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/commerce/consumer/procurement/apiv1/procurementpb/order.pb.go b/commerce/consumer/procurement/apiv1/procurementpb/order.pb.go index 09fdb79d05bd..d5454523d292 100755 --- a/commerce/consumer/procurement/apiv1/procurementpb/order.pb.go +++ b/commerce/consumer/procurement/apiv1/procurementpb/order.pb.go @@ -21,13 +21,12 @@ package procurementpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/commerce/consumer/procurement/apiv1/procurementpb/procurement_service.pb.go b/commerce/consumer/procurement/apiv1/procurementpb/procurement_service.pb.go index 1b7d827c9a76..7f98844ffd0c 100755 --- a/commerce/consumer/procurement/apiv1/procurementpb/procurement_service.pb.go +++ b/commerce/consumer/procurement/apiv1/procurementpb/procurement_service.pb.go @@ -21,17 +21,16 @@ package procurementpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/compute/apiv1/computepb/compute.pb.go b/compute/apiv1/computepb/compute.pb.go index 56335a96d242..3d89e4579d60 100755 --- a/compute/apiv1/computepb/compute.pb.go +++ b/compute/apiv1/computepb/compute.pb.go @@ -27,18 +27,13 @@ package computepb import ( - context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" _ "google.golang.org/genproto/googleapis/cloud/extendedops" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" anypb "google.golang.org/protobuf/types/known/anypb" + reflect "reflect" + sync "sync" ) const ( @@ -214560,32685 +214555,3 @@ func file_google_cloud_compute_v1_compute_proto_init() { file_google_cloud_compute_v1_compute_proto_goTypes = nil file_google_cloud_compute_v1_compute_proto_depIdxs = nil } - -// Reference imports to suppress errors if they are not otherwise used. -var _ context.Context -var _ grpc.ClientConnInterface - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion6 - -// AcceleratorTypesClient is the client API for AcceleratorTypes service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type AcceleratorTypesClient interface { - // Retrieves an aggregated list of accelerator types. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. - AggregatedList(ctx context.Context, in *AggregatedListAcceleratorTypesRequest, opts ...grpc.CallOption) (*AcceleratorTypeAggregatedList, error) - // Returns the specified accelerator type. - Get(ctx context.Context, in *GetAcceleratorTypeRequest, opts ...grpc.CallOption) (*AcceleratorType, error) - // Retrieves a list of accelerator types that are available to the specified project. - List(ctx context.Context, in *ListAcceleratorTypesRequest, opts ...grpc.CallOption) (*AcceleratorTypeList, error) -} - -type acceleratorTypesClient struct { - cc grpc.ClientConnInterface -} - -func NewAcceleratorTypesClient(cc grpc.ClientConnInterface) AcceleratorTypesClient { - return &acceleratorTypesClient{cc} -} - -func (c *acceleratorTypesClient) AggregatedList(ctx context.Context, in *AggregatedListAcceleratorTypesRequest, opts ...grpc.CallOption) (*AcceleratorTypeAggregatedList, error) { - out := new(AcceleratorTypeAggregatedList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.AcceleratorTypes/AggregatedList", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *acceleratorTypesClient) Get(ctx context.Context, in *GetAcceleratorTypeRequest, opts ...grpc.CallOption) (*AcceleratorType, error) { - out := new(AcceleratorType) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.AcceleratorTypes/Get", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *acceleratorTypesClient) List(ctx context.Context, in *ListAcceleratorTypesRequest, opts ...grpc.CallOption) (*AcceleratorTypeList, error) { - out := new(AcceleratorTypeList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.AcceleratorTypes/List", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// AcceleratorTypesServer is the server API for AcceleratorTypes service. -type AcceleratorTypesServer interface { - // Retrieves an aggregated list of accelerator types. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. - AggregatedList(context.Context, *AggregatedListAcceleratorTypesRequest) (*AcceleratorTypeAggregatedList, error) - // Returns the specified accelerator type. - Get(context.Context, *GetAcceleratorTypeRequest) (*AcceleratorType, error) - // Retrieves a list of accelerator types that are available to the specified project. - List(context.Context, *ListAcceleratorTypesRequest) (*AcceleratorTypeList, error) -} - -// UnimplementedAcceleratorTypesServer can be embedded to have forward compatible implementations. -type UnimplementedAcceleratorTypesServer struct { -} - -func (*UnimplementedAcceleratorTypesServer) AggregatedList(context.Context, *AggregatedListAcceleratorTypesRequest) (*AcceleratorTypeAggregatedList, error) { - return nil, status.Errorf(codes.Unimplemented, "method AggregatedList not implemented") -} -func (*UnimplementedAcceleratorTypesServer) Get(context.Context, *GetAcceleratorTypeRequest) (*AcceleratorType, error) { - return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") -} -func (*UnimplementedAcceleratorTypesServer) List(context.Context, *ListAcceleratorTypesRequest) (*AcceleratorTypeList, error) { - return nil, status.Errorf(codes.Unimplemented, "method List not implemented") -} - -func RegisterAcceleratorTypesServer(s *grpc.Server, srv AcceleratorTypesServer) { - s.RegisterService(&_AcceleratorTypes_serviceDesc, srv) -} - -func _AcceleratorTypes_AggregatedList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AggregatedListAcceleratorTypesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AcceleratorTypesServer).AggregatedList(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.AcceleratorTypes/AggregatedList", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AcceleratorTypesServer).AggregatedList(ctx, req.(*AggregatedListAcceleratorTypesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AcceleratorTypes_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetAcceleratorTypeRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AcceleratorTypesServer).Get(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.AcceleratorTypes/Get", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AcceleratorTypesServer).Get(ctx, req.(*GetAcceleratorTypeRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AcceleratorTypes_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListAcceleratorTypesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AcceleratorTypesServer).List(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.AcceleratorTypes/List", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AcceleratorTypesServer).List(ctx, req.(*ListAcceleratorTypesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _AcceleratorTypes_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.AcceleratorTypes", - HandlerType: (*AcceleratorTypesServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "AggregatedList", - Handler: _AcceleratorTypes_AggregatedList_Handler, - }, - { - MethodName: "Get", - Handler: _AcceleratorTypes_Get_Handler, - }, - { - MethodName: "List", - Handler: _AcceleratorTypes_List_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} - -// AddressesClient is the client API for Addresses service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type AddressesClient interface { - // Retrieves an aggregated list of addresses. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. - AggregatedList(ctx context.Context, in *AggregatedListAddressesRequest, opts ...grpc.CallOption) (*AddressAggregatedList, error) - // Deletes the specified address resource. - Delete(ctx context.Context, in *DeleteAddressRequest, opts ...grpc.CallOption) (*Operation, error) - // Returns the specified address resource. - Get(ctx context.Context, in *GetAddressRequest, opts ...grpc.CallOption) (*Address, error) - // Creates an address resource in the specified project by using the data included in the request. - Insert(ctx context.Context, in *InsertAddressRequest, opts ...grpc.CallOption) (*Operation, error) - // Retrieves a list of addresses contained within the specified region. - List(ctx context.Context, in *ListAddressesRequest, opts ...grpc.CallOption) (*AddressList, error) - // Moves the specified address resource. - Move(ctx context.Context, in *MoveAddressRequest, opts ...grpc.CallOption) (*Operation, error) - // Sets the labels on an Address. To learn more about labels, read the Labeling Resources documentation. - SetLabels(ctx context.Context, in *SetLabelsAddressRequest, opts ...grpc.CallOption) (*Operation, error) -} - -type addressesClient struct { - cc grpc.ClientConnInterface -} - -func NewAddressesClient(cc grpc.ClientConnInterface) AddressesClient { - return &addressesClient{cc} -} - -func (c *addressesClient) AggregatedList(ctx context.Context, in *AggregatedListAddressesRequest, opts ...grpc.CallOption) (*AddressAggregatedList, error) { - out := new(AddressAggregatedList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Addresses/AggregatedList", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *addressesClient) Delete(ctx context.Context, in *DeleteAddressRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Addresses/Delete", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *addressesClient) Get(ctx context.Context, in *GetAddressRequest, opts ...grpc.CallOption) (*Address, error) { - out := new(Address) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Addresses/Get", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *addressesClient) Insert(ctx context.Context, in *InsertAddressRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Addresses/Insert", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *addressesClient) List(ctx context.Context, in *ListAddressesRequest, opts ...grpc.CallOption) (*AddressList, error) { - out := new(AddressList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Addresses/List", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *addressesClient) Move(ctx context.Context, in *MoveAddressRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Addresses/Move", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *addressesClient) SetLabels(ctx context.Context, in *SetLabelsAddressRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Addresses/SetLabels", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// AddressesServer is the server API for Addresses service. -type AddressesServer interface { - // Retrieves an aggregated list of addresses. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. - AggregatedList(context.Context, *AggregatedListAddressesRequest) (*AddressAggregatedList, error) - // Deletes the specified address resource. - Delete(context.Context, *DeleteAddressRequest) (*Operation, error) - // Returns the specified address resource. - Get(context.Context, *GetAddressRequest) (*Address, error) - // Creates an address resource in the specified project by using the data included in the request. - Insert(context.Context, *InsertAddressRequest) (*Operation, error) - // Retrieves a list of addresses contained within the specified region. - List(context.Context, *ListAddressesRequest) (*AddressList, error) - // Moves the specified address resource. - Move(context.Context, *MoveAddressRequest) (*Operation, error) - // Sets the labels on an Address. To learn more about labels, read the Labeling Resources documentation. - SetLabels(context.Context, *SetLabelsAddressRequest) (*Operation, error) -} - -// UnimplementedAddressesServer can be embedded to have forward compatible implementations. -type UnimplementedAddressesServer struct { -} - -func (*UnimplementedAddressesServer) AggregatedList(context.Context, *AggregatedListAddressesRequest) (*AddressAggregatedList, error) { - return nil, status.Errorf(codes.Unimplemented, "method AggregatedList not implemented") -} -func (*UnimplementedAddressesServer) Delete(context.Context, *DeleteAddressRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") -} -func (*UnimplementedAddressesServer) Get(context.Context, *GetAddressRequest) (*Address, error) { - return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") -} -func (*UnimplementedAddressesServer) Insert(context.Context, *InsertAddressRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Insert not implemented") -} -func (*UnimplementedAddressesServer) List(context.Context, *ListAddressesRequest) (*AddressList, error) { - return nil, status.Errorf(codes.Unimplemented, "method List not implemented") -} -func (*UnimplementedAddressesServer) Move(context.Context, *MoveAddressRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Move not implemented") -} -func (*UnimplementedAddressesServer) SetLabels(context.Context, *SetLabelsAddressRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetLabels not implemented") -} - -func RegisterAddressesServer(s *grpc.Server, srv AddressesServer) { - s.RegisterService(&_Addresses_serviceDesc, srv) -} - -func _Addresses_AggregatedList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AggregatedListAddressesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AddressesServer).AggregatedList(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Addresses/AggregatedList", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AddressesServer).AggregatedList(ctx, req.(*AggregatedListAddressesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Addresses_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteAddressRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AddressesServer).Delete(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Addresses/Delete", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AddressesServer).Delete(ctx, req.(*DeleteAddressRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Addresses_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetAddressRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AddressesServer).Get(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Addresses/Get", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AddressesServer).Get(ctx, req.(*GetAddressRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Addresses_Insert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(InsertAddressRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AddressesServer).Insert(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Addresses/Insert", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AddressesServer).Insert(ctx, req.(*InsertAddressRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Addresses_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListAddressesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AddressesServer).List(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Addresses/List", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AddressesServer).List(ctx, req.(*ListAddressesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Addresses_Move_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MoveAddressRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AddressesServer).Move(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Addresses/Move", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AddressesServer).Move(ctx, req.(*MoveAddressRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Addresses_SetLabels_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetLabelsAddressRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AddressesServer).SetLabels(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Addresses/SetLabels", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AddressesServer).SetLabels(ctx, req.(*SetLabelsAddressRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _Addresses_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.Addresses", - HandlerType: (*AddressesServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "AggregatedList", - Handler: _Addresses_AggregatedList_Handler, - }, - { - MethodName: "Delete", - Handler: _Addresses_Delete_Handler, - }, - { - MethodName: "Get", - Handler: _Addresses_Get_Handler, - }, - { - MethodName: "Insert", - Handler: _Addresses_Insert_Handler, - }, - { - MethodName: "List", - Handler: _Addresses_List_Handler, - }, - { - MethodName: "Move", - Handler: _Addresses_Move_Handler, - }, - { - MethodName: "SetLabels", - Handler: _Addresses_SetLabels_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} - -// AutoscalersClient is the client API for Autoscalers service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type AutoscalersClient interface { - // Retrieves an aggregated list of autoscalers. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. - AggregatedList(ctx context.Context, in *AggregatedListAutoscalersRequest, opts ...grpc.CallOption) (*AutoscalerAggregatedList, error) - // Deletes the specified autoscaler. - Delete(ctx context.Context, in *DeleteAutoscalerRequest, opts ...grpc.CallOption) (*Operation, error) - // Returns the specified autoscaler resource. - Get(ctx context.Context, in *GetAutoscalerRequest, opts ...grpc.CallOption) (*Autoscaler, error) - // Creates an autoscaler in the specified project using the data included in the request. - Insert(ctx context.Context, in *InsertAutoscalerRequest, opts ...grpc.CallOption) (*Operation, error) - // Retrieves a list of autoscalers contained within the specified zone. - List(ctx context.Context, in *ListAutoscalersRequest, opts ...grpc.CallOption) (*AutoscalerList, error) - // Updates an autoscaler in the specified project using the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. - Patch(ctx context.Context, in *PatchAutoscalerRequest, opts ...grpc.CallOption) (*Operation, error) - // Updates an autoscaler in the specified project using the data included in the request. - Update(ctx context.Context, in *UpdateAutoscalerRequest, opts ...grpc.CallOption) (*Operation, error) -} - -type autoscalersClient struct { - cc grpc.ClientConnInterface -} - -func NewAutoscalersClient(cc grpc.ClientConnInterface) AutoscalersClient { - return &autoscalersClient{cc} -} - -func (c *autoscalersClient) AggregatedList(ctx context.Context, in *AggregatedListAutoscalersRequest, opts ...grpc.CallOption) (*AutoscalerAggregatedList, error) { - out := new(AutoscalerAggregatedList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Autoscalers/AggregatedList", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *autoscalersClient) Delete(ctx context.Context, in *DeleteAutoscalerRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Autoscalers/Delete", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *autoscalersClient) Get(ctx context.Context, in *GetAutoscalerRequest, opts ...grpc.CallOption) (*Autoscaler, error) { - out := new(Autoscaler) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Autoscalers/Get", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *autoscalersClient) Insert(ctx context.Context, in *InsertAutoscalerRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Autoscalers/Insert", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *autoscalersClient) List(ctx context.Context, in *ListAutoscalersRequest, opts ...grpc.CallOption) (*AutoscalerList, error) { - out := new(AutoscalerList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Autoscalers/List", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *autoscalersClient) Patch(ctx context.Context, in *PatchAutoscalerRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Autoscalers/Patch", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *autoscalersClient) Update(ctx context.Context, in *UpdateAutoscalerRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Autoscalers/Update", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// AutoscalersServer is the server API for Autoscalers service. -type AutoscalersServer interface { - // Retrieves an aggregated list of autoscalers. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. - AggregatedList(context.Context, *AggregatedListAutoscalersRequest) (*AutoscalerAggregatedList, error) - // Deletes the specified autoscaler. - Delete(context.Context, *DeleteAutoscalerRequest) (*Operation, error) - // Returns the specified autoscaler resource. - Get(context.Context, *GetAutoscalerRequest) (*Autoscaler, error) - // Creates an autoscaler in the specified project using the data included in the request. - Insert(context.Context, *InsertAutoscalerRequest) (*Operation, error) - // Retrieves a list of autoscalers contained within the specified zone. - List(context.Context, *ListAutoscalersRequest) (*AutoscalerList, error) - // Updates an autoscaler in the specified project using the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. - Patch(context.Context, *PatchAutoscalerRequest) (*Operation, error) - // Updates an autoscaler in the specified project using the data included in the request. - Update(context.Context, *UpdateAutoscalerRequest) (*Operation, error) -} - -// UnimplementedAutoscalersServer can be embedded to have forward compatible implementations. -type UnimplementedAutoscalersServer struct { -} - -func (*UnimplementedAutoscalersServer) AggregatedList(context.Context, *AggregatedListAutoscalersRequest) (*AutoscalerAggregatedList, error) { - return nil, status.Errorf(codes.Unimplemented, "method AggregatedList not implemented") -} -func (*UnimplementedAutoscalersServer) Delete(context.Context, *DeleteAutoscalerRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") -} -func (*UnimplementedAutoscalersServer) Get(context.Context, *GetAutoscalerRequest) (*Autoscaler, error) { - return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") -} -func (*UnimplementedAutoscalersServer) Insert(context.Context, *InsertAutoscalerRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Insert not implemented") -} -func (*UnimplementedAutoscalersServer) List(context.Context, *ListAutoscalersRequest) (*AutoscalerList, error) { - return nil, status.Errorf(codes.Unimplemented, "method List not implemented") -} -func (*UnimplementedAutoscalersServer) Patch(context.Context, *PatchAutoscalerRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Patch not implemented") -} -func (*UnimplementedAutoscalersServer) Update(context.Context, *UpdateAutoscalerRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Update not implemented") -} - -func RegisterAutoscalersServer(s *grpc.Server, srv AutoscalersServer) { - s.RegisterService(&_Autoscalers_serviceDesc, srv) -} - -func _Autoscalers_AggregatedList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AggregatedListAutoscalersRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AutoscalersServer).AggregatedList(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Autoscalers/AggregatedList", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AutoscalersServer).AggregatedList(ctx, req.(*AggregatedListAutoscalersRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Autoscalers_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteAutoscalerRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AutoscalersServer).Delete(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Autoscalers/Delete", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AutoscalersServer).Delete(ctx, req.(*DeleteAutoscalerRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Autoscalers_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetAutoscalerRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AutoscalersServer).Get(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Autoscalers/Get", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AutoscalersServer).Get(ctx, req.(*GetAutoscalerRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Autoscalers_Insert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(InsertAutoscalerRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AutoscalersServer).Insert(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Autoscalers/Insert", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AutoscalersServer).Insert(ctx, req.(*InsertAutoscalerRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Autoscalers_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListAutoscalersRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AutoscalersServer).List(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Autoscalers/List", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AutoscalersServer).List(ctx, req.(*ListAutoscalersRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Autoscalers_Patch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PatchAutoscalerRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AutoscalersServer).Patch(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Autoscalers/Patch", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AutoscalersServer).Patch(ctx, req.(*PatchAutoscalerRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Autoscalers_Update_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateAutoscalerRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AutoscalersServer).Update(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Autoscalers/Update", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AutoscalersServer).Update(ctx, req.(*UpdateAutoscalerRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _Autoscalers_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.Autoscalers", - HandlerType: (*AutoscalersServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "AggregatedList", - Handler: _Autoscalers_AggregatedList_Handler, - }, - { - MethodName: "Delete", - Handler: _Autoscalers_Delete_Handler, - }, - { - MethodName: "Get", - Handler: _Autoscalers_Get_Handler, - }, - { - MethodName: "Insert", - Handler: _Autoscalers_Insert_Handler, - }, - { - MethodName: "List", - Handler: _Autoscalers_List_Handler, - }, - { - MethodName: "Patch", - Handler: _Autoscalers_Patch_Handler, - }, - { - MethodName: "Update", - Handler: _Autoscalers_Update_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} - -// BackendBucketsClient is the client API for BackendBuckets service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type BackendBucketsClient interface { - // Adds a key for validating requests with signed URLs for this backend bucket. - AddSignedUrlKey(ctx context.Context, in *AddSignedUrlKeyBackendBucketRequest, opts ...grpc.CallOption) (*Operation, error) - // Deletes the specified BackendBucket resource. - Delete(ctx context.Context, in *DeleteBackendBucketRequest, opts ...grpc.CallOption) (*Operation, error) - // Deletes a key for validating requests with signed URLs for this backend bucket. - DeleteSignedUrlKey(ctx context.Context, in *DeleteSignedUrlKeyBackendBucketRequest, opts ...grpc.CallOption) (*Operation, error) - // Returns the specified BackendBucket resource. - Get(ctx context.Context, in *GetBackendBucketRequest, opts ...grpc.CallOption) (*BackendBucket, error) - // Gets the access control policy for a resource. May be empty if no such policy or resource exists. - GetIamPolicy(ctx context.Context, in *GetIamPolicyBackendBucketRequest, opts ...grpc.CallOption) (*Policy, error) - // Creates a BackendBucket resource in the specified project using the data included in the request. - Insert(ctx context.Context, in *InsertBackendBucketRequest, opts ...grpc.CallOption) (*Operation, error) - // Retrieves the list of BackendBucket resources available to the specified project. - List(ctx context.Context, in *ListBackendBucketsRequest, opts ...grpc.CallOption) (*BackendBucketList, error) - // Updates the specified BackendBucket resource with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. - Patch(ctx context.Context, in *PatchBackendBucketRequest, opts ...grpc.CallOption) (*Operation, error) - // Sets the edge security policy for the specified backend bucket. - SetEdgeSecurityPolicy(ctx context.Context, in *SetEdgeSecurityPolicyBackendBucketRequest, opts ...grpc.CallOption) (*Operation, error) - // Sets the access control policy on the specified resource. Replaces any existing policy. - SetIamPolicy(ctx context.Context, in *SetIamPolicyBackendBucketRequest, opts ...grpc.CallOption) (*Policy, error) - // Returns permissions that a caller has on the specified resource. - TestIamPermissions(ctx context.Context, in *TestIamPermissionsBackendBucketRequest, opts ...grpc.CallOption) (*TestPermissionsResponse, error) - // Updates the specified BackendBucket resource with the data included in the request. - Update(ctx context.Context, in *UpdateBackendBucketRequest, opts ...grpc.CallOption) (*Operation, error) -} - -type backendBucketsClient struct { - cc grpc.ClientConnInterface -} - -func NewBackendBucketsClient(cc grpc.ClientConnInterface) BackendBucketsClient { - return &backendBucketsClient{cc} -} - -func (c *backendBucketsClient) AddSignedUrlKey(ctx context.Context, in *AddSignedUrlKeyBackendBucketRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.BackendBuckets/AddSignedUrlKey", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *backendBucketsClient) Delete(ctx context.Context, in *DeleteBackendBucketRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.BackendBuckets/Delete", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *backendBucketsClient) DeleteSignedUrlKey(ctx context.Context, in *DeleteSignedUrlKeyBackendBucketRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.BackendBuckets/DeleteSignedUrlKey", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *backendBucketsClient) Get(ctx context.Context, in *GetBackendBucketRequest, opts ...grpc.CallOption) (*BackendBucket, error) { - out := new(BackendBucket) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.BackendBuckets/Get", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *backendBucketsClient) GetIamPolicy(ctx context.Context, in *GetIamPolicyBackendBucketRequest, opts ...grpc.CallOption) (*Policy, error) { - out := new(Policy) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.BackendBuckets/GetIamPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *backendBucketsClient) Insert(ctx context.Context, in *InsertBackendBucketRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.BackendBuckets/Insert", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *backendBucketsClient) List(ctx context.Context, in *ListBackendBucketsRequest, opts ...grpc.CallOption) (*BackendBucketList, error) { - out := new(BackendBucketList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.BackendBuckets/List", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *backendBucketsClient) Patch(ctx context.Context, in *PatchBackendBucketRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.BackendBuckets/Patch", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *backendBucketsClient) SetEdgeSecurityPolicy(ctx context.Context, in *SetEdgeSecurityPolicyBackendBucketRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.BackendBuckets/SetEdgeSecurityPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *backendBucketsClient) SetIamPolicy(ctx context.Context, in *SetIamPolicyBackendBucketRequest, opts ...grpc.CallOption) (*Policy, error) { - out := new(Policy) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.BackendBuckets/SetIamPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *backendBucketsClient) TestIamPermissions(ctx context.Context, in *TestIamPermissionsBackendBucketRequest, opts ...grpc.CallOption) (*TestPermissionsResponse, error) { - out := new(TestPermissionsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.BackendBuckets/TestIamPermissions", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *backendBucketsClient) Update(ctx context.Context, in *UpdateBackendBucketRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.BackendBuckets/Update", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// BackendBucketsServer is the server API for BackendBuckets service. -type BackendBucketsServer interface { - // Adds a key for validating requests with signed URLs for this backend bucket. - AddSignedUrlKey(context.Context, *AddSignedUrlKeyBackendBucketRequest) (*Operation, error) - // Deletes the specified BackendBucket resource. - Delete(context.Context, *DeleteBackendBucketRequest) (*Operation, error) - // Deletes a key for validating requests with signed URLs for this backend bucket. - DeleteSignedUrlKey(context.Context, *DeleteSignedUrlKeyBackendBucketRequest) (*Operation, error) - // Returns the specified BackendBucket resource. - Get(context.Context, *GetBackendBucketRequest) (*BackendBucket, error) - // Gets the access control policy for a resource. May be empty if no such policy or resource exists. - GetIamPolicy(context.Context, *GetIamPolicyBackendBucketRequest) (*Policy, error) - // Creates a BackendBucket resource in the specified project using the data included in the request. - Insert(context.Context, *InsertBackendBucketRequest) (*Operation, error) - // Retrieves the list of BackendBucket resources available to the specified project. - List(context.Context, *ListBackendBucketsRequest) (*BackendBucketList, error) - // Updates the specified BackendBucket resource with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. - Patch(context.Context, *PatchBackendBucketRequest) (*Operation, error) - // Sets the edge security policy for the specified backend bucket. - SetEdgeSecurityPolicy(context.Context, *SetEdgeSecurityPolicyBackendBucketRequest) (*Operation, error) - // Sets the access control policy on the specified resource. Replaces any existing policy. - SetIamPolicy(context.Context, *SetIamPolicyBackendBucketRequest) (*Policy, error) - // Returns permissions that a caller has on the specified resource. - TestIamPermissions(context.Context, *TestIamPermissionsBackendBucketRequest) (*TestPermissionsResponse, error) - // Updates the specified BackendBucket resource with the data included in the request. - Update(context.Context, *UpdateBackendBucketRequest) (*Operation, error) -} - -// UnimplementedBackendBucketsServer can be embedded to have forward compatible implementations. -type UnimplementedBackendBucketsServer struct { -} - -func (*UnimplementedBackendBucketsServer) AddSignedUrlKey(context.Context, *AddSignedUrlKeyBackendBucketRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method AddSignedUrlKey not implemented") -} -func (*UnimplementedBackendBucketsServer) Delete(context.Context, *DeleteBackendBucketRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") -} -func (*UnimplementedBackendBucketsServer) DeleteSignedUrlKey(context.Context, *DeleteSignedUrlKeyBackendBucketRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteSignedUrlKey not implemented") -} -func (*UnimplementedBackendBucketsServer) Get(context.Context, *GetBackendBucketRequest) (*BackendBucket, error) { - return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") -} -func (*UnimplementedBackendBucketsServer) GetIamPolicy(context.Context, *GetIamPolicyBackendBucketRequest) (*Policy, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetIamPolicy not implemented") -} -func (*UnimplementedBackendBucketsServer) Insert(context.Context, *InsertBackendBucketRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Insert not implemented") -} -func (*UnimplementedBackendBucketsServer) List(context.Context, *ListBackendBucketsRequest) (*BackendBucketList, error) { - return nil, status.Errorf(codes.Unimplemented, "method List not implemented") -} -func (*UnimplementedBackendBucketsServer) Patch(context.Context, *PatchBackendBucketRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Patch not implemented") -} -func (*UnimplementedBackendBucketsServer) SetEdgeSecurityPolicy(context.Context, *SetEdgeSecurityPolicyBackendBucketRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetEdgeSecurityPolicy not implemented") -} -func (*UnimplementedBackendBucketsServer) SetIamPolicy(context.Context, *SetIamPolicyBackendBucketRequest) (*Policy, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetIamPolicy not implemented") -} -func (*UnimplementedBackendBucketsServer) TestIamPermissions(context.Context, *TestIamPermissionsBackendBucketRequest) (*TestPermissionsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method TestIamPermissions not implemented") -} -func (*UnimplementedBackendBucketsServer) Update(context.Context, *UpdateBackendBucketRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Update not implemented") -} - -func RegisterBackendBucketsServer(s *grpc.Server, srv BackendBucketsServer) { - s.RegisterService(&_BackendBuckets_serviceDesc, srv) -} - -func _BackendBuckets_AddSignedUrlKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AddSignedUrlKeyBackendBucketRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BackendBucketsServer).AddSignedUrlKey(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.BackendBuckets/AddSignedUrlKey", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BackendBucketsServer).AddSignedUrlKey(ctx, req.(*AddSignedUrlKeyBackendBucketRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BackendBuckets_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteBackendBucketRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BackendBucketsServer).Delete(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.BackendBuckets/Delete", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BackendBucketsServer).Delete(ctx, req.(*DeleteBackendBucketRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BackendBuckets_DeleteSignedUrlKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteSignedUrlKeyBackendBucketRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BackendBucketsServer).DeleteSignedUrlKey(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.BackendBuckets/DeleteSignedUrlKey", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BackendBucketsServer).DeleteSignedUrlKey(ctx, req.(*DeleteSignedUrlKeyBackendBucketRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BackendBuckets_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetBackendBucketRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BackendBucketsServer).Get(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.BackendBuckets/Get", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BackendBucketsServer).Get(ctx, req.(*GetBackendBucketRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BackendBuckets_GetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetIamPolicyBackendBucketRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BackendBucketsServer).GetIamPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.BackendBuckets/GetIamPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BackendBucketsServer).GetIamPolicy(ctx, req.(*GetIamPolicyBackendBucketRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BackendBuckets_Insert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(InsertBackendBucketRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BackendBucketsServer).Insert(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.BackendBuckets/Insert", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BackendBucketsServer).Insert(ctx, req.(*InsertBackendBucketRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BackendBuckets_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListBackendBucketsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BackendBucketsServer).List(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.BackendBuckets/List", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BackendBucketsServer).List(ctx, req.(*ListBackendBucketsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BackendBuckets_Patch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PatchBackendBucketRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BackendBucketsServer).Patch(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.BackendBuckets/Patch", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BackendBucketsServer).Patch(ctx, req.(*PatchBackendBucketRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BackendBuckets_SetEdgeSecurityPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetEdgeSecurityPolicyBackendBucketRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BackendBucketsServer).SetEdgeSecurityPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.BackendBuckets/SetEdgeSecurityPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BackendBucketsServer).SetEdgeSecurityPolicy(ctx, req.(*SetEdgeSecurityPolicyBackendBucketRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BackendBuckets_SetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetIamPolicyBackendBucketRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BackendBucketsServer).SetIamPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.BackendBuckets/SetIamPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BackendBucketsServer).SetIamPolicy(ctx, req.(*SetIamPolicyBackendBucketRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BackendBuckets_TestIamPermissions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(TestIamPermissionsBackendBucketRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BackendBucketsServer).TestIamPermissions(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.BackendBuckets/TestIamPermissions", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BackendBucketsServer).TestIamPermissions(ctx, req.(*TestIamPermissionsBackendBucketRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BackendBuckets_Update_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateBackendBucketRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BackendBucketsServer).Update(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.BackendBuckets/Update", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BackendBucketsServer).Update(ctx, req.(*UpdateBackendBucketRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _BackendBuckets_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.BackendBuckets", - HandlerType: (*BackendBucketsServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "AddSignedUrlKey", - Handler: _BackendBuckets_AddSignedUrlKey_Handler, - }, - { - MethodName: "Delete", - Handler: _BackendBuckets_Delete_Handler, - }, - { - MethodName: "DeleteSignedUrlKey", - Handler: _BackendBuckets_DeleteSignedUrlKey_Handler, - }, - { - MethodName: "Get", - Handler: _BackendBuckets_Get_Handler, - }, - { - MethodName: "GetIamPolicy", - Handler: _BackendBuckets_GetIamPolicy_Handler, - }, - { - MethodName: "Insert", - Handler: _BackendBuckets_Insert_Handler, - }, - { - MethodName: "List", - Handler: _BackendBuckets_List_Handler, - }, - { - MethodName: "Patch", - Handler: _BackendBuckets_Patch_Handler, - }, - { - MethodName: "SetEdgeSecurityPolicy", - Handler: _BackendBuckets_SetEdgeSecurityPolicy_Handler, - }, - { - MethodName: "SetIamPolicy", - Handler: _BackendBuckets_SetIamPolicy_Handler, - }, - { - MethodName: "TestIamPermissions", - Handler: _BackendBuckets_TestIamPermissions_Handler, - }, - { - MethodName: "Update", - Handler: _BackendBuckets_Update_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} - -// BackendServicesClient is the client API for BackendServices service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type BackendServicesClient interface { - // Adds a key for validating requests with signed URLs for this backend service. - AddSignedUrlKey(ctx context.Context, in *AddSignedUrlKeyBackendServiceRequest, opts ...grpc.CallOption) (*Operation, error) - // Retrieves the list of all BackendService resources, regional and global, available to the specified project. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. - AggregatedList(ctx context.Context, in *AggregatedListBackendServicesRequest, opts ...grpc.CallOption) (*BackendServiceAggregatedList, error) - // Deletes the specified BackendService resource. - Delete(ctx context.Context, in *DeleteBackendServiceRequest, opts ...grpc.CallOption) (*Operation, error) - // Deletes a key for validating requests with signed URLs for this backend service. - DeleteSignedUrlKey(ctx context.Context, in *DeleteSignedUrlKeyBackendServiceRequest, opts ...grpc.CallOption) (*Operation, error) - // Returns the specified BackendService resource. - Get(ctx context.Context, in *GetBackendServiceRequest, opts ...grpc.CallOption) (*BackendService, error) - // Gets the most recent health check results for this BackendService. Example request body: { "group": "/zones/us-east1-b/instanceGroups/lb-backend-example" } - GetHealth(ctx context.Context, in *GetHealthBackendServiceRequest, opts ...grpc.CallOption) (*BackendServiceGroupHealth, error) - // Gets the access control policy for a resource. May be empty if no such policy or resource exists. - GetIamPolicy(ctx context.Context, in *GetIamPolicyBackendServiceRequest, opts ...grpc.CallOption) (*Policy, error) - // Creates a BackendService resource in the specified project using the data included in the request. For more information, see Backend services overview . - Insert(ctx context.Context, in *InsertBackendServiceRequest, opts ...grpc.CallOption) (*Operation, error) - // Retrieves the list of BackendService resources available to the specified project. - List(ctx context.Context, in *ListBackendServicesRequest, opts ...grpc.CallOption) (*BackendServiceList, error) - // Retrieves an aggregated list of all usable backend services in the specified project. - ListUsable(ctx context.Context, in *ListUsableBackendServicesRequest, opts ...grpc.CallOption) (*BackendServiceListUsable, error) - // Patches the specified BackendService resource with the data included in the request. For more information, see Backend services overview. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. - Patch(ctx context.Context, in *PatchBackendServiceRequest, opts ...grpc.CallOption) (*Operation, error) - // Sets the edge security policy for the specified backend service. - SetEdgeSecurityPolicy(ctx context.Context, in *SetEdgeSecurityPolicyBackendServiceRequest, opts ...grpc.CallOption) (*Operation, error) - // Sets the access control policy on the specified resource. Replaces any existing policy. - SetIamPolicy(ctx context.Context, in *SetIamPolicyBackendServiceRequest, opts ...grpc.CallOption) (*Policy, error) - // Sets the Google Cloud Armor security policy for the specified backend service. For more information, see Google Cloud Armor Overview - SetSecurityPolicy(ctx context.Context, in *SetSecurityPolicyBackendServiceRequest, opts ...grpc.CallOption) (*Operation, error) - // Returns permissions that a caller has on the specified resource. - TestIamPermissions(ctx context.Context, in *TestIamPermissionsBackendServiceRequest, opts ...grpc.CallOption) (*TestPermissionsResponse, error) - // Updates the specified BackendService resource with the data included in the request. For more information, see Backend services overview. - Update(ctx context.Context, in *UpdateBackendServiceRequest, opts ...grpc.CallOption) (*Operation, error) -} - -type backendServicesClient struct { - cc grpc.ClientConnInterface -} - -func NewBackendServicesClient(cc grpc.ClientConnInterface) BackendServicesClient { - return &backendServicesClient{cc} -} - -func (c *backendServicesClient) AddSignedUrlKey(ctx context.Context, in *AddSignedUrlKeyBackendServiceRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.BackendServices/AddSignedUrlKey", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *backendServicesClient) AggregatedList(ctx context.Context, in *AggregatedListBackendServicesRequest, opts ...grpc.CallOption) (*BackendServiceAggregatedList, error) { - out := new(BackendServiceAggregatedList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.BackendServices/AggregatedList", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *backendServicesClient) Delete(ctx context.Context, in *DeleteBackendServiceRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.BackendServices/Delete", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *backendServicesClient) DeleteSignedUrlKey(ctx context.Context, in *DeleteSignedUrlKeyBackendServiceRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.BackendServices/DeleteSignedUrlKey", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *backendServicesClient) Get(ctx context.Context, in *GetBackendServiceRequest, opts ...grpc.CallOption) (*BackendService, error) { - out := new(BackendService) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.BackendServices/Get", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *backendServicesClient) GetHealth(ctx context.Context, in *GetHealthBackendServiceRequest, opts ...grpc.CallOption) (*BackendServiceGroupHealth, error) { - out := new(BackendServiceGroupHealth) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.BackendServices/GetHealth", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *backendServicesClient) GetIamPolicy(ctx context.Context, in *GetIamPolicyBackendServiceRequest, opts ...grpc.CallOption) (*Policy, error) { - out := new(Policy) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.BackendServices/GetIamPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *backendServicesClient) Insert(ctx context.Context, in *InsertBackendServiceRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.BackendServices/Insert", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *backendServicesClient) List(ctx context.Context, in *ListBackendServicesRequest, opts ...grpc.CallOption) (*BackendServiceList, error) { - out := new(BackendServiceList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.BackendServices/List", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *backendServicesClient) ListUsable(ctx context.Context, in *ListUsableBackendServicesRequest, opts ...grpc.CallOption) (*BackendServiceListUsable, error) { - out := new(BackendServiceListUsable) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.BackendServices/ListUsable", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *backendServicesClient) Patch(ctx context.Context, in *PatchBackendServiceRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.BackendServices/Patch", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *backendServicesClient) SetEdgeSecurityPolicy(ctx context.Context, in *SetEdgeSecurityPolicyBackendServiceRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.BackendServices/SetEdgeSecurityPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *backendServicesClient) SetIamPolicy(ctx context.Context, in *SetIamPolicyBackendServiceRequest, opts ...grpc.CallOption) (*Policy, error) { - out := new(Policy) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.BackendServices/SetIamPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *backendServicesClient) SetSecurityPolicy(ctx context.Context, in *SetSecurityPolicyBackendServiceRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.BackendServices/SetSecurityPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *backendServicesClient) TestIamPermissions(ctx context.Context, in *TestIamPermissionsBackendServiceRequest, opts ...grpc.CallOption) (*TestPermissionsResponse, error) { - out := new(TestPermissionsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.BackendServices/TestIamPermissions", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *backendServicesClient) Update(ctx context.Context, in *UpdateBackendServiceRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.BackendServices/Update", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// BackendServicesServer is the server API for BackendServices service. -type BackendServicesServer interface { - // Adds a key for validating requests with signed URLs for this backend service. - AddSignedUrlKey(context.Context, *AddSignedUrlKeyBackendServiceRequest) (*Operation, error) - // Retrieves the list of all BackendService resources, regional and global, available to the specified project. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. - AggregatedList(context.Context, *AggregatedListBackendServicesRequest) (*BackendServiceAggregatedList, error) - // Deletes the specified BackendService resource. - Delete(context.Context, *DeleteBackendServiceRequest) (*Operation, error) - // Deletes a key for validating requests with signed URLs for this backend service. - DeleteSignedUrlKey(context.Context, *DeleteSignedUrlKeyBackendServiceRequest) (*Operation, error) - // Returns the specified BackendService resource. - Get(context.Context, *GetBackendServiceRequest) (*BackendService, error) - // Gets the most recent health check results for this BackendService. Example request body: { "group": "/zones/us-east1-b/instanceGroups/lb-backend-example" } - GetHealth(context.Context, *GetHealthBackendServiceRequest) (*BackendServiceGroupHealth, error) - // Gets the access control policy for a resource. May be empty if no such policy or resource exists. - GetIamPolicy(context.Context, *GetIamPolicyBackendServiceRequest) (*Policy, error) - // Creates a BackendService resource in the specified project using the data included in the request. For more information, see Backend services overview . - Insert(context.Context, *InsertBackendServiceRequest) (*Operation, error) - // Retrieves the list of BackendService resources available to the specified project. - List(context.Context, *ListBackendServicesRequest) (*BackendServiceList, error) - // Retrieves an aggregated list of all usable backend services in the specified project. - ListUsable(context.Context, *ListUsableBackendServicesRequest) (*BackendServiceListUsable, error) - // Patches the specified BackendService resource with the data included in the request. For more information, see Backend services overview. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. - Patch(context.Context, *PatchBackendServiceRequest) (*Operation, error) - // Sets the edge security policy for the specified backend service. - SetEdgeSecurityPolicy(context.Context, *SetEdgeSecurityPolicyBackendServiceRequest) (*Operation, error) - // Sets the access control policy on the specified resource. Replaces any existing policy. - SetIamPolicy(context.Context, *SetIamPolicyBackendServiceRequest) (*Policy, error) - // Sets the Google Cloud Armor security policy for the specified backend service. For more information, see Google Cloud Armor Overview - SetSecurityPolicy(context.Context, *SetSecurityPolicyBackendServiceRequest) (*Operation, error) - // Returns permissions that a caller has on the specified resource. - TestIamPermissions(context.Context, *TestIamPermissionsBackendServiceRequest) (*TestPermissionsResponse, error) - // Updates the specified BackendService resource with the data included in the request. For more information, see Backend services overview. - Update(context.Context, *UpdateBackendServiceRequest) (*Operation, error) -} - -// UnimplementedBackendServicesServer can be embedded to have forward compatible implementations. -type UnimplementedBackendServicesServer struct { -} - -func (*UnimplementedBackendServicesServer) AddSignedUrlKey(context.Context, *AddSignedUrlKeyBackendServiceRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method AddSignedUrlKey not implemented") -} -func (*UnimplementedBackendServicesServer) AggregatedList(context.Context, *AggregatedListBackendServicesRequest) (*BackendServiceAggregatedList, error) { - return nil, status.Errorf(codes.Unimplemented, "method AggregatedList not implemented") -} -func (*UnimplementedBackendServicesServer) Delete(context.Context, *DeleteBackendServiceRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") -} -func (*UnimplementedBackendServicesServer) DeleteSignedUrlKey(context.Context, *DeleteSignedUrlKeyBackendServiceRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteSignedUrlKey not implemented") -} -func (*UnimplementedBackendServicesServer) Get(context.Context, *GetBackendServiceRequest) (*BackendService, error) { - return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") -} -func (*UnimplementedBackendServicesServer) GetHealth(context.Context, *GetHealthBackendServiceRequest) (*BackendServiceGroupHealth, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetHealth not implemented") -} -func (*UnimplementedBackendServicesServer) GetIamPolicy(context.Context, *GetIamPolicyBackendServiceRequest) (*Policy, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetIamPolicy not implemented") -} -func (*UnimplementedBackendServicesServer) Insert(context.Context, *InsertBackendServiceRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Insert not implemented") -} -func (*UnimplementedBackendServicesServer) List(context.Context, *ListBackendServicesRequest) (*BackendServiceList, error) { - return nil, status.Errorf(codes.Unimplemented, "method List not implemented") -} -func (*UnimplementedBackendServicesServer) ListUsable(context.Context, *ListUsableBackendServicesRequest) (*BackendServiceListUsable, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListUsable not implemented") -} -func (*UnimplementedBackendServicesServer) Patch(context.Context, *PatchBackendServiceRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Patch not implemented") -} -func (*UnimplementedBackendServicesServer) SetEdgeSecurityPolicy(context.Context, *SetEdgeSecurityPolicyBackendServiceRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetEdgeSecurityPolicy not implemented") -} -func (*UnimplementedBackendServicesServer) SetIamPolicy(context.Context, *SetIamPolicyBackendServiceRequest) (*Policy, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetIamPolicy not implemented") -} -func (*UnimplementedBackendServicesServer) SetSecurityPolicy(context.Context, *SetSecurityPolicyBackendServiceRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetSecurityPolicy not implemented") -} -func (*UnimplementedBackendServicesServer) TestIamPermissions(context.Context, *TestIamPermissionsBackendServiceRequest) (*TestPermissionsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method TestIamPermissions not implemented") -} -func (*UnimplementedBackendServicesServer) Update(context.Context, *UpdateBackendServiceRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Update not implemented") -} - -func RegisterBackendServicesServer(s *grpc.Server, srv BackendServicesServer) { - s.RegisterService(&_BackendServices_serviceDesc, srv) -} - -func _BackendServices_AddSignedUrlKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AddSignedUrlKeyBackendServiceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BackendServicesServer).AddSignedUrlKey(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.BackendServices/AddSignedUrlKey", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BackendServicesServer).AddSignedUrlKey(ctx, req.(*AddSignedUrlKeyBackendServiceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BackendServices_AggregatedList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AggregatedListBackendServicesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BackendServicesServer).AggregatedList(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.BackendServices/AggregatedList", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BackendServicesServer).AggregatedList(ctx, req.(*AggregatedListBackendServicesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BackendServices_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteBackendServiceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BackendServicesServer).Delete(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.BackendServices/Delete", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BackendServicesServer).Delete(ctx, req.(*DeleteBackendServiceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BackendServices_DeleteSignedUrlKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteSignedUrlKeyBackendServiceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BackendServicesServer).DeleteSignedUrlKey(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.BackendServices/DeleteSignedUrlKey", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BackendServicesServer).DeleteSignedUrlKey(ctx, req.(*DeleteSignedUrlKeyBackendServiceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BackendServices_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetBackendServiceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BackendServicesServer).Get(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.BackendServices/Get", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BackendServicesServer).Get(ctx, req.(*GetBackendServiceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BackendServices_GetHealth_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetHealthBackendServiceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BackendServicesServer).GetHealth(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.BackendServices/GetHealth", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BackendServicesServer).GetHealth(ctx, req.(*GetHealthBackendServiceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BackendServices_GetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetIamPolicyBackendServiceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BackendServicesServer).GetIamPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.BackendServices/GetIamPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BackendServicesServer).GetIamPolicy(ctx, req.(*GetIamPolicyBackendServiceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BackendServices_Insert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(InsertBackendServiceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BackendServicesServer).Insert(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.BackendServices/Insert", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BackendServicesServer).Insert(ctx, req.(*InsertBackendServiceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BackendServices_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListBackendServicesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BackendServicesServer).List(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.BackendServices/List", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BackendServicesServer).List(ctx, req.(*ListBackendServicesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BackendServices_ListUsable_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListUsableBackendServicesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BackendServicesServer).ListUsable(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.BackendServices/ListUsable", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BackendServicesServer).ListUsable(ctx, req.(*ListUsableBackendServicesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BackendServices_Patch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PatchBackendServiceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BackendServicesServer).Patch(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.BackendServices/Patch", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BackendServicesServer).Patch(ctx, req.(*PatchBackendServiceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BackendServices_SetEdgeSecurityPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetEdgeSecurityPolicyBackendServiceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BackendServicesServer).SetEdgeSecurityPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.BackendServices/SetEdgeSecurityPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BackendServicesServer).SetEdgeSecurityPolicy(ctx, req.(*SetEdgeSecurityPolicyBackendServiceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BackendServices_SetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetIamPolicyBackendServiceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BackendServicesServer).SetIamPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.BackendServices/SetIamPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BackendServicesServer).SetIamPolicy(ctx, req.(*SetIamPolicyBackendServiceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BackendServices_SetSecurityPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetSecurityPolicyBackendServiceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BackendServicesServer).SetSecurityPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.BackendServices/SetSecurityPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BackendServicesServer).SetSecurityPolicy(ctx, req.(*SetSecurityPolicyBackendServiceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BackendServices_TestIamPermissions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(TestIamPermissionsBackendServiceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BackendServicesServer).TestIamPermissions(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.BackendServices/TestIamPermissions", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BackendServicesServer).TestIamPermissions(ctx, req.(*TestIamPermissionsBackendServiceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BackendServices_Update_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateBackendServiceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BackendServicesServer).Update(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.BackendServices/Update", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BackendServicesServer).Update(ctx, req.(*UpdateBackendServiceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _BackendServices_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.BackendServices", - HandlerType: (*BackendServicesServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "AddSignedUrlKey", - Handler: _BackendServices_AddSignedUrlKey_Handler, - }, - { - MethodName: "AggregatedList", - Handler: _BackendServices_AggregatedList_Handler, - }, - { - MethodName: "Delete", - Handler: _BackendServices_Delete_Handler, - }, - { - MethodName: "DeleteSignedUrlKey", - Handler: _BackendServices_DeleteSignedUrlKey_Handler, - }, - { - MethodName: "Get", - Handler: _BackendServices_Get_Handler, - }, - { - MethodName: "GetHealth", - Handler: _BackendServices_GetHealth_Handler, - }, - { - MethodName: "GetIamPolicy", - Handler: _BackendServices_GetIamPolicy_Handler, - }, - { - MethodName: "Insert", - Handler: _BackendServices_Insert_Handler, - }, - { - MethodName: "List", - Handler: _BackendServices_List_Handler, - }, - { - MethodName: "ListUsable", - Handler: _BackendServices_ListUsable_Handler, - }, - { - MethodName: "Patch", - Handler: _BackendServices_Patch_Handler, - }, - { - MethodName: "SetEdgeSecurityPolicy", - Handler: _BackendServices_SetEdgeSecurityPolicy_Handler, - }, - { - MethodName: "SetIamPolicy", - Handler: _BackendServices_SetIamPolicy_Handler, - }, - { - MethodName: "SetSecurityPolicy", - Handler: _BackendServices_SetSecurityPolicy_Handler, - }, - { - MethodName: "TestIamPermissions", - Handler: _BackendServices_TestIamPermissions_Handler, - }, - { - MethodName: "Update", - Handler: _BackendServices_Update_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} - -// DiskTypesClient is the client API for DiskTypes service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type DiskTypesClient interface { - // Retrieves an aggregated list of disk types. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. - AggregatedList(ctx context.Context, in *AggregatedListDiskTypesRequest, opts ...grpc.CallOption) (*DiskTypeAggregatedList, error) - // Returns the specified disk type. - Get(ctx context.Context, in *GetDiskTypeRequest, opts ...grpc.CallOption) (*DiskType, error) - // Retrieves a list of disk types available to the specified project. - List(ctx context.Context, in *ListDiskTypesRequest, opts ...grpc.CallOption) (*DiskTypeList, error) -} - -type diskTypesClient struct { - cc grpc.ClientConnInterface -} - -func NewDiskTypesClient(cc grpc.ClientConnInterface) DiskTypesClient { - return &diskTypesClient{cc} -} - -func (c *diskTypesClient) AggregatedList(ctx context.Context, in *AggregatedListDiskTypesRequest, opts ...grpc.CallOption) (*DiskTypeAggregatedList, error) { - out := new(DiskTypeAggregatedList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.DiskTypes/AggregatedList", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *diskTypesClient) Get(ctx context.Context, in *GetDiskTypeRequest, opts ...grpc.CallOption) (*DiskType, error) { - out := new(DiskType) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.DiskTypes/Get", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *diskTypesClient) List(ctx context.Context, in *ListDiskTypesRequest, opts ...grpc.CallOption) (*DiskTypeList, error) { - out := new(DiskTypeList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.DiskTypes/List", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// DiskTypesServer is the server API for DiskTypes service. -type DiskTypesServer interface { - // Retrieves an aggregated list of disk types. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. - AggregatedList(context.Context, *AggregatedListDiskTypesRequest) (*DiskTypeAggregatedList, error) - // Returns the specified disk type. - Get(context.Context, *GetDiskTypeRequest) (*DiskType, error) - // Retrieves a list of disk types available to the specified project. - List(context.Context, *ListDiskTypesRequest) (*DiskTypeList, error) -} - -// UnimplementedDiskTypesServer can be embedded to have forward compatible implementations. -type UnimplementedDiskTypesServer struct { -} - -func (*UnimplementedDiskTypesServer) AggregatedList(context.Context, *AggregatedListDiskTypesRequest) (*DiskTypeAggregatedList, error) { - return nil, status.Errorf(codes.Unimplemented, "method AggregatedList not implemented") -} -func (*UnimplementedDiskTypesServer) Get(context.Context, *GetDiskTypeRequest) (*DiskType, error) { - return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") -} -func (*UnimplementedDiskTypesServer) List(context.Context, *ListDiskTypesRequest) (*DiskTypeList, error) { - return nil, status.Errorf(codes.Unimplemented, "method List not implemented") -} - -func RegisterDiskTypesServer(s *grpc.Server, srv DiskTypesServer) { - s.RegisterService(&_DiskTypes_serviceDesc, srv) -} - -func _DiskTypes_AggregatedList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AggregatedListDiskTypesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DiskTypesServer).AggregatedList(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.DiskTypes/AggregatedList", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DiskTypesServer).AggregatedList(ctx, req.(*AggregatedListDiskTypesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DiskTypes_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetDiskTypeRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DiskTypesServer).Get(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.DiskTypes/Get", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DiskTypesServer).Get(ctx, req.(*GetDiskTypeRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DiskTypes_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListDiskTypesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DiskTypesServer).List(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.DiskTypes/List", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DiskTypesServer).List(ctx, req.(*ListDiskTypesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _DiskTypes_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.DiskTypes", - HandlerType: (*DiskTypesServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "AggregatedList", - Handler: _DiskTypes_AggregatedList_Handler, - }, - { - MethodName: "Get", - Handler: _DiskTypes_Get_Handler, - }, - { - MethodName: "List", - Handler: _DiskTypes_List_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} - -// DisksClient is the client API for Disks service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type DisksClient interface { - // Adds existing resource policies to a disk. You can only add one policy which will be applied to this disk for scheduling snapshot creation. - AddResourcePolicies(ctx context.Context, in *AddResourcePoliciesDiskRequest, opts ...grpc.CallOption) (*Operation, error) - // Retrieves an aggregated list of persistent disks. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. - AggregatedList(ctx context.Context, in *AggregatedListDisksRequest, opts ...grpc.CallOption) (*DiskAggregatedList, error) - // Bulk create a set of disks. - BulkInsert(ctx context.Context, in *BulkInsertDiskRequest, opts ...grpc.CallOption) (*Operation, error) - // Creates a snapshot of a specified persistent disk. For regular snapshot creation, consider using snapshots.insert instead, as that method supports more features, such as creating snapshots in a project different from the source disk project. - CreateSnapshot(ctx context.Context, in *CreateSnapshotDiskRequest, opts ...grpc.CallOption) (*Operation, error) - // Deletes the specified persistent disk. Deleting a disk removes its data permanently and is irreversible. However, deleting a disk does not delete any snapshots previously made from the disk. You must separately delete snapshots. - Delete(ctx context.Context, in *DeleteDiskRequest, opts ...grpc.CallOption) (*Operation, error) - // Returns the specified persistent disk. - Get(ctx context.Context, in *GetDiskRequest, opts ...grpc.CallOption) (*Disk, error) - // Gets the access control policy for a resource. May be empty if no such policy or resource exists. - GetIamPolicy(ctx context.Context, in *GetIamPolicyDiskRequest, opts ...grpc.CallOption) (*Policy, error) - // Creates a persistent disk in the specified project using the data in the request. You can create a disk from a source (sourceImage, sourceSnapshot, or sourceDisk) or create an empty 500 GB data disk by omitting all properties. You can also create a disk that is larger than the default size by specifying the sizeGb property. - Insert(ctx context.Context, in *InsertDiskRequest, opts ...grpc.CallOption) (*Operation, error) - // Retrieves a list of persistent disks contained within the specified zone. - List(ctx context.Context, in *ListDisksRequest, opts ...grpc.CallOption) (*DiskList, error) - // Removes resource policies from a disk. - RemoveResourcePolicies(ctx context.Context, in *RemoveResourcePoliciesDiskRequest, opts ...grpc.CallOption) (*Operation, error) - // Resizes the specified persistent disk. You can only increase the size of the disk. - Resize(ctx context.Context, in *ResizeDiskRequest, opts ...grpc.CallOption) (*Operation, error) - // Sets the access control policy on the specified resource. Replaces any existing policy. - SetIamPolicy(ctx context.Context, in *SetIamPolicyDiskRequest, opts ...grpc.CallOption) (*Policy, error) - // Sets the labels on a disk. To learn more about labels, read the Labeling Resources documentation. - SetLabels(ctx context.Context, in *SetLabelsDiskRequest, opts ...grpc.CallOption) (*Operation, error) - // Starts asynchronous replication. Must be invoked on the primary disk. - StartAsyncReplication(ctx context.Context, in *StartAsyncReplicationDiskRequest, opts ...grpc.CallOption) (*Operation, error) - // Stops asynchronous replication. Can be invoked either on the primary or on the secondary disk. - StopAsyncReplication(ctx context.Context, in *StopAsyncReplicationDiskRequest, opts ...grpc.CallOption) (*Operation, error) - // Stops asynchronous replication for a consistency group of disks. Can be invoked either in the primary or secondary scope. - StopGroupAsyncReplication(ctx context.Context, in *StopGroupAsyncReplicationDiskRequest, opts ...grpc.CallOption) (*Operation, error) - // Returns permissions that a caller has on the specified resource. - TestIamPermissions(ctx context.Context, in *TestIamPermissionsDiskRequest, opts ...grpc.CallOption) (*TestPermissionsResponse, error) - // Updates the specified disk with the data included in the request. The update is performed only on selected fields included as part of update-mask. Only the following fields can be modified: user_license. - Update(ctx context.Context, in *UpdateDiskRequest, opts ...grpc.CallOption) (*Operation, error) -} - -type disksClient struct { - cc grpc.ClientConnInterface -} - -func NewDisksClient(cc grpc.ClientConnInterface) DisksClient { - return &disksClient{cc} -} - -func (c *disksClient) AddResourcePolicies(ctx context.Context, in *AddResourcePoliciesDiskRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Disks/AddResourcePolicies", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *disksClient) AggregatedList(ctx context.Context, in *AggregatedListDisksRequest, opts ...grpc.CallOption) (*DiskAggregatedList, error) { - out := new(DiskAggregatedList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Disks/AggregatedList", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *disksClient) BulkInsert(ctx context.Context, in *BulkInsertDiskRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Disks/BulkInsert", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *disksClient) CreateSnapshot(ctx context.Context, in *CreateSnapshotDiskRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Disks/CreateSnapshot", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *disksClient) Delete(ctx context.Context, in *DeleteDiskRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Disks/Delete", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *disksClient) Get(ctx context.Context, in *GetDiskRequest, opts ...grpc.CallOption) (*Disk, error) { - out := new(Disk) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Disks/Get", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *disksClient) GetIamPolicy(ctx context.Context, in *GetIamPolicyDiskRequest, opts ...grpc.CallOption) (*Policy, error) { - out := new(Policy) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Disks/GetIamPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *disksClient) Insert(ctx context.Context, in *InsertDiskRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Disks/Insert", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *disksClient) List(ctx context.Context, in *ListDisksRequest, opts ...grpc.CallOption) (*DiskList, error) { - out := new(DiskList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Disks/List", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *disksClient) RemoveResourcePolicies(ctx context.Context, in *RemoveResourcePoliciesDiskRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Disks/RemoveResourcePolicies", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *disksClient) Resize(ctx context.Context, in *ResizeDiskRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Disks/Resize", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *disksClient) SetIamPolicy(ctx context.Context, in *SetIamPolicyDiskRequest, opts ...grpc.CallOption) (*Policy, error) { - out := new(Policy) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Disks/SetIamPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *disksClient) SetLabels(ctx context.Context, in *SetLabelsDiskRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Disks/SetLabels", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *disksClient) StartAsyncReplication(ctx context.Context, in *StartAsyncReplicationDiskRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Disks/StartAsyncReplication", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *disksClient) StopAsyncReplication(ctx context.Context, in *StopAsyncReplicationDiskRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Disks/StopAsyncReplication", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *disksClient) StopGroupAsyncReplication(ctx context.Context, in *StopGroupAsyncReplicationDiskRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Disks/StopGroupAsyncReplication", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *disksClient) TestIamPermissions(ctx context.Context, in *TestIamPermissionsDiskRequest, opts ...grpc.CallOption) (*TestPermissionsResponse, error) { - out := new(TestPermissionsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Disks/TestIamPermissions", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *disksClient) Update(ctx context.Context, in *UpdateDiskRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Disks/Update", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// DisksServer is the server API for Disks service. -type DisksServer interface { - // Adds existing resource policies to a disk. You can only add one policy which will be applied to this disk for scheduling snapshot creation. - AddResourcePolicies(context.Context, *AddResourcePoliciesDiskRequest) (*Operation, error) - // Retrieves an aggregated list of persistent disks. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. - AggregatedList(context.Context, *AggregatedListDisksRequest) (*DiskAggregatedList, error) - // Bulk create a set of disks. - BulkInsert(context.Context, *BulkInsertDiskRequest) (*Operation, error) - // Creates a snapshot of a specified persistent disk. For regular snapshot creation, consider using snapshots.insert instead, as that method supports more features, such as creating snapshots in a project different from the source disk project. - CreateSnapshot(context.Context, *CreateSnapshotDiskRequest) (*Operation, error) - // Deletes the specified persistent disk. Deleting a disk removes its data permanently and is irreversible. However, deleting a disk does not delete any snapshots previously made from the disk. You must separately delete snapshots. - Delete(context.Context, *DeleteDiskRequest) (*Operation, error) - // Returns the specified persistent disk. - Get(context.Context, *GetDiskRequest) (*Disk, error) - // Gets the access control policy for a resource. May be empty if no such policy or resource exists. - GetIamPolicy(context.Context, *GetIamPolicyDiskRequest) (*Policy, error) - // Creates a persistent disk in the specified project using the data in the request. You can create a disk from a source (sourceImage, sourceSnapshot, or sourceDisk) or create an empty 500 GB data disk by omitting all properties. You can also create a disk that is larger than the default size by specifying the sizeGb property. - Insert(context.Context, *InsertDiskRequest) (*Operation, error) - // Retrieves a list of persistent disks contained within the specified zone. - List(context.Context, *ListDisksRequest) (*DiskList, error) - // Removes resource policies from a disk. - RemoveResourcePolicies(context.Context, *RemoveResourcePoliciesDiskRequest) (*Operation, error) - // Resizes the specified persistent disk. You can only increase the size of the disk. - Resize(context.Context, *ResizeDiskRequest) (*Operation, error) - // Sets the access control policy on the specified resource. Replaces any existing policy. - SetIamPolicy(context.Context, *SetIamPolicyDiskRequest) (*Policy, error) - // Sets the labels on a disk. To learn more about labels, read the Labeling Resources documentation. - SetLabels(context.Context, *SetLabelsDiskRequest) (*Operation, error) - // Starts asynchronous replication. Must be invoked on the primary disk. - StartAsyncReplication(context.Context, *StartAsyncReplicationDiskRequest) (*Operation, error) - // Stops asynchronous replication. Can be invoked either on the primary or on the secondary disk. - StopAsyncReplication(context.Context, *StopAsyncReplicationDiskRequest) (*Operation, error) - // Stops asynchronous replication for a consistency group of disks. Can be invoked either in the primary or secondary scope. - StopGroupAsyncReplication(context.Context, *StopGroupAsyncReplicationDiskRequest) (*Operation, error) - // Returns permissions that a caller has on the specified resource. - TestIamPermissions(context.Context, *TestIamPermissionsDiskRequest) (*TestPermissionsResponse, error) - // Updates the specified disk with the data included in the request. The update is performed only on selected fields included as part of update-mask. Only the following fields can be modified: user_license. - Update(context.Context, *UpdateDiskRequest) (*Operation, error) -} - -// UnimplementedDisksServer can be embedded to have forward compatible implementations. -type UnimplementedDisksServer struct { -} - -func (*UnimplementedDisksServer) AddResourcePolicies(context.Context, *AddResourcePoliciesDiskRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method AddResourcePolicies not implemented") -} -func (*UnimplementedDisksServer) AggregatedList(context.Context, *AggregatedListDisksRequest) (*DiskAggregatedList, error) { - return nil, status.Errorf(codes.Unimplemented, "method AggregatedList not implemented") -} -func (*UnimplementedDisksServer) BulkInsert(context.Context, *BulkInsertDiskRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method BulkInsert not implemented") -} -func (*UnimplementedDisksServer) CreateSnapshot(context.Context, *CreateSnapshotDiskRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateSnapshot not implemented") -} -func (*UnimplementedDisksServer) Delete(context.Context, *DeleteDiskRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") -} -func (*UnimplementedDisksServer) Get(context.Context, *GetDiskRequest) (*Disk, error) { - return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") -} -func (*UnimplementedDisksServer) GetIamPolicy(context.Context, *GetIamPolicyDiskRequest) (*Policy, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetIamPolicy not implemented") -} -func (*UnimplementedDisksServer) Insert(context.Context, *InsertDiskRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Insert not implemented") -} -func (*UnimplementedDisksServer) List(context.Context, *ListDisksRequest) (*DiskList, error) { - return nil, status.Errorf(codes.Unimplemented, "method List not implemented") -} -func (*UnimplementedDisksServer) RemoveResourcePolicies(context.Context, *RemoveResourcePoliciesDiskRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method RemoveResourcePolicies not implemented") -} -func (*UnimplementedDisksServer) Resize(context.Context, *ResizeDiskRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Resize not implemented") -} -func (*UnimplementedDisksServer) SetIamPolicy(context.Context, *SetIamPolicyDiskRequest) (*Policy, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetIamPolicy not implemented") -} -func (*UnimplementedDisksServer) SetLabels(context.Context, *SetLabelsDiskRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetLabels not implemented") -} -func (*UnimplementedDisksServer) StartAsyncReplication(context.Context, *StartAsyncReplicationDiskRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method StartAsyncReplication not implemented") -} -func (*UnimplementedDisksServer) StopAsyncReplication(context.Context, *StopAsyncReplicationDiskRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method StopAsyncReplication not implemented") -} -func (*UnimplementedDisksServer) StopGroupAsyncReplication(context.Context, *StopGroupAsyncReplicationDiskRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method StopGroupAsyncReplication not implemented") -} -func (*UnimplementedDisksServer) TestIamPermissions(context.Context, *TestIamPermissionsDiskRequest) (*TestPermissionsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method TestIamPermissions not implemented") -} -func (*UnimplementedDisksServer) Update(context.Context, *UpdateDiskRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Update not implemented") -} - -func RegisterDisksServer(s *grpc.Server, srv DisksServer) { - s.RegisterService(&_Disks_serviceDesc, srv) -} - -func _Disks_AddResourcePolicies_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AddResourcePoliciesDiskRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DisksServer).AddResourcePolicies(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Disks/AddResourcePolicies", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DisksServer).AddResourcePolicies(ctx, req.(*AddResourcePoliciesDiskRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Disks_AggregatedList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AggregatedListDisksRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DisksServer).AggregatedList(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Disks/AggregatedList", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DisksServer).AggregatedList(ctx, req.(*AggregatedListDisksRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Disks_BulkInsert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(BulkInsertDiskRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DisksServer).BulkInsert(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Disks/BulkInsert", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DisksServer).BulkInsert(ctx, req.(*BulkInsertDiskRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Disks_CreateSnapshot_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateSnapshotDiskRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DisksServer).CreateSnapshot(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Disks/CreateSnapshot", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DisksServer).CreateSnapshot(ctx, req.(*CreateSnapshotDiskRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Disks_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteDiskRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DisksServer).Delete(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Disks/Delete", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DisksServer).Delete(ctx, req.(*DeleteDiskRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Disks_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetDiskRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DisksServer).Get(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Disks/Get", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DisksServer).Get(ctx, req.(*GetDiskRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Disks_GetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetIamPolicyDiskRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DisksServer).GetIamPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Disks/GetIamPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DisksServer).GetIamPolicy(ctx, req.(*GetIamPolicyDiskRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Disks_Insert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(InsertDiskRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DisksServer).Insert(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Disks/Insert", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DisksServer).Insert(ctx, req.(*InsertDiskRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Disks_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListDisksRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DisksServer).List(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Disks/List", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DisksServer).List(ctx, req.(*ListDisksRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Disks_RemoveResourcePolicies_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RemoveResourcePoliciesDiskRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DisksServer).RemoveResourcePolicies(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Disks/RemoveResourcePolicies", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DisksServer).RemoveResourcePolicies(ctx, req.(*RemoveResourcePoliciesDiskRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Disks_Resize_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ResizeDiskRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DisksServer).Resize(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Disks/Resize", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DisksServer).Resize(ctx, req.(*ResizeDiskRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Disks_SetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetIamPolicyDiskRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DisksServer).SetIamPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Disks/SetIamPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DisksServer).SetIamPolicy(ctx, req.(*SetIamPolicyDiskRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Disks_SetLabels_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetLabelsDiskRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DisksServer).SetLabels(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Disks/SetLabels", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DisksServer).SetLabels(ctx, req.(*SetLabelsDiskRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Disks_StartAsyncReplication_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(StartAsyncReplicationDiskRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DisksServer).StartAsyncReplication(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Disks/StartAsyncReplication", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DisksServer).StartAsyncReplication(ctx, req.(*StartAsyncReplicationDiskRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Disks_StopAsyncReplication_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(StopAsyncReplicationDiskRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DisksServer).StopAsyncReplication(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Disks/StopAsyncReplication", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DisksServer).StopAsyncReplication(ctx, req.(*StopAsyncReplicationDiskRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Disks_StopGroupAsyncReplication_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(StopGroupAsyncReplicationDiskRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DisksServer).StopGroupAsyncReplication(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Disks/StopGroupAsyncReplication", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DisksServer).StopGroupAsyncReplication(ctx, req.(*StopGroupAsyncReplicationDiskRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Disks_TestIamPermissions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(TestIamPermissionsDiskRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DisksServer).TestIamPermissions(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Disks/TestIamPermissions", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DisksServer).TestIamPermissions(ctx, req.(*TestIamPermissionsDiskRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Disks_Update_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateDiskRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DisksServer).Update(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Disks/Update", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DisksServer).Update(ctx, req.(*UpdateDiskRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _Disks_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.Disks", - HandlerType: (*DisksServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "AddResourcePolicies", - Handler: _Disks_AddResourcePolicies_Handler, - }, - { - MethodName: "AggregatedList", - Handler: _Disks_AggregatedList_Handler, - }, - { - MethodName: "BulkInsert", - Handler: _Disks_BulkInsert_Handler, - }, - { - MethodName: "CreateSnapshot", - Handler: _Disks_CreateSnapshot_Handler, - }, - { - MethodName: "Delete", - Handler: _Disks_Delete_Handler, - }, - { - MethodName: "Get", - Handler: _Disks_Get_Handler, - }, - { - MethodName: "GetIamPolicy", - Handler: _Disks_GetIamPolicy_Handler, - }, - { - MethodName: "Insert", - Handler: _Disks_Insert_Handler, - }, - { - MethodName: "List", - Handler: _Disks_List_Handler, - }, - { - MethodName: "RemoveResourcePolicies", - Handler: _Disks_RemoveResourcePolicies_Handler, - }, - { - MethodName: "Resize", - Handler: _Disks_Resize_Handler, - }, - { - MethodName: "SetIamPolicy", - Handler: _Disks_SetIamPolicy_Handler, - }, - { - MethodName: "SetLabels", - Handler: _Disks_SetLabels_Handler, - }, - { - MethodName: "StartAsyncReplication", - Handler: _Disks_StartAsyncReplication_Handler, - }, - { - MethodName: "StopAsyncReplication", - Handler: _Disks_StopAsyncReplication_Handler, - }, - { - MethodName: "StopGroupAsyncReplication", - Handler: _Disks_StopGroupAsyncReplication_Handler, - }, - { - MethodName: "TestIamPermissions", - Handler: _Disks_TestIamPermissions_Handler, - }, - { - MethodName: "Update", - Handler: _Disks_Update_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} - -// ExternalVpnGatewaysClient is the client API for ExternalVpnGateways service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type ExternalVpnGatewaysClient interface { - // Deletes the specified externalVpnGateway. - Delete(ctx context.Context, in *DeleteExternalVpnGatewayRequest, opts ...grpc.CallOption) (*Operation, error) - // Returns the specified externalVpnGateway. Get a list of available externalVpnGateways by making a list() request. - Get(ctx context.Context, in *GetExternalVpnGatewayRequest, opts ...grpc.CallOption) (*ExternalVpnGateway, error) - // Creates a ExternalVpnGateway in the specified project using the data included in the request. - Insert(ctx context.Context, in *InsertExternalVpnGatewayRequest, opts ...grpc.CallOption) (*Operation, error) - // Retrieves the list of ExternalVpnGateway available to the specified project. - List(ctx context.Context, in *ListExternalVpnGatewaysRequest, opts ...grpc.CallOption) (*ExternalVpnGatewayList, error) - // Sets the labels on an ExternalVpnGateway. To learn more about labels, read the Labeling Resources documentation. - SetLabels(ctx context.Context, in *SetLabelsExternalVpnGatewayRequest, opts ...grpc.CallOption) (*Operation, error) - // Returns permissions that a caller has on the specified resource. - TestIamPermissions(ctx context.Context, in *TestIamPermissionsExternalVpnGatewayRequest, opts ...grpc.CallOption) (*TestPermissionsResponse, error) -} - -type externalVpnGatewaysClient struct { - cc grpc.ClientConnInterface -} - -func NewExternalVpnGatewaysClient(cc grpc.ClientConnInterface) ExternalVpnGatewaysClient { - return &externalVpnGatewaysClient{cc} -} - -func (c *externalVpnGatewaysClient) Delete(ctx context.Context, in *DeleteExternalVpnGatewayRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.ExternalVpnGateways/Delete", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *externalVpnGatewaysClient) Get(ctx context.Context, in *GetExternalVpnGatewayRequest, opts ...grpc.CallOption) (*ExternalVpnGateway, error) { - out := new(ExternalVpnGateway) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.ExternalVpnGateways/Get", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *externalVpnGatewaysClient) Insert(ctx context.Context, in *InsertExternalVpnGatewayRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.ExternalVpnGateways/Insert", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *externalVpnGatewaysClient) List(ctx context.Context, in *ListExternalVpnGatewaysRequest, opts ...grpc.CallOption) (*ExternalVpnGatewayList, error) { - out := new(ExternalVpnGatewayList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.ExternalVpnGateways/List", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *externalVpnGatewaysClient) SetLabels(ctx context.Context, in *SetLabelsExternalVpnGatewayRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.ExternalVpnGateways/SetLabels", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *externalVpnGatewaysClient) TestIamPermissions(ctx context.Context, in *TestIamPermissionsExternalVpnGatewayRequest, opts ...grpc.CallOption) (*TestPermissionsResponse, error) { - out := new(TestPermissionsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.ExternalVpnGateways/TestIamPermissions", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// ExternalVpnGatewaysServer is the server API for ExternalVpnGateways service. -type ExternalVpnGatewaysServer interface { - // Deletes the specified externalVpnGateway. - Delete(context.Context, *DeleteExternalVpnGatewayRequest) (*Operation, error) - // Returns the specified externalVpnGateway. Get a list of available externalVpnGateways by making a list() request. - Get(context.Context, *GetExternalVpnGatewayRequest) (*ExternalVpnGateway, error) - // Creates a ExternalVpnGateway in the specified project using the data included in the request. - Insert(context.Context, *InsertExternalVpnGatewayRequest) (*Operation, error) - // Retrieves the list of ExternalVpnGateway available to the specified project. - List(context.Context, *ListExternalVpnGatewaysRequest) (*ExternalVpnGatewayList, error) - // Sets the labels on an ExternalVpnGateway. To learn more about labels, read the Labeling Resources documentation. - SetLabels(context.Context, *SetLabelsExternalVpnGatewayRequest) (*Operation, error) - // Returns permissions that a caller has on the specified resource. - TestIamPermissions(context.Context, *TestIamPermissionsExternalVpnGatewayRequest) (*TestPermissionsResponse, error) -} - -// UnimplementedExternalVpnGatewaysServer can be embedded to have forward compatible implementations. -type UnimplementedExternalVpnGatewaysServer struct { -} - -func (*UnimplementedExternalVpnGatewaysServer) Delete(context.Context, *DeleteExternalVpnGatewayRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") -} -func (*UnimplementedExternalVpnGatewaysServer) Get(context.Context, *GetExternalVpnGatewayRequest) (*ExternalVpnGateway, error) { - return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") -} -func (*UnimplementedExternalVpnGatewaysServer) Insert(context.Context, *InsertExternalVpnGatewayRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Insert not implemented") -} -func (*UnimplementedExternalVpnGatewaysServer) List(context.Context, *ListExternalVpnGatewaysRequest) (*ExternalVpnGatewayList, error) { - return nil, status.Errorf(codes.Unimplemented, "method List not implemented") -} -func (*UnimplementedExternalVpnGatewaysServer) SetLabels(context.Context, *SetLabelsExternalVpnGatewayRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetLabels not implemented") -} -func (*UnimplementedExternalVpnGatewaysServer) TestIamPermissions(context.Context, *TestIamPermissionsExternalVpnGatewayRequest) (*TestPermissionsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method TestIamPermissions not implemented") -} - -func RegisterExternalVpnGatewaysServer(s *grpc.Server, srv ExternalVpnGatewaysServer) { - s.RegisterService(&_ExternalVpnGateways_serviceDesc, srv) -} - -func _ExternalVpnGateways_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteExternalVpnGatewayRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ExternalVpnGatewaysServer).Delete(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.ExternalVpnGateways/Delete", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ExternalVpnGatewaysServer).Delete(ctx, req.(*DeleteExternalVpnGatewayRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ExternalVpnGateways_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetExternalVpnGatewayRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ExternalVpnGatewaysServer).Get(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.ExternalVpnGateways/Get", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ExternalVpnGatewaysServer).Get(ctx, req.(*GetExternalVpnGatewayRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ExternalVpnGateways_Insert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(InsertExternalVpnGatewayRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ExternalVpnGatewaysServer).Insert(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.ExternalVpnGateways/Insert", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ExternalVpnGatewaysServer).Insert(ctx, req.(*InsertExternalVpnGatewayRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ExternalVpnGateways_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListExternalVpnGatewaysRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ExternalVpnGatewaysServer).List(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.ExternalVpnGateways/List", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ExternalVpnGatewaysServer).List(ctx, req.(*ListExternalVpnGatewaysRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ExternalVpnGateways_SetLabels_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetLabelsExternalVpnGatewayRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ExternalVpnGatewaysServer).SetLabels(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.ExternalVpnGateways/SetLabels", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ExternalVpnGatewaysServer).SetLabels(ctx, req.(*SetLabelsExternalVpnGatewayRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ExternalVpnGateways_TestIamPermissions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(TestIamPermissionsExternalVpnGatewayRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ExternalVpnGatewaysServer).TestIamPermissions(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.ExternalVpnGateways/TestIamPermissions", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ExternalVpnGatewaysServer).TestIamPermissions(ctx, req.(*TestIamPermissionsExternalVpnGatewayRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _ExternalVpnGateways_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.ExternalVpnGateways", - HandlerType: (*ExternalVpnGatewaysServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "Delete", - Handler: _ExternalVpnGateways_Delete_Handler, - }, - { - MethodName: "Get", - Handler: _ExternalVpnGateways_Get_Handler, - }, - { - MethodName: "Insert", - Handler: _ExternalVpnGateways_Insert_Handler, - }, - { - MethodName: "List", - Handler: _ExternalVpnGateways_List_Handler, - }, - { - MethodName: "SetLabels", - Handler: _ExternalVpnGateways_SetLabels_Handler, - }, - { - MethodName: "TestIamPermissions", - Handler: _ExternalVpnGateways_TestIamPermissions_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} - -// FirewallPoliciesClient is the client API for FirewallPolicies service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type FirewallPoliciesClient interface { - // Inserts an association for the specified firewall policy. - AddAssociation(ctx context.Context, in *AddAssociationFirewallPolicyRequest, opts ...grpc.CallOption) (*Operation, error) - // Inserts a rule into a firewall policy. - AddRule(ctx context.Context, in *AddRuleFirewallPolicyRequest, opts ...grpc.CallOption) (*Operation, error) - // Copies rules to the specified firewall policy. - CloneRules(ctx context.Context, in *CloneRulesFirewallPolicyRequest, opts ...grpc.CallOption) (*Operation, error) - // Deletes the specified policy. - Delete(ctx context.Context, in *DeleteFirewallPolicyRequest, opts ...grpc.CallOption) (*Operation, error) - // Returns the specified firewall policy. - Get(ctx context.Context, in *GetFirewallPolicyRequest, opts ...grpc.CallOption) (*FirewallPolicy, error) - // Gets an association with the specified name. - GetAssociation(ctx context.Context, in *GetAssociationFirewallPolicyRequest, opts ...grpc.CallOption) (*FirewallPolicyAssociation, error) - // Gets the access control policy for a resource. May be empty if no such policy or resource exists. - GetIamPolicy(ctx context.Context, in *GetIamPolicyFirewallPolicyRequest, opts ...grpc.CallOption) (*Policy, error) - // Gets a rule of the specified priority. - GetRule(ctx context.Context, in *GetRuleFirewallPolicyRequest, opts ...grpc.CallOption) (*FirewallPolicyRule, error) - // Creates a new policy in the specified project using the data included in the request. - Insert(ctx context.Context, in *InsertFirewallPolicyRequest, opts ...grpc.CallOption) (*Operation, error) - // Lists all the policies that have been configured for the specified folder or organization. - List(ctx context.Context, in *ListFirewallPoliciesRequest, opts ...grpc.CallOption) (*FirewallPolicyList, error) - // Lists associations of a specified target, i.e., organization or folder. - ListAssociations(ctx context.Context, in *ListAssociationsFirewallPolicyRequest, opts ...grpc.CallOption) (*FirewallPoliciesListAssociationsResponse, error) - // Moves the specified firewall policy. - Move(ctx context.Context, in *MoveFirewallPolicyRequest, opts ...grpc.CallOption) (*Operation, error) - // Patches the specified policy with the data included in the request. - Patch(ctx context.Context, in *PatchFirewallPolicyRequest, opts ...grpc.CallOption) (*Operation, error) - // Patches a rule of the specified priority. - PatchRule(ctx context.Context, in *PatchRuleFirewallPolicyRequest, opts ...grpc.CallOption) (*Operation, error) - // Removes an association for the specified firewall policy. - RemoveAssociation(ctx context.Context, in *RemoveAssociationFirewallPolicyRequest, opts ...grpc.CallOption) (*Operation, error) - // Deletes a rule of the specified priority. - RemoveRule(ctx context.Context, in *RemoveRuleFirewallPolicyRequest, opts ...grpc.CallOption) (*Operation, error) - // Sets the access control policy on the specified resource. Replaces any existing policy. - SetIamPolicy(ctx context.Context, in *SetIamPolicyFirewallPolicyRequest, opts ...grpc.CallOption) (*Policy, error) - // Returns permissions that a caller has on the specified resource. - TestIamPermissions(ctx context.Context, in *TestIamPermissionsFirewallPolicyRequest, opts ...grpc.CallOption) (*TestPermissionsResponse, error) -} - -type firewallPoliciesClient struct { - cc grpc.ClientConnInterface -} - -func NewFirewallPoliciesClient(cc grpc.ClientConnInterface) FirewallPoliciesClient { - return &firewallPoliciesClient{cc} -} - -func (c *firewallPoliciesClient) AddAssociation(ctx context.Context, in *AddAssociationFirewallPolicyRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.FirewallPolicies/AddAssociation", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *firewallPoliciesClient) AddRule(ctx context.Context, in *AddRuleFirewallPolicyRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.FirewallPolicies/AddRule", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *firewallPoliciesClient) CloneRules(ctx context.Context, in *CloneRulesFirewallPolicyRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.FirewallPolicies/CloneRules", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *firewallPoliciesClient) Delete(ctx context.Context, in *DeleteFirewallPolicyRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.FirewallPolicies/Delete", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *firewallPoliciesClient) Get(ctx context.Context, in *GetFirewallPolicyRequest, opts ...grpc.CallOption) (*FirewallPolicy, error) { - out := new(FirewallPolicy) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.FirewallPolicies/Get", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *firewallPoliciesClient) GetAssociation(ctx context.Context, in *GetAssociationFirewallPolicyRequest, opts ...grpc.CallOption) (*FirewallPolicyAssociation, error) { - out := new(FirewallPolicyAssociation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.FirewallPolicies/GetAssociation", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *firewallPoliciesClient) GetIamPolicy(ctx context.Context, in *GetIamPolicyFirewallPolicyRequest, opts ...grpc.CallOption) (*Policy, error) { - out := new(Policy) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.FirewallPolicies/GetIamPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *firewallPoliciesClient) GetRule(ctx context.Context, in *GetRuleFirewallPolicyRequest, opts ...grpc.CallOption) (*FirewallPolicyRule, error) { - out := new(FirewallPolicyRule) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.FirewallPolicies/GetRule", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *firewallPoliciesClient) Insert(ctx context.Context, in *InsertFirewallPolicyRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.FirewallPolicies/Insert", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *firewallPoliciesClient) List(ctx context.Context, in *ListFirewallPoliciesRequest, opts ...grpc.CallOption) (*FirewallPolicyList, error) { - out := new(FirewallPolicyList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.FirewallPolicies/List", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *firewallPoliciesClient) ListAssociations(ctx context.Context, in *ListAssociationsFirewallPolicyRequest, opts ...grpc.CallOption) (*FirewallPoliciesListAssociationsResponse, error) { - out := new(FirewallPoliciesListAssociationsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.FirewallPolicies/ListAssociations", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *firewallPoliciesClient) Move(ctx context.Context, in *MoveFirewallPolicyRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.FirewallPolicies/Move", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *firewallPoliciesClient) Patch(ctx context.Context, in *PatchFirewallPolicyRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.FirewallPolicies/Patch", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *firewallPoliciesClient) PatchRule(ctx context.Context, in *PatchRuleFirewallPolicyRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.FirewallPolicies/PatchRule", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *firewallPoliciesClient) RemoveAssociation(ctx context.Context, in *RemoveAssociationFirewallPolicyRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.FirewallPolicies/RemoveAssociation", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *firewallPoliciesClient) RemoveRule(ctx context.Context, in *RemoveRuleFirewallPolicyRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.FirewallPolicies/RemoveRule", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *firewallPoliciesClient) SetIamPolicy(ctx context.Context, in *SetIamPolicyFirewallPolicyRequest, opts ...grpc.CallOption) (*Policy, error) { - out := new(Policy) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.FirewallPolicies/SetIamPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *firewallPoliciesClient) TestIamPermissions(ctx context.Context, in *TestIamPermissionsFirewallPolicyRequest, opts ...grpc.CallOption) (*TestPermissionsResponse, error) { - out := new(TestPermissionsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.FirewallPolicies/TestIamPermissions", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// FirewallPoliciesServer is the server API for FirewallPolicies service. -type FirewallPoliciesServer interface { - // Inserts an association for the specified firewall policy. - AddAssociation(context.Context, *AddAssociationFirewallPolicyRequest) (*Operation, error) - // Inserts a rule into a firewall policy. - AddRule(context.Context, *AddRuleFirewallPolicyRequest) (*Operation, error) - // Copies rules to the specified firewall policy. - CloneRules(context.Context, *CloneRulesFirewallPolicyRequest) (*Operation, error) - // Deletes the specified policy. - Delete(context.Context, *DeleteFirewallPolicyRequest) (*Operation, error) - // Returns the specified firewall policy. - Get(context.Context, *GetFirewallPolicyRequest) (*FirewallPolicy, error) - // Gets an association with the specified name. - GetAssociation(context.Context, *GetAssociationFirewallPolicyRequest) (*FirewallPolicyAssociation, error) - // Gets the access control policy for a resource. May be empty if no such policy or resource exists. - GetIamPolicy(context.Context, *GetIamPolicyFirewallPolicyRequest) (*Policy, error) - // Gets a rule of the specified priority. - GetRule(context.Context, *GetRuleFirewallPolicyRequest) (*FirewallPolicyRule, error) - // Creates a new policy in the specified project using the data included in the request. - Insert(context.Context, *InsertFirewallPolicyRequest) (*Operation, error) - // Lists all the policies that have been configured for the specified folder or organization. - List(context.Context, *ListFirewallPoliciesRequest) (*FirewallPolicyList, error) - // Lists associations of a specified target, i.e., organization or folder. - ListAssociations(context.Context, *ListAssociationsFirewallPolicyRequest) (*FirewallPoliciesListAssociationsResponse, error) - // Moves the specified firewall policy. - Move(context.Context, *MoveFirewallPolicyRequest) (*Operation, error) - // Patches the specified policy with the data included in the request. - Patch(context.Context, *PatchFirewallPolicyRequest) (*Operation, error) - // Patches a rule of the specified priority. - PatchRule(context.Context, *PatchRuleFirewallPolicyRequest) (*Operation, error) - // Removes an association for the specified firewall policy. - RemoveAssociation(context.Context, *RemoveAssociationFirewallPolicyRequest) (*Operation, error) - // Deletes a rule of the specified priority. - RemoveRule(context.Context, *RemoveRuleFirewallPolicyRequest) (*Operation, error) - // Sets the access control policy on the specified resource. Replaces any existing policy. - SetIamPolicy(context.Context, *SetIamPolicyFirewallPolicyRequest) (*Policy, error) - // Returns permissions that a caller has on the specified resource. - TestIamPermissions(context.Context, *TestIamPermissionsFirewallPolicyRequest) (*TestPermissionsResponse, error) -} - -// UnimplementedFirewallPoliciesServer can be embedded to have forward compatible implementations. -type UnimplementedFirewallPoliciesServer struct { -} - -func (*UnimplementedFirewallPoliciesServer) AddAssociation(context.Context, *AddAssociationFirewallPolicyRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method AddAssociation not implemented") -} -func (*UnimplementedFirewallPoliciesServer) AddRule(context.Context, *AddRuleFirewallPolicyRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method AddRule not implemented") -} -func (*UnimplementedFirewallPoliciesServer) CloneRules(context.Context, *CloneRulesFirewallPolicyRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method CloneRules not implemented") -} -func (*UnimplementedFirewallPoliciesServer) Delete(context.Context, *DeleteFirewallPolicyRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") -} -func (*UnimplementedFirewallPoliciesServer) Get(context.Context, *GetFirewallPolicyRequest) (*FirewallPolicy, error) { - return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") -} -func (*UnimplementedFirewallPoliciesServer) GetAssociation(context.Context, *GetAssociationFirewallPolicyRequest) (*FirewallPolicyAssociation, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetAssociation not implemented") -} -func (*UnimplementedFirewallPoliciesServer) GetIamPolicy(context.Context, *GetIamPolicyFirewallPolicyRequest) (*Policy, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetIamPolicy not implemented") -} -func (*UnimplementedFirewallPoliciesServer) GetRule(context.Context, *GetRuleFirewallPolicyRequest) (*FirewallPolicyRule, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetRule not implemented") -} -func (*UnimplementedFirewallPoliciesServer) Insert(context.Context, *InsertFirewallPolicyRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Insert not implemented") -} -func (*UnimplementedFirewallPoliciesServer) List(context.Context, *ListFirewallPoliciesRequest) (*FirewallPolicyList, error) { - return nil, status.Errorf(codes.Unimplemented, "method List not implemented") -} -func (*UnimplementedFirewallPoliciesServer) ListAssociations(context.Context, *ListAssociationsFirewallPolicyRequest) (*FirewallPoliciesListAssociationsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListAssociations not implemented") -} -func (*UnimplementedFirewallPoliciesServer) Move(context.Context, *MoveFirewallPolicyRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Move not implemented") -} -func (*UnimplementedFirewallPoliciesServer) Patch(context.Context, *PatchFirewallPolicyRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Patch not implemented") -} -func (*UnimplementedFirewallPoliciesServer) PatchRule(context.Context, *PatchRuleFirewallPolicyRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method PatchRule not implemented") -} -func (*UnimplementedFirewallPoliciesServer) RemoveAssociation(context.Context, *RemoveAssociationFirewallPolicyRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method RemoveAssociation not implemented") -} -func (*UnimplementedFirewallPoliciesServer) RemoveRule(context.Context, *RemoveRuleFirewallPolicyRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method RemoveRule not implemented") -} -func (*UnimplementedFirewallPoliciesServer) SetIamPolicy(context.Context, *SetIamPolicyFirewallPolicyRequest) (*Policy, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetIamPolicy not implemented") -} -func (*UnimplementedFirewallPoliciesServer) TestIamPermissions(context.Context, *TestIamPermissionsFirewallPolicyRequest) (*TestPermissionsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method TestIamPermissions not implemented") -} - -func RegisterFirewallPoliciesServer(s *grpc.Server, srv FirewallPoliciesServer) { - s.RegisterService(&_FirewallPolicies_serviceDesc, srv) -} - -func _FirewallPolicies_AddAssociation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AddAssociationFirewallPolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(FirewallPoliciesServer).AddAssociation(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.FirewallPolicies/AddAssociation", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FirewallPoliciesServer).AddAssociation(ctx, req.(*AddAssociationFirewallPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _FirewallPolicies_AddRule_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AddRuleFirewallPolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(FirewallPoliciesServer).AddRule(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.FirewallPolicies/AddRule", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FirewallPoliciesServer).AddRule(ctx, req.(*AddRuleFirewallPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _FirewallPolicies_CloneRules_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CloneRulesFirewallPolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(FirewallPoliciesServer).CloneRules(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.FirewallPolicies/CloneRules", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FirewallPoliciesServer).CloneRules(ctx, req.(*CloneRulesFirewallPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _FirewallPolicies_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteFirewallPolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(FirewallPoliciesServer).Delete(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.FirewallPolicies/Delete", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FirewallPoliciesServer).Delete(ctx, req.(*DeleteFirewallPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _FirewallPolicies_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetFirewallPolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(FirewallPoliciesServer).Get(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.FirewallPolicies/Get", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FirewallPoliciesServer).Get(ctx, req.(*GetFirewallPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _FirewallPolicies_GetAssociation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetAssociationFirewallPolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(FirewallPoliciesServer).GetAssociation(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.FirewallPolicies/GetAssociation", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FirewallPoliciesServer).GetAssociation(ctx, req.(*GetAssociationFirewallPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _FirewallPolicies_GetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetIamPolicyFirewallPolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(FirewallPoliciesServer).GetIamPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.FirewallPolicies/GetIamPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FirewallPoliciesServer).GetIamPolicy(ctx, req.(*GetIamPolicyFirewallPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _FirewallPolicies_GetRule_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetRuleFirewallPolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(FirewallPoliciesServer).GetRule(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.FirewallPolicies/GetRule", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FirewallPoliciesServer).GetRule(ctx, req.(*GetRuleFirewallPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _FirewallPolicies_Insert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(InsertFirewallPolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(FirewallPoliciesServer).Insert(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.FirewallPolicies/Insert", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FirewallPoliciesServer).Insert(ctx, req.(*InsertFirewallPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _FirewallPolicies_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListFirewallPoliciesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(FirewallPoliciesServer).List(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.FirewallPolicies/List", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FirewallPoliciesServer).List(ctx, req.(*ListFirewallPoliciesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _FirewallPolicies_ListAssociations_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListAssociationsFirewallPolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(FirewallPoliciesServer).ListAssociations(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.FirewallPolicies/ListAssociations", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FirewallPoliciesServer).ListAssociations(ctx, req.(*ListAssociationsFirewallPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _FirewallPolicies_Move_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MoveFirewallPolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(FirewallPoliciesServer).Move(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.FirewallPolicies/Move", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FirewallPoliciesServer).Move(ctx, req.(*MoveFirewallPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _FirewallPolicies_Patch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PatchFirewallPolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(FirewallPoliciesServer).Patch(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.FirewallPolicies/Patch", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FirewallPoliciesServer).Patch(ctx, req.(*PatchFirewallPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _FirewallPolicies_PatchRule_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PatchRuleFirewallPolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(FirewallPoliciesServer).PatchRule(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.FirewallPolicies/PatchRule", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FirewallPoliciesServer).PatchRule(ctx, req.(*PatchRuleFirewallPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _FirewallPolicies_RemoveAssociation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RemoveAssociationFirewallPolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(FirewallPoliciesServer).RemoveAssociation(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.FirewallPolicies/RemoveAssociation", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FirewallPoliciesServer).RemoveAssociation(ctx, req.(*RemoveAssociationFirewallPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _FirewallPolicies_RemoveRule_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RemoveRuleFirewallPolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(FirewallPoliciesServer).RemoveRule(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.FirewallPolicies/RemoveRule", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FirewallPoliciesServer).RemoveRule(ctx, req.(*RemoveRuleFirewallPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _FirewallPolicies_SetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetIamPolicyFirewallPolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(FirewallPoliciesServer).SetIamPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.FirewallPolicies/SetIamPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FirewallPoliciesServer).SetIamPolicy(ctx, req.(*SetIamPolicyFirewallPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _FirewallPolicies_TestIamPermissions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(TestIamPermissionsFirewallPolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(FirewallPoliciesServer).TestIamPermissions(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.FirewallPolicies/TestIamPermissions", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FirewallPoliciesServer).TestIamPermissions(ctx, req.(*TestIamPermissionsFirewallPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _FirewallPolicies_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.FirewallPolicies", - HandlerType: (*FirewallPoliciesServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "AddAssociation", - Handler: _FirewallPolicies_AddAssociation_Handler, - }, - { - MethodName: "AddRule", - Handler: _FirewallPolicies_AddRule_Handler, - }, - { - MethodName: "CloneRules", - Handler: _FirewallPolicies_CloneRules_Handler, - }, - { - MethodName: "Delete", - Handler: _FirewallPolicies_Delete_Handler, - }, - { - MethodName: "Get", - Handler: _FirewallPolicies_Get_Handler, - }, - { - MethodName: "GetAssociation", - Handler: _FirewallPolicies_GetAssociation_Handler, - }, - { - MethodName: "GetIamPolicy", - Handler: _FirewallPolicies_GetIamPolicy_Handler, - }, - { - MethodName: "GetRule", - Handler: _FirewallPolicies_GetRule_Handler, - }, - { - MethodName: "Insert", - Handler: _FirewallPolicies_Insert_Handler, - }, - { - MethodName: "List", - Handler: _FirewallPolicies_List_Handler, - }, - { - MethodName: "ListAssociations", - Handler: _FirewallPolicies_ListAssociations_Handler, - }, - { - MethodName: "Move", - Handler: _FirewallPolicies_Move_Handler, - }, - { - MethodName: "Patch", - Handler: _FirewallPolicies_Patch_Handler, - }, - { - MethodName: "PatchRule", - Handler: _FirewallPolicies_PatchRule_Handler, - }, - { - MethodName: "RemoveAssociation", - Handler: _FirewallPolicies_RemoveAssociation_Handler, - }, - { - MethodName: "RemoveRule", - Handler: _FirewallPolicies_RemoveRule_Handler, - }, - { - MethodName: "SetIamPolicy", - Handler: _FirewallPolicies_SetIamPolicy_Handler, - }, - { - MethodName: "TestIamPermissions", - Handler: _FirewallPolicies_TestIamPermissions_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} - -// FirewallsClient is the client API for Firewalls service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type FirewallsClient interface { - // Deletes the specified firewall. - Delete(ctx context.Context, in *DeleteFirewallRequest, opts ...grpc.CallOption) (*Operation, error) - // Returns the specified firewall. - Get(ctx context.Context, in *GetFirewallRequest, opts ...grpc.CallOption) (*Firewall, error) - // Creates a firewall rule in the specified project using the data included in the request. - Insert(ctx context.Context, in *InsertFirewallRequest, opts ...grpc.CallOption) (*Operation, error) - // Retrieves the list of firewall rules available to the specified project. - List(ctx context.Context, in *ListFirewallsRequest, opts ...grpc.CallOption) (*FirewallList, error) - // Updates the specified firewall rule with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. - Patch(ctx context.Context, in *PatchFirewallRequest, opts ...grpc.CallOption) (*Operation, error) - // Updates the specified firewall rule with the data included in the request. Note that all fields will be updated if using PUT, even fields that are not specified. To update individual fields, please use PATCH instead. - Update(ctx context.Context, in *UpdateFirewallRequest, opts ...grpc.CallOption) (*Operation, error) -} - -type firewallsClient struct { - cc grpc.ClientConnInterface -} - -func NewFirewallsClient(cc grpc.ClientConnInterface) FirewallsClient { - return &firewallsClient{cc} -} - -func (c *firewallsClient) Delete(ctx context.Context, in *DeleteFirewallRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Firewalls/Delete", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *firewallsClient) Get(ctx context.Context, in *GetFirewallRequest, opts ...grpc.CallOption) (*Firewall, error) { - out := new(Firewall) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Firewalls/Get", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *firewallsClient) Insert(ctx context.Context, in *InsertFirewallRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Firewalls/Insert", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *firewallsClient) List(ctx context.Context, in *ListFirewallsRequest, opts ...grpc.CallOption) (*FirewallList, error) { - out := new(FirewallList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Firewalls/List", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *firewallsClient) Patch(ctx context.Context, in *PatchFirewallRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Firewalls/Patch", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *firewallsClient) Update(ctx context.Context, in *UpdateFirewallRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Firewalls/Update", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// FirewallsServer is the server API for Firewalls service. -type FirewallsServer interface { - // Deletes the specified firewall. - Delete(context.Context, *DeleteFirewallRequest) (*Operation, error) - // Returns the specified firewall. - Get(context.Context, *GetFirewallRequest) (*Firewall, error) - // Creates a firewall rule in the specified project using the data included in the request. - Insert(context.Context, *InsertFirewallRequest) (*Operation, error) - // Retrieves the list of firewall rules available to the specified project. - List(context.Context, *ListFirewallsRequest) (*FirewallList, error) - // Updates the specified firewall rule with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. - Patch(context.Context, *PatchFirewallRequest) (*Operation, error) - // Updates the specified firewall rule with the data included in the request. Note that all fields will be updated if using PUT, even fields that are not specified. To update individual fields, please use PATCH instead. - Update(context.Context, *UpdateFirewallRequest) (*Operation, error) -} - -// UnimplementedFirewallsServer can be embedded to have forward compatible implementations. -type UnimplementedFirewallsServer struct { -} - -func (*UnimplementedFirewallsServer) Delete(context.Context, *DeleteFirewallRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") -} -func (*UnimplementedFirewallsServer) Get(context.Context, *GetFirewallRequest) (*Firewall, error) { - return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") -} -func (*UnimplementedFirewallsServer) Insert(context.Context, *InsertFirewallRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Insert not implemented") -} -func (*UnimplementedFirewallsServer) List(context.Context, *ListFirewallsRequest) (*FirewallList, error) { - return nil, status.Errorf(codes.Unimplemented, "method List not implemented") -} -func (*UnimplementedFirewallsServer) Patch(context.Context, *PatchFirewallRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Patch not implemented") -} -func (*UnimplementedFirewallsServer) Update(context.Context, *UpdateFirewallRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Update not implemented") -} - -func RegisterFirewallsServer(s *grpc.Server, srv FirewallsServer) { - s.RegisterService(&_Firewalls_serviceDesc, srv) -} - -func _Firewalls_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteFirewallRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(FirewallsServer).Delete(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Firewalls/Delete", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FirewallsServer).Delete(ctx, req.(*DeleteFirewallRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Firewalls_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetFirewallRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(FirewallsServer).Get(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Firewalls/Get", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FirewallsServer).Get(ctx, req.(*GetFirewallRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Firewalls_Insert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(InsertFirewallRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(FirewallsServer).Insert(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Firewalls/Insert", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FirewallsServer).Insert(ctx, req.(*InsertFirewallRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Firewalls_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListFirewallsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(FirewallsServer).List(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Firewalls/List", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FirewallsServer).List(ctx, req.(*ListFirewallsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Firewalls_Patch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PatchFirewallRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(FirewallsServer).Patch(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Firewalls/Patch", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FirewallsServer).Patch(ctx, req.(*PatchFirewallRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Firewalls_Update_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateFirewallRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(FirewallsServer).Update(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Firewalls/Update", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FirewallsServer).Update(ctx, req.(*UpdateFirewallRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _Firewalls_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.Firewalls", - HandlerType: (*FirewallsServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "Delete", - Handler: _Firewalls_Delete_Handler, - }, - { - MethodName: "Get", - Handler: _Firewalls_Get_Handler, - }, - { - MethodName: "Insert", - Handler: _Firewalls_Insert_Handler, - }, - { - MethodName: "List", - Handler: _Firewalls_List_Handler, - }, - { - MethodName: "Patch", - Handler: _Firewalls_Patch_Handler, - }, - { - MethodName: "Update", - Handler: _Firewalls_Update_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} - -// ForwardingRulesClient is the client API for ForwardingRules service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type ForwardingRulesClient interface { - // Retrieves an aggregated list of forwarding rules. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. - AggregatedList(ctx context.Context, in *AggregatedListForwardingRulesRequest, opts ...grpc.CallOption) (*ForwardingRuleAggregatedList, error) - // Deletes the specified ForwardingRule resource. - Delete(ctx context.Context, in *DeleteForwardingRuleRequest, opts ...grpc.CallOption) (*Operation, error) - // Returns the specified ForwardingRule resource. - Get(ctx context.Context, in *GetForwardingRuleRequest, opts ...grpc.CallOption) (*ForwardingRule, error) - // Creates a ForwardingRule resource in the specified project and region using the data included in the request. - Insert(ctx context.Context, in *InsertForwardingRuleRequest, opts ...grpc.CallOption) (*Operation, error) - // Retrieves a list of ForwardingRule resources available to the specified project and region. - List(ctx context.Context, in *ListForwardingRulesRequest, opts ...grpc.CallOption) (*ForwardingRuleList, error) - // Updates the specified forwarding rule with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. Currently, you can only patch the network_tier field. - Patch(ctx context.Context, in *PatchForwardingRuleRequest, opts ...grpc.CallOption) (*Operation, error) - // Sets the labels on the specified resource. To learn more about labels, read the Labeling Resources documentation. - SetLabels(ctx context.Context, in *SetLabelsForwardingRuleRequest, opts ...grpc.CallOption) (*Operation, error) - // Changes target URL for forwarding rule. The new target should be of the same type as the old target. - SetTarget(ctx context.Context, in *SetTargetForwardingRuleRequest, opts ...grpc.CallOption) (*Operation, error) -} - -type forwardingRulesClient struct { - cc grpc.ClientConnInterface -} - -func NewForwardingRulesClient(cc grpc.ClientConnInterface) ForwardingRulesClient { - return &forwardingRulesClient{cc} -} - -func (c *forwardingRulesClient) AggregatedList(ctx context.Context, in *AggregatedListForwardingRulesRequest, opts ...grpc.CallOption) (*ForwardingRuleAggregatedList, error) { - out := new(ForwardingRuleAggregatedList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.ForwardingRules/AggregatedList", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *forwardingRulesClient) Delete(ctx context.Context, in *DeleteForwardingRuleRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.ForwardingRules/Delete", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *forwardingRulesClient) Get(ctx context.Context, in *GetForwardingRuleRequest, opts ...grpc.CallOption) (*ForwardingRule, error) { - out := new(ForwardingRule) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.ForwardingRules/Get", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *forwardingRulesClient) Insert(ctx context.Context, in *InsertForwardingRuleRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.ForwardingRules/Insert", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *forwardingRulesClient) List(ctx context.Context, in *ListForwardingRulesRequest, opts ...grpc.CallOption) (*ForwardingRuleList, error) { - out := new(ForwardingRuleList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.ForwardingRules/List", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *forwardingRulesClient) Patch(ctx context.Context, in *PatchForwardingRuleRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.ForwardingRules/Patch", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *forwardingRulesClient) SetLabels(ctx context.Context, in *SetLabelsForwardingRuleRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.ForwardingRules/SetLabels", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *forwardingRulesClient) SetTarget(ctx context.Context, in *SetTargetForwardingRuleRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.ForwardingRules/SetTarget", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// ForwardingRulesServer is the server API for ForwardingRules service. -type ForwardingRulesServer interface { - // Retrieves an aggregated list of forwarding rules. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. - AggregatedList(context.Context, *AggregatedListForwardingRulesRequest) (*ForwardingRuleAggregatedList, error) - // Deletes the specified ForwardingRule resource. - Delete(context.Context, *DeleteForwardingRuleRequest) (*Operation, error) - // Returns the specified ForwardingRule resource. - Get(context.Context, *GetForwardingRuleRequest) (*ForwardingRule, error) - // Creates a ForwardingRule resource in the specified project and region using the data included in the request. - Insert(context.Context, *InsertForwardingRuleRequest) (*Operation, error) - // Retrieves a list of ForwardingRule resources available to the specified project and region. - List(context.Context, *ListForwardingRulesRequest) (*ForwardingRuleList, error) - // Updates the specified forwarding rule with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. Currently, you can only patch the network_tier field. - Patch(context.Context, *PatchForwardingRuleRequest) (*Operation, error) - // Sets the labels on the specified resource. To learn more about labels, read the Labeling Resources documentation. - SetLabels(context.Context, *SetLabelsForwardingRuleRequest) (*Operation, error) - // Changes target URL for forwarding rule. The new target should be of the same type as the old target. - SetTarget(context.Context, *SetTargetForwardingRuleRequest) (*Operation, error) -} - -// UnimplementedForwardingRulesServer can be embedded to have forward compatible implementations. -type UnimplementedForwardingRulesServer struct { -} - -func (*UnimplementedForwardingRulesServer) AggregatedList(context.Context, *AggregatedListForwardingRulesRequest) (*ForwardingRuleAggregatedList, error) { - return nil, status.Errorf(codes.Unimplemented, "method AggregatedList not implemented") -} -func (*UnimplementedForwardingRulesServer) Delete(context.Context, *DeleteForwardingRuleRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") -} -func (*UnimplementedForwardingRulesServer) Get(context.Context, *GetForwardingRuleRequest) (*ForwardingRule, error) { - return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") -} -func (*UnimplementedForwardingRulesServer) Insert(context.Context, *InsertForwardingRuleRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Insert not implemented") -} -func (*UnimplementedForwardingRulesServer) List(context.Context, *ListForwardingRulesRequest) (*ForwardingRuleList, error) { - return nil, status.Errorf(codes.Unimplemented, "method List not implemented") -} -func (*UnimplementedForwardingRulesServer) Patch(context.Context, *PatchForwardingRuleRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Patch not implemented") -} -func (*UnimplementedForwardingRulesServer) SetLabels(context.Context, *SetLabelsForwardingRuleRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetLabels not implemented") -} -func (*UnimplementedForwardingRulesServer) SetTarget(context.Context, *SetTargetForwardingRuleRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetTarget not implemented") -} - -func RegisterForwardingRulesServer(s *grpc.Server, srv ForwardingRulesServer) { - s.RegisterService(&_ForwardingRules_serviceDesc, srv) -} - -func _ForwardingRules_AggregatedList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AggregatedListForwardingRulesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ForwardingRulesServer).AggregatedList(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.ForwardingRules/AggregatedList", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ForwardingRulesServer).AggregatedList(ctx, req.(*AggregatedListForwardingRulesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ForwardingRules_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteForwardingRuleRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ForwardingRulesServer).Delete(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.ForwardingRules/Delete", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ForwardingRulesServer).Delete(ctx, req.(*DeleteForwardingRuleRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ForwardingRules_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetForwardingRuleRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ForwardingRulesServer).Get(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.ForwardingRules/Get", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ForwardingRulesServer).Get(ctx, req.(*GetForwardingRuleRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ForwardingRules_Insert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(InsertForwardingRuleRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ForwardingRulesServer).Insert(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.ForwardingRules/Insert", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ForwardingRulesServer).Insert(ctx, req.(*InsertForwardingRuleRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ForwardingRules_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListForwardingRulesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ForwardingRulesServer).List(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.ForwardingRules/List", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ForwardingRulesServer).List(ctx, req.(*ListForwardingRulesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ForwardingRules_Patch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PatchForwardingRuleRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ForwardingRulesServer).Patch(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.ForwardingRules/Patch", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ForwardingRulesServer).Patch(ctx, req.(*PatchForwardingRuleRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ForwardingRules_SetLabels_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetLabelsForwardingRuleRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ForwardingRulesServer).SetLabels(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.ForwardingRules/SetLabels", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ForwardingRulesServer).SetLabels(ctx, req.(*SetLabelsForwardingRuleRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ForwardingRules_SetTarget_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetTargetForwardingRuleRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ForwardingRulesServer).SetTarget(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.ForwardingRules/SetTarget", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ForwardingRulesServer).SetTarget(ctx, req.(*SetTargetForwardingRuleRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _ForwardingRules_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.ForwardingRules", - HandlerType: (*ForwardingRulesServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "AggregatedList", - Handler: _ForwardingRules_AggregatedList_Handler, - }, - { - MethodName: "Delete", - Handler: _ForwardingRules_Delete_Handler, - }, - { - MethodName: "Get", - Handler: _ForwardingRules_Get_Handler, - }, - { - MethodName: "Insert", - Handler: _ForwardingRules_Insert_Handler, - }, - { - MethodName: "List", - Handler: _ForwardingRules_List_Handler, - }, - { - MethodName: "Patch", - Handler: _ForwardingRules_Patch_Handler, - }, - { - MethodName: "SetLabels", - Handler: _ForwardingRules_SetLabels_Handler, - }, - { - MethodName: "SetTarget", - Handler: _ForwardingRules_SetTarget_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} - -// GlobalAddressesClient is the client API for GlobalAddresses service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type GlobalAddressesClient interface { - // Deletes the specified address resource. - Delete(ctx context.Context, in *DeleteGlobalAddressRequest, opts ...grpc.CallOption) (*Operation, error) - // Returns the specified address resource. - Get(ctx context.Context, in *GetGlobalAddressRequest, opts ...grpc.CallOption) (*Address, error) - // Creates an address resource in the specified project by using the data included in the request. - Insert(ctx context.Context, in *InsertGlobalAddressRequest, opts ...grpc.CallOption) (*Operation, error) - // Retrieves a list of global addresses. - List(ctx context.Context, in *ListGlobalAddressesRequest, opts ...grpc.CallOption) (*AddressList, error) - // Moves the specified address resource from one project to another project. - Move(ctx context.Context, in *MoveGlobalAddressRequest, opts ...grpc.CallOption) (*Operation, error) - // Sets the labels on a GlobalAddress. To learn more about labels, read the Labeling Resources documentation. - SetLabels(ctx context.Context, in *SetLabelsGlobalAddressRequest, opts ...grpc.CallOption) (*Operation, error) -} - -type globalAddressesClient struct { - cc grpc.ClientConnInterface -} - -func NewGlobalAddressesClient(cc grpc.ClientConnInterface) GlobalAddressesClient { - return &globalAddressesClient{cc} -} - -func (c *globalAddressesClient) Delete(ctx context.Context, in *DeleteGlobalAddressRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.GlobalAddresses/Delete", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *globalAddressesClient) Get(ctx context.Context, in *GetGlobalAddressRequest, opts ...grpc.CallOption) (*Address, error) { - out := new(Address) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.GlobalAddresses/Get", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *globalAddressesClient) Insert(ctx context.Context, in *InsertGlobalAddressRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.GlobalAddresses/Insert", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *globalAddressesClient) List(ctx context.Context, in *ListGlobalAddressesRequest, opts ...grpc.CallOption) (*AddressList, error) { - out := new(AddressList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.GlobalAddresses/List", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *globalAddressesClient) Move(ctx context.Context, in *MoveGlobalAddressRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.GlobalAddresses/Move", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *globalAddressesClient) SetLabels(ctx context.Context, in *SetLabelsGlobalAddressRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.GlobalAddresses/SetLabels", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// GlobalAddressesServer is the server API for GlobalAddresses service. -type GlobalAddressesServer interface { - // Deletes the specified address resource. - Delete(context.Context, *DeleteGlobalAddressRequest) (*Operation, error) - // Returns the specified address resource. - Get(context.Context, *GetGlobalAddressRequest) (*Address, error) - // Creates an address resource in the specified project by using the data included in the request. - Insert(context.Context, *InsertGlobalAddressRequest) (*Operation, error) - // Retrieves a list of global addresses. - List(context.Context, *ListGlobalAddressesRequest) (*AddressList, error) - // Moves the specified address resource from one project to another project. - Move(context.Context, *MoveGlobalAddressRequest) (*Operation, error) - // Sets the labels on a GlobalAddress. To learn more about labels, read the Labeling Resources documentation. - SetLabels(context.Context, *SetLabelsGlobalAddressRequest) (*Operation, error) -} - -// UnimplementedGlobalAddressesServer can be embedded to have forward compatible implementations. -type UnimplementedGlobalAddressesServer struct { -} - -func (*UnimplementedGlobalAddressesServer) Delete(context.Context, *DeleteGlobalAddressRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") -} -func (*UnimplementedGlobalAddressesServer) Get(context.Context, *GetGlobalAddressRequest) (*Address, error) { - return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") -} -func (*UnimplementedGlobalAddressesServer) Insert(context.Context, *InsertGlobalAddressRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Insert not implemented") -} -func (*UnimplementedGlobalAddressesServer) List(context.Context, *ListGlobalAddressesRequest) (*AddressList, error) { - return nil, status.Errorf(codes.Unimplemented, "method List not implemented") -} -func (*UnimplementedGlobalAddressesServer) Move(context.Context, *MoveGlobalAddressRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Move not implemented") -} -func (*UnimplementedGlobalAddressesServer) SetLabels(context.Context, *SetLabelsGlobalAddressRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetLabels not implemented") -} - -func RegisterGlobalAddressesServer(s *grpc.Server, srv GlobalAddressesServer) { - s.RegisterService(&_GlobalAddresses_serviceDesc, srv) -} - -func _GlobalAddresses_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteGlobalAddressRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GlobalAddressesServer).Delete(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.GlobalAddresses/Delete", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GlobalAddressesServer).Delete(ctx, req.(*DeleteGlobalAddressRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GlobalAddresses_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetGlobalAddressRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GlobalAddressesServer).Get(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.GlobalAddresses/Get", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GlobalAddressesServer).Get(ctx, req.(*GetGlobalAddressRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GlobalAddresses_Insert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(InsertGlobalAddressRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GlobalAddressesServer).Insert(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.GlobalAddresses/Insert", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GlobalAddressesServer).Insert(ctx, req.(*InsertGlobalAddressRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GlobalAddresses_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListGlobalAddressesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GlobalAddressesServer).List(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.GlobalAddresses/List", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GlobalAddressesServer).List(ctx, req.(*ListGlobalAddressesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GlobalAddresses_Move_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MoveGlobalAddressRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GlobalAddressesServer).Move(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.GlobalAddresses/Move", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GlobalAddressesServer).Move(ctx, req.(*MoveGlobalAddressRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GlobalAddresses_SetLabels_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetLabelsGlobalAddressRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GlobalAddressesServer).SetLabels(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.GlobalAddresses/SetLabels", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GlobalAddressesServer).SetLabels(ctx, req.(*SetLabelsGlobalAddressRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _GlobalAddresses_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.GlobalAddresses", - HandlerType: (*GlobalAddressesServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "Delete", - Handler: _GlobalAddresses_Delete_Handler, - }, - { - MethodName: "Get", - Handler: _GlobalAddresses_Get_Handler, - }, - { - MethodName: "Insert", - Handler: _GlobalAddresses_Insert_Handler, - }, - { - MethodName: "List", - Handler: _GlobalAddresses_List_Handler, - }, - { - MethodName: "Move", - Handler: _GlobalAddresses_Move_Handler, - }, - { - MethodName: "SetLabels", - Handler: _GlobalAddresses_SetLabels_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} - -// GlobalForwardingRulesClient is the client API for GlobalForwardingRules service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type GlobalForwardingRulesClient interface { - // Deletes the specified GlobalForwardingRule resource. - Delete(ctx context.Context, in *DeleteGlobalForwardingRuleRequest, opts ...grpc.CallOption) (*Operation, error) - // Returns the specified GlobalForwardingRule resource. Gets a list of available forwarding rules by making a list() request. - Get(ctx context.Context, in *GetGlobalForwardingRuleRequest, opts ...grpc.CallOption) (*ForwardingRule, error) - // Creates a GlobalForwardingRule resource in the specified project using the data included in the request. - Insert(ctx context.Context, in *InsertGlobalForwardingRuleRequest, opts ...grpc.CallOption) (*Operation, error) - // Retrieves a list of GlobalForwardingRule resources available to the specified project. - List(ctx context.Context, in *ListGlobalForwardingRulesRequest, opts ...grpc.CallOption) (*ForwardingRuleList, error) - // Updates the specified forwarding rule with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. Currently, you can only patch the network_tier field. - Patch(ctx context.Context, in *PatchGlobalForwardingRuleRequest, opts ...grpc.CallOption) (*Operation, error) - // Sets the labels on the specified resource. To learn more about labels, read the Labeling resources documentation. - SetLabels(ctx context.Context, in *SetLabelsGlobalForwardingRuleRequest, opts ...grpc.CallOption) (*Operation, error) - // Changes target URL for the GlobalForwardingRule resource. The new target should be of the same type as the old target. - SetTarget(ctx context.Context, in *SetTargetGlobalForwardingRuleRequest, opts ...grpc.CallOption) (*Operation, error) -} - -type globalForwardingRulesClient struct { - cc grpc.ClientConnInterface -} - -func NewGlobalForwardingRulesClient(cc grpc.ClientConnInterface) GlobalForwardingRulesClient { - return &globalForwardingRulesClient{cc} -} - -func (c *globalForwardingRulesClient) Delete(ctx context.Context, in *DeleteGlobalForwardingRuleRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.GlobalForwardingRules/Delete", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *globalForwardingRulesClient) Get(ctx context.Context, in *GetGlobalForwardingRuleRequest, opts ...grpc.CallOption) (*ForwardingRule, error) { - out := new(ForwardingRule) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.GlobalForwardingRules/Get", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *globalForwardingRulesClient) Insert(ctx context.Context, in *InsertGlobalForwardingRuleRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.GlobalForwardingRules/Insert", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *globalForwardingRulesClient) List(ctx context.Context, in *ListGlobalForwardingRulesRequest, opts ...grpc.CallOption) (*ForwardingRuleList, error) { - out := new(ForwardingRuleList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.GlobalForwardingRules/List", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *globalForwardingRulesClient) Patch(ctx context.Context, in *PatchGlobalForwardingRuleRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.GlobalForwardingRules/Patch", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *globalForwardingRulesClient) SetLabels(ctx context.Context, in *SetLabelsGlobalForwardingRuleRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.GlobalForwardingRules/SetLabels", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *globalForwardingRulesClient) SetTarget(ctx context.Context, in *SetTargetGlobalForwardingRuleRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.GlobalForwardingRules/SetTarget", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// GlobalForwardingRulesServer is the server API for GlobalForwardingRules service. -type GlobalForwardingRulesServer interface { - // Deletes the specified GlobalForwardingRule resource. - Delete(context.Context, *DeleteGlobalForwardingRuleRequest) (*Operation, error) - // Returns the specified GlobalForwardingRule resource. Gets a list of available forwarding rules by making a list() request. - Get(context.Context, *GetGlobalForwardingRuleRequest) (*ForwardingRule, error) - // Creates a GlobalForwardingRule resource in the specified project using the data included in the request. - Insert(context.Context, *InsertGlobalForwardingRuleRequest) (*Operation, error) - // Retrieves a list of GlobalForwardingRule resources available to the specified project. - List(context.Context, *ListGlobalForwardingRulesRequest) (*ForwardingRuleList, error) - // Updates the specified forwarding rule with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. Currently, you can only patch the network_tier field. - Patch(context.Context, *PatchGlobalForwardingRuleRequest) (*Operation, error) - // Sets the labels on the specified resource. To learn more about labels, read the Labeling resources documentation. - SetLabels(context.Context, *SetLabelsGlobalForwardingRuleRequest) (*Operation, error) - // Changes target URL for the GlobalForwardingRule resource. The new target should be of the same type as the old target. - SetTarget(context.Context, *SetTargetGlobalForwardingRuleRequest) (*Operation, error) -} - -// UnimplementedGlobalForwardingRulesServer can be embedded to have forward compatible implementations. -type UnimplementedGlobalForwardingRulesServer struct { -} - -func (*UnimplementedGlobalForwardingRulesServer) Delete(context.Context, *DeleteGlobalForwardingRuleRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") -} -func (*UnimplementedGlobalForwardingRulesServer) Get(context.Context, *GetGlobalForwardingRuleRequest) (*ForwardingRule, error) { - return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") -} -func (*UnimplementedGlobalForwardingRulesServer) Insert(context.Context, *InsertGlobalForwardingRuleRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Insert not implemented") -} -func (*UnimplementedGlobalForwardingRulesServer) List(context.Context, *ListGlobalForwardingRulesRequest) (*ForwardingRuleList, error) { - return nil, status.Errorf(codes.Unimplemented, "method List not implemented") -} -func (*UnimplementedGlobalForwardingRulesServer) Patch(context.Context, *PatchGlobalForwardingRuleRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Patch not implemented") -} -func (*UnimplementedGlobalForwardingRulesServer) SetLabels(context.Context, *SetLabelsGlobalForwardingRuleRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetLabels not implemented") -} -func (*UnimplementedGlobalForwardingRulesServer) SetTarget(context.Context, *SetTargetGlobalForwardingRuleRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetTarget not implemented") -} - -func RegisterGlobalForwardingRulesServer(s *grpc.Server, srv GlobalForwardingRulesServer) { - s.RegisterService(&_GlobalForwardingRules_serviceDesc, srv) -} - -func _GlobalForwardingRules_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteGlobalForwardingRuleRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GlobalForwardingRulesServer).Delete(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.GlobalForwardingRules/Delete", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GlobalForwardingRulesServer).Delete(ctx, req.(*DeleteGlobalForwardingRuleRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GlobalForwardingRules_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetGlobalForwardingRuleRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GlobalForwardingRulesServer).Get(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.GlobalForwardingRules/Get", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GlobalForwardingRulesServer).Get(ctx, req.(*GetGlobalForwardingRuleRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GlobalForwardingRules_Insert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(InsertGlobalForwardingRuleRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GlobalForwardingRulesServer).Insert(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.GlobalForwardingRules/Insert", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GlobalForwardingRulesServer).Insert(ctx, req.(*InsertGlobalForwardingRuleRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GlobalForwardingRules_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListGlobalForwardingRulesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GlobalForwardingRulesServer).List(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.GlobalForwardingRules/List", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GlobalForwardingRulesServer).List(ctx, req.(*ListGlobalForwardingRulesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GlobalForwardingRules_Patch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PatchGlobalForwardingRuleRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GlobalForwardingRulesServer).Patch(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.GlobalForwardingRules/Patch", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GlobalForwardingRulesServer).Patch(ctx, req.(*PatchGlobalForwardingRuleRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GlobalForwardingRules_SetLabels_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetLabelsGlobalForwardingRuleRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GlobalForwardingRulesServer).SetLabels(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.GlobalForwardingRules/SetLabels", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GlobalForwardingRulesServer).SetLabels(ctx, req.(*SetLabelsGlobalForwardingRuleRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GlobalForwardingRules_SetTarget_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetTargetGlobalForwardingRuleRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GlobalForwardingRulesServer).SetTarget(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.GlobalForwardingRules/SetTarget", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GlobalForwardingRulesServer).SetTarget(ctx, req.(*SetTargetGlobalForwardingRuleRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _GlobalForwardingRules_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.GlobalForwardingRules", - HandlerType: (*GlobalForwardingRulesServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "Delete", - Handler: _GlobalForwardingRules_Delete_Handler, - }, - { - MethodName: "Get", - Handler: _GlobalForwardingRules_Get_Handler, - }, - { - MethodName: "Insert", - Handler: _GlobalForwardingRules_Insert_Handler, - }, - { - MethodName: "List", - Handler: _GlobalForwardingRules_List_Handler, - }, - { - MethodName: "Patch", - Handler: _GlobalForwardingRules_Patch_Handler, - }, - { - MethodName: "SetLabels", - Handler: _GlobalForwardingRules_SetLabels_Handler, - }, - { - MethodName: "SetTarget", - Handler: _GlobalForwardingRules_SetTarget_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} - -// GlobalNetworkEndpointGroupsClient is the client API for GlobalNetworkEndpointGroups service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type GlobalNetworkEndpointGroupsClient interface { - // Attach a network endpoint to the specified network endpoint group. - AttachNetworkEndpoints(ctx context.Context, in *AttachNetworkEndpointsGlobalNetworkEndpointGroupRequest, opts ...grpc.CallOption) (*Operation, error) - // Deletes the specified network endpoint group.Note that the NEG cannot be deleted if there are backend services referencing it. - Delete(ctx context.Context, in *DeleteGlobalNetworkEndpointGroupRequest, opts ...grpc.CallOption) (*Operation, error) - // Detach the network endpoint from the specified network endpoint group. - DetachNetworkEndpoints(ctx context.Context, in *DetachNetworkEndpointsGlobalNetworkEndpointGroupRequest, opts ...grpc.CallOption) (*Operation, error) - // Returns the specified network endpoint group. - Get(ctx context.Context, in *GetGlobalNetworkEndpointGroupRequest, opts ...grpc.CallOption) (*NetworkEndpointGroup, error) - // Creates a network endpoint group in the specified project using the parameters that are included in the request. - Insert(ctx context.Context, in *InsertGlobalNetworkEndpointGroupRequest, opts ...grpc.CallOption) (*Operation, error) - // Retrieves the list of network endpoint groups that are located in the specified project. - List(ctx context.Context, in *ListGlobalNetworkEndpointGroupsRequest, opts ...grpc.CallOption) (*NetworkEndpointGroupList, error) - // Lists the network endpoints in the specified network endpoint group. - ListNetworkEndpoints(ctx context.Context, in *ListNetworkEndpointsGlobalNetworkEndpointGroupsRequest, opts ...grpc.CallOption) (*NetworkEndpointGroupsListNetworkEndpoints, error) -} - -type globalNetworkEndpointGroupsClient struct { - cc grpc.ClientConnInterface -} - -func NewGlobalNetworkEndpointGroupsClient(cc grpc.ClientConnInterface) GlobalNetworkEndpointGroupsClient { - return &globalNetworkEndpointGroupsClient{cc} -} - -func (c *globalNetworkEndpointGroupsClient) AttachNetworkEndpoints(ctx context.Context, in *AttachNetworkEndpointsGlobalNetworkEndpointGroupRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.GlobalNetworkEndpointGroups/AttachNetworkEndpoints", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *globalNetworkEndpointGroupsClient) Delete(ctx context.Context, in *DeleteGlobalNetworkEndpointGroupRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.GlobalNetworkEndpointGroups/Delete", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *globalNetworkEndpointGroupsClient) DetachNetworkEndpoints(ctx context.Context, in *DetachNetworkEndpointsGlobalNetworkEndpointGroupRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.GlobalNetworkEndpointGroups/DetachNetworkEndpoints", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *globalNetworkEndpointGroupsClient) Get(ctx context.Context, in *GetGlobalNetworkEndpointGroupRequest, opts ...grpc.CallOption) (*NetworkEndpointGroup, error) { - out := new(NetworkEndpointGroup) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.GlobalNetworkEndpointGroups/Get", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *globalNetworkEndpointGroupsClient) Insert(ctx context.Context, in *InsertGlobalNetworkEndpointGroupRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.GlobalNetworkEndpointGroups/Insert", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *globalNetworkEndpointGroupsClient) List(ctx context.Context, in *ListGlobalNetworkEndpointGroupsRequest, opts ...grpc.CallOption) (*NetworkEndpointGroupList, error) { - out := new(NetworkEndpointGroupList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.GlobalNetworkEndpointGroups/List", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *globalNetworkEndpointGroupsClient) ListNetworkEndpoints(ctx context.Context, in *ListNetworkEndpointsGlobalNetworkEndpointGroupsRequest, opts ...grpc.CallOption) (*NetworkEndpointGroupsListNetworkEndpoints, error) { - out := new(NetworkEndpointGroupsListNetworkEndpoints) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.GlobalNetworkEndpointGroups/ListNetworkEndpoints", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// GlobalNetworkEndpointGroupsServer is the server API for GlobalNetworkEndpointGroups service. -type GlobalNetworkEndpointGroupsServer interface { - // Attach a network endpoint to the specified network endpoint group. - AttachNetworkEndpoints(context.Context, *AttachNetworkEndpointsGlobalNetworkEndpointGroupRequest) (*Operation, error) - // Deletes the specified network endpoint group.Note that the NEG cannot be deleted if there are backend services referencing it. - Delete(context.Context, *DeleteGlobalNetworkEndpointGroupRequest) (*Operation, error) - // Detach the network endpoint from the specified network endpoint group. - DetachNetworkEndpoints(context.Context, *DetachNetworkEndpointsGlobalNetworkEndpointGroupRequest) (*Operation, error) - // Returns the specified network endpoint group. - Get(context.Context, *GetGlobalNetworkEndpointGroupRequest) (*NetworkEndpointGroup, error) - // Creates a network endpoint group in the specified project using the parameters that are included in the request. - Insert(context.Context, *InsertGlobalNetworkEndpointGroupRequest) (*Operation, error) - // Retrieves the list of network endpoint groups that are located in the specified project. - List(context.Context, *ListGlobalNetworkEndpointGroupsRequest) (*NetworkEndpointGroupList, error) - // Lists the network endpoints in the specified network endpoint group. - ListNetworkEndpoints(context.Context, *ListNetworkEndpointsGlobalNetworkEndpointGroupsRequest) (*NetworkEndpointGroupsListNetworkEndpoints, error) -} - -// UnimplementedGlobalNetworkEndpointGroupsServer can be embedded to have forward compatible implementations. -type UnimplementedGlobalNetworkEndpointGroupsServer struct { -} - -func (*UnimplementedGlobalNetworkEndpointGroupsServer) AttachNetworkEndpoints(context.Context, *AttachNetworkEndpointsGlobalNetworkEndpointGroupRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method AttachNetworkEndpoints not implemented") -} -func (*UnimplementedGlobalNetworkEndpointGroupsServer) Delete(context.Context, *DeleteGlobalNetworkEndpointGroupRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") -} -func (*UnimplementedGlobalNetworkEndpointGroupsServer) DetachNetworkEndpoints(context.Context, *DetachNetworkEndpointsGlobalNetworkEndpointGroupRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method DetachNetworkEndpoints not implemented") -} -func (*UnimplementedGlobalNetworkEndpointGroupsServer) Get(context.Context, *GetGlobalNetworkEndpointGroupRequest) (*NetworkEndpointGroup, error) { - return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") -} -func (*UnimplementedGlobalNetworkEndpointGroupsServer) Insert(context.Context, *InsertGlobalNetworkEndpointGroupRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Insert not implemented") -} -func (*UnimplementedGlobalNetworkEndpointGroupsServer) List(context.Context, *ListGlobalNetworkEndpointGroupsRequest) (*NetworkEndpointGroupList, error) { - return nil, status.Errorf(codes.Unimplemented, "method List not implemented") -} -func (*UnimplementedGlobalNetworkEndpointGroupsServer) ListNetworkEndpoints(context.Context, *ListNetworkEndpointsGlobalNetworkEndpointGroupsRequest) (*NetworkEndpointGroupsListNetworkEndpoints, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListNetworkEndpoints not implemented") -} - -func RegisterGlobalNetworkEndpointGroupsServer(s *grpc.Server, srv GlobalNetworkEndpointGroupsServer) { - s.RegisterService(&_GlobalNetworkEndpointGroups_serviceDesc, srv) -} - -func _GlobalNetworkEndpointGroups_AttachNetworkEndpoints_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AttachNetworkEndpointsGlobalNetworkEndpointGroupRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GlobalNetworkEndpointGroupsServer).AttachNetworkEndpoints(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.GlobalNetworkEndpointGroups/AttachNetworkEndpoints", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GlobalNetworkEndpointGroupsServer).AttachNetworkEndpoints(ctx, req.(*AttachNetworkEndpointsGlobalNetworkEndpointGroupRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GlobalNetworkEndpointGroups_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteGlobalNetworkEndpointGroupRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GlobalNetworkEndpointGroupsServer).Delete(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.GlobalNetworkEndpointGroups/Delete", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GlobalNetworkEndpointGroupsServer).Delete(ctx, req.(*DeleteGlobalNetworkEndpointGroupRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GlobalNetworkEndpointGroups_DetachNetworkEndpoints_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DetachNetworkEndpointsGlobalNetworkEndpointGroupRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GlobalNetworkEndpointGroupsServer).DetachNetworkEndpoints(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.GlobalNetworkEndpointGroups/DetachNetworkEndpoints", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GlobalNetworkEndpointGroupsServer).DetachNetworkEndpoints(ctx, req.(*DetachNetworkEndpointsGlobalNetworkEndpointGroupRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GlobalNetworkEndpointGroups_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetGlobalNetworkEndpointGroupRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GlobalNetworkEndpointGroupsServer).Get(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.GlobalNetworkEndpointGroups/Get", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GlobalNetworkEndpointGroupsServer).Get(ctx, req.(*GetGlobalNetworkEndpointGroupRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GlobalNetworkEndpointGroups_Insert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(InsertGlobalNetworkEndpointGroupRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GlobalNetworkEndpointGroupsServer).Insert(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.GlobalNetworkEndpointGroups/Insert", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GlobalNetworkEndpointGroupsServer).Insert(ctx, req.(*InsertGlobalNetworkEndpointGroupRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GlobalNetworkEndpointGroups_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListGlobalNetworkEndpointGroupsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GlobalNetworkEndpointGroupsServer).List(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.GlobalNetworkEndpointGroups/List", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GlobalNetworkEndpointGroupsServer).List(ctx, req.(*ListGlobalNetworkEndpointGroupsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GlobalNetworkEndpointGroups_ListNetworkEndpoints_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListNetworkEndpointsGlobalNetworkEndpointGroupsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GlobalNetworkEndpointGroupsServer).ListNetworkEndpoints(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.GlobalNetworkEndpointGroups/ListNetworkEndpoints", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GlobalNetworkEndpointGroupsServer).ListNetworkEndpoints(ctx, req.(*ListNetworkEndpointsGlobalNetworkEndpointGroupsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _GlobalNetworkEndpointGroups_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.GlobalNetworkEndpointGroups", - HandlerType: (*GlobalNetworkEndpointGroupsServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "AttachNetworkEndpoints", - Handler: _GlobalNetworkEndpointGroups_AttachNetworkEndpoints_Handler, - }, - { - MethodName: "Delete", - Handler: _GlobalNetworkEndpointGroups_Delete_Handler, - }, - { - MethodName: "DetachNetworkEndpoints", - Handler: _GlobalNetworkEndpointGroups_DetachNetworkEndpoints_Handler, - }, - { - MethodName: "Get", - Handler: _GlobalNetworkEndpointGroups_Get_Handler, - }, - { - MethodName: "Insert", - Handler: _GlobalNetworkEndpointGroups_Insert_Handler, - }, - { - MethodName: "List", - Handler: _GlobalNetworkEndpointGroups_List_Handler, - }, - { - MethodName: "ListNetworkEndpoints", - Handler: _GlobalNetworkEndpointGroups_ListNetworkEndpoints_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} - -// GlobalOperationsClient is the client API for GlobalOperations service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type GlobalOperationsClient interface { - // Retrieves an aggregated list of all operations. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. - AggregatedList(ctx context.Context, in *AggregatedListGlobalOperationsRequest, opts ...grpc.CallOption) (*OperationAggregatedList, error) - // Deletes the specified Operations resource. - Delete(ctx context.Context, in *DeleteGlobalOperationRequest, opts ...grpc.CallOption) (*DeleteGlobalOperationResponse, error) - // Retrieves the specified Operations resource. - Get(ctx context.Context, in *GetGlobalOperationRequest, opts ...grpc.CallOption) (*Operation, error) - // Retrieves a list of Operation resources contained within the specified project. - List(ctx context.Context, in *ListGlobalOperationsRequest, opts ...grpc.CallOption) (*OperationList, error) - // Waits for the specified Operation resource to return as `DONE` or for the request to approach the 2 minute deadline, and retrieves the specified Operation resource. This method differs from the `GET` method in that it waits for no more than the default deadline (2 minutes) and then returns the current state of the operation, which might be `DONE` or still in progress. This method is called on a best-effort basis. Specifically: - In uncommon cases, when the server is overloaded, the request might return before the default deadline is reached, or might return after zero seconds. - If the default deadline is reached, there is no guarantee that the operation is actually done when the method returns. Be prepared to retry if the operation is not `DONE`. - Wait(ctx context.Context, in *WaitGlobalOperationRequest, opts ...grpc.CallOption) (*Operation, error) -} - -type globalOperationsClient struct { - cc grpc.ClientConnInterface -} - -func NewGlobalOperationsClient(cc grpc.ClientConnInterface) GlobalOperationsClient { - return &globalOperationsClient{cc} -} - -func (c *globalOperationsClient) AggregatedList(ctx context.Context, in *AggregatedListGlobalOperationsRequest, opts ...grpc.CallOption) (*OperationAggregatedList, error) { - out := new(OperationAggregatedList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.GlobalOperations/AggregatedList", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *globalOperationsClient) Delete(ctx context.Context, in *DeleteGlobalOperationRequest, opts ...grpc.CallOption) (*DeleteGlobalOperationResponse, error) { - out := new(DeleteGlobalOperationResponse) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.GlobalOperations/Delete", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *globalOperationsClient) Get(ctx context.Context, in *GetGlobalOperationRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.GlobalOperations/Get", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *globalOperationsClient) List(ctx context.Context, in *ListGlobalOperationsRequest, opts ...grpc.CallOption) (*OperationList, error) { - out := new(OperationList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.GlobalOperations/List", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *globalOperationsClient) Wait(ctx context.Context, in *WaitGlobalOperationRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.GlobalOperations/Wait", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// GlobalOperationsServer is the server API for GlobalOperations service. -type GlobalOperationsServer interface { - // Retrieves an aggregated list of all operations. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. - AggregatedList(context.Context, *AggregatedListGlobalOperationsRequest) (*OperationAggregatedList, error) - // Deletes the specified Operations resource. - Delete(context.Context, *DeleteGlobalOperationRequest) (*DeleteGlobalOperationResponse, error) - // Retrieves the specified Operations resource. - Get(context.Context, *GetGlobalOperationRequest) (*Operation, error) - // Retrieves a list of Operation resources contained within the specified project. - List(context.Context, *ListGlobalOperationsRequest) (*OperationList, error) - // Waits for the specified Operation resource to return as `DONE` or for the request to approach the 2 minute deadline, and retrieves the specified Operation resource. This method differs from the `GET` method in that it waits for no more than the default deadline (2 minutes) and then returns the current state of the operation, which might be `DONE` or still in progress. This method is called on a best-effort basis. Specifically: - In uncommon cases, when the server is overloaded, the request might return before the default deadline is reached, or might return after zero seconds. - If the default deadline is reached, there is no guarantee that the operation is actually done when the method returns. Be prepared to retry if the operation is not `DONE`. - Wait(context.Context, *WaitGlobalOperationRequest) (*Operation, error) -} - -// UnimplementedGlobalOperationsServer can be embedded to have forward compatible implementations. -type UnimplementedGlobalOperationsServer struct { -} - -func (*UnimplementedGlobalOperationsServer) AggregatedList(context.Context, *AggregatedListGlobalOperationsRequest) (*OperationAggregatedList, error) { - return nil, status.Errorf(codes.Unimplemented, "method AggregatedList not implemented") -} -func (*UnimplementedGlobalOperationsServer) Delete(context.Context, *DeleteGlobalOperationRequest) (*DeleteGlobalOperationResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") -} -func (*UnimplementedGlobalOperationsServer) Get(context.Context, *GetGlobalOperationRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") -} -func (*UnimplementedGlobalOperationsServer) List(context.Context, *ListGlobalOperationsRequest) (*OperationList, error) { - return nil, status.Errorf(codes.Unimplemented, "method List not implemented") -} -func (*UnimplementedGlobalOperationsServer) Wait(context.Context, *WaitGlobalOperationRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Wait not implemented") -} - -func RegisterGlobalOperationsServer(s *grpc.Server, srv GlobalOperationsServer) { - s.RegisterService(&_GlobalOperations_serviceDesc, srv) -} - -func _GlobalOperations_AggregatedList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AggregatedListGlobalOperationsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GlobalOperationsServer).AggregatedList(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.GlobalOperations/AggregatedList", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GlobalOperationsServer).AggregatedList(ctx, req.(*AggregatedListGlobalOperationsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GlobalOperations_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteGlobalOperationRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GlobalOperationsServer).Delete(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.GlobalOperations/Delete", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GlobalOperationsServer).Delete(ctx, req.(*DeleteGlobalOperationRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GlobalOperations_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetGlobalOperationRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GlobalOperationsServer).Get(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.GlobalOperations/Get", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GlobalOperationsServer).Get(ctx, req.(*GetGlobalOperationRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GlobalOperations_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListGlobalOperationsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GlobalOperationsServer).List(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.GlobalOperations/List", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GlobalOperationsServer).List(ctx, req.(*ListGlobalOperationsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GlobalOperations_Wait_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(WaitGlobalOperationRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GlobalOperationsServer).Wait(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.GlobalOperations/Wait", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GlobalOperationsServer).Wait(ctx, req.(*WaitGlobalOperationRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _GlobalOperations_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.GlobalOperations", - HandlerType: (*GlobalOperationsServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "AggregatedList", - Handler: _GlobalOperations_AggregatedList_Handler, - }, - { - MethodName: "Delete", - Handler: _GlobalOperations_Delete_Handler, - }, - { - MethodName: "Get", - Handler: _GlobalOperations_Get_Handler, - }, - { - MethodName: "List", - Handler: _GlobalOperations_List_Handler, - }, - { - MethodName: "Wait", - Handler: _GlobalOperations_Wait_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} - -// GlobalOrganizationOperationsClient is the client API for GlobalOrganizationOperations service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type GlobalOrganizationOperationsClient interface { - // Deletes the specified Operations resource. - Delete(ctx context.Context, in *DeleteGlobalOrganizationOperationRequest, opts ...grpc.CallOption) (*DeleteGlobalOrganizationOperationResponse, error) - // Retrieves the specified Operations resource. Gets a list of operations by making a `list()` request. - Get(ctx context.Context, in *GetGlobalOrganizationOperationRequest, opts ...grpc.CallOption) (*Operation, error) - // Retrieves a list of Operation resources contained within the specified organization. - List(ctx context.Context, in *ListGlobalOrganizationOperationsRequest, opts ...grpc.CallOption) (*OperationList, error) -} - -type globalOrganizationOperationsClient struct { - cc grpc.ClientConnInterface -} - -func NewGlobalOrganizationOperationsClient(cc grpc.ClientConnInterface) GlobalOrganizationOperationsClient { - return &globalOrganizationOperationsClient{cc} -} - -func (c *globalOrganizationOperationsClient) Delete(ctx context.Context, in *DeleteGlobalOrganizationOperationRequest, opts ...grpc.CallOption) (*DeleteGlobalOrganizationOperationResponse, error) { - out := new(DeleteGlobalOrganizationOperationResponse) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.GlobalOrganizationOperations/Delete", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *globalOrganizationOperationsClient) Get(ctx context.Context, in *GetGlobalOrganizationOperationRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.GlobalOrganizationOperations/Get", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *globalOrganizationOperationsClient) List(ctx context.Context, in *ListGlobalOrganizationOperationsRequest, opts ...grpc.CallOption) (*OperationList, error) { - out := new(OperationList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.GlobalOrganizationOperations/List", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// GlobalOrganizationOperationsServer is the server API for GlobalOrganizationOperations service. -type GlobalOrganizationOperationsServer interface { - // Deletes the specified Operations resource. - Delete(context.Context, *DeleteGlobalOrganizationOperationRequest) (*DeleteGlobalOrganizationOperationResponse, error) - // Retrieves the specified Operations resource. Gets a list of operations by making a `list()` request. - Get(context.Context, *GetGlobalOrganizationOperationRequest) (*Operation, error) - // Retrieves a list of Operation resources contained within the specified organization. - List(context.Context, *ListGlobalOrganizationOperationsRequest) (*OperationList, error) -} - -// UnimplementedGlobalOrganizationOperationsServer can be embedded to have forward compatible implementations. -type UnimplementedGlobalOrganizationOperationsServer struct { -} - -func (*UnimplementedGlobalOrganizationOperationsServer) Delete(context.Context, *DeleteGlobalOrganizationOperationRequest) (*DeleteGlobalOrganizationOperationResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") -} -func (*UnimplementedGlobalOrganizationOperationsServer) Get(context.Context, *GetGlobalOrganizationOperationRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") -} -func (*UnimplementedGlobalOrganizationOperationsServer) List(context.Context, *ListGlobalOrganizationOperationsRequest) (*OperationList, error) { - return nil, status.Errorf(codes.Unimplemented, "method List not implemented") -} - -func RegisterGlobalOrganizationOperationsServer(s *grpc.Server, srv GlobalOrganizationOperationsServer) { - s.RegisterService(&_GlobalOrganizationOperations_serviceDesc, srv) -} - -func _GlobalOrganizationOperations_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteGlobalOrganizationOperationRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GlobalOrganizationOperationsServer).Delete(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.GlobalOrganizationOperations/Delete", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GlobalOrganizationOperationsServer).Delete(ctx, req.(*DeleteGlobalOrganizationOperationRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GlobalOrganizationOperations_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetGlobalOrganizationOperationRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GlobalOrganizationOperationsServer).Get(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.GlobalOrganizationOperations/Get", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GlobalOrganizationOperationsServer).Get(ctx, req.(*GetGlobalOrganizationOperationRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GlobalOrganizationOperations_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListGlobalOrganizationOperationsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GlobalOrganizationOperationsServer).List(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.GlobalOrganizationOperations/List", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GlobalOrganizationOperationsServer).List(ctx, req.(*ListGlobalOrganizationOperationsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _GlobalOrganizationOperations_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.GlobalOrganizationOperations", - HandlerType: (*GlobalOrganizationOperationsServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "Delete", - Handler: _GlobalOrganizationOperations_Delete_Handler, - }, - { - MethodName: "Get", - Handler: _GlobalOrganizationOperations_Get_Handler, - }, - { - MethodName: "List", - Handler: _GlobalOrganizationOperations_List_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} - -// GlobalPublicDelegatedPrefixesClient is the client API for GlobalPublicDelegatedPrefixes service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type GlobalPublicDelegatedPrefixesClient interface { - // Deletes the specified global PublicDelegatedPrefix. - Delete(ctx context.Context, in *DeleteGlobalPublicDelegatedPrefixeRequest, opts ...grpc.CallOption) (*Operation, error) - // Returns the specified global PublicDelegatedPrefix resource. - Get(ctx context.Context, in *GetGlobalPublicDelegatedPrefixeRequest, opts ...grpc.CallOption) (*PublicDelegatedPrefix, error) - // Creates a global PublicDelegatedPrefix in the specified project using the parameters that are included in the request. - Insert(ctx context.Context, in *InsertGlobalPublicDelegatedPrefixeRequest, opts ...grpc.CallOption) (*Operation, error) - // Lists the global PublicDelegatedPrefixes for a project. - List(ctx context.Context, in *ListGlobalPublicDelegatedPrefixesRequest, opts ...grpc.CallOption) (*PublicDelegatedPrefixList, error) - // Patches the specified global PublicDelegatedPrefix resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules. - Patch(ctx context.Context, in *PatchGlobalPublicDelegatedPrefixeRequest, opts ...grpc.CallOption) (*Operation, error) -} - -type globalPublicDelegatedPrefixesClient struct { - cc grpc.ClientConnInterface -} - -func NewGlobalPublicDelegatedPrefixesClient(cc grpc.ClientConnInterface) GlobalPublicDelegatedPrefixesClient { - return &globalPublicDelegatedPrefixesClient{cc} -} - -func (c *globalPublicDelegatedPrefixesClient) Delete(ctx context.Context, in *DeleteGlobalPublicDelegatedPrefixeRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.GlobalPublicDelegatedPrefixes/Delete", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *globalPublicDelegatedPrefixesClient) Get(ctx context.Context, in *GetGlobalPublicDelegatedPrefixeRequest, opts ...grpc.CallOption) (*PublicDelegatedPrefix, error) { - out := new(PublicDelegatedPrefix) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.GlobalPublicDelegatedPrefixes/Get", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *globalPublicDelegatedPrefixesClient) Insert(ctx context.Context, in *InsertGlobalPublicDelegatedPrefixeRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.GlobalPublicDelegatedPrefixes/Insert", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *globalPublicDelegatedPrefixesClient) List(ctx context.Context, in *ListGlobalPublicDelegatedPrefixesRequest, opts ...grpc.CallOption) (*PublicDelegatedPrefixList, error) { - out := new(PublicDelegatedPrefixList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.GlobalPublicDelegatedPrefixes/List", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *globalPublicDelegatedPrefixesClient) Patch(ctx context.Context, in *PatchGlobalPublicDelegatedPrefixeRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.GlobalPublicDelegatedPrefixes/Patch", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// GlobalPublicDelegatedPrefixesServer is the server API for GlobalPublicDelegatedPrefixes service. -type GlobalPublicDelegatedPrefixesServer interface { - // Deletes the specified global PublicDelegatedPrefix. - Delete(context.Context, *DeleteGlobalPublicDelegatedPrefixeRequest) (*Operation, error) - // Returns the specified global PublicDelegatedPrefix resource. - Get(context.Context, *GetGlobalPublicDelegatedPrefixeRequest) (*PublicDelegatedPrefix, error) - // Creates a global PublicDelegatedPrefix in the specified project using the parameters that are included in the request. - Insert(context.Context, *InsertGlobalPublicDelegatedPrefixeRequest) (*Operation, error) - // Lists the global PublicDelegatedPrefixes for a project. - List(context.Context, *ListGlobalPublicDelegatedPrefixesRequest) (*PublicDelegatedPrefixList, error) - // Patches the specified global PublicDelegatedPrefix resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules. - Patch(context.Context, *PatchGlobalPublicDelegatedPrefixeRequest) (*Operation, error) -} - -// UnimplementedGlobalPublicDelegatedPrefixesServer can be embedded to have forward compatible implementations. -type UnimplementedGlobalPublicDelegatedPrefixesServer struct { -} - -func (*UnimplementedGlobalPublicDelegatedPrefixesServer) Delete(context.Context, *DeleteGlobalPublicDelegatedPrefixeRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") -} -func (*UnimplementedGlobalPublicDelegatedPrefixesServer) Get(context.Context, *GetGlobalPublicDelegatedPrefixeRequest) (*PublicDelegatedPrefix, error) { - return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") -} -func (*UnimplementedGlobalPublicDelegatedPrefixesServer) Insert(context.Context, *InsertGlobalPublicDelegatedPrefixeRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Insert not implemented") -} -func (*UnimplementedGlobalPublicDelegatedPrefixesServer) List(context.Context, *ListGlobalPublicDelegatedPrefixesRequest) (*PublicDelegatedPrefixList, error) { - return nil, status.Errorf(codes.Unimplemented, "method List not implemented") -} -func (*UnimplementedGlobalPublicDelegatedPrefixesServer) Patch(context.Context, *PatchGlobalPublicDelegatedPrefixeRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Patch not implemented") -} - -func RegisterGlobalPublicDelegatedPrefixesServer(s *grpc.Server, srv GlobalPublicDelegatedPrefixesServer) { - s.RegisterService(&_GlobalPublicDelegatedPrefixes_serviceDesc, srv) -} - -func _GlobalPublicDelegatedPrefixes_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteGlobalPublicDelegatedPrefixeRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GlobalPublicDelegatedPrefixesServer).Delete(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.GlobalPublicDelegatedPrefixes/Delete", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GlobalPublicDelegatedPrefixesServer).Delete(ctx, req.(*DeleteGlobalPublicDelegatedPrefixeRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GlobalPublicDelegatedPrefixes_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetGlobalPublicDelegatedPrefixeRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GlobalPublicDelegatedPrefixesServer).Get(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.GlobalPublicDelegatedPrefixes/Get", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GlobalPublicDelegatedPrefixesServer).Get(ctx, req.(*GetGlobalPublicDelegatedPrefixeRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GlobalPublicDelegatedPrefixes_Insert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(InsertGlobalPublicDelegatedPrefixeRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GlobalPublicDelegatedPrefixesServer).Insert(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.GlobalPublicDelegatedPrefixes/Insert", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GlobalPublicDelegatedPrefixesServer).Insert(ctx, req.(*InsertGlobalPublicDelegatedPrefixeRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GlobalPublicDelegatedPrefixes_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListGlobalPublicDelegatedPrefixesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GlobalPublicDelegatedPrefixesServer).List(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.GlobalPublicDelegatedPrefixes/List", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GlobalPublicDelegatedPrefixesServer).List(ctx, req.(*ListGlobalPublicDelegatedPrefixesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GlobalPublicDelegatedPrefixes_Patch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PatchGlobalPublicDelegatedPrefixeRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GlobalPublicDelegatedPrefixesServer).Patch(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.GlobalPublicDelegatedPrefixes/Patch", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GlobalPublicDelegatedPrefixesServer).Patch(ctx, req.(*PatchGlobalPublicDelegatedPrefixeRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _GlobalPublicDelegatedPrefixes_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.GlobalPublicDelegatedPrefixes", - HandlerType: (*GlobalPublicDelegatedPrefixesServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "Delete", - Handler: _GlobalPublicDelegatedPrefixes_Delete_Handler, - }, - { - MethodName: "Get", - Handler: _GlobalPublicDelegatedPrefixes_Get_Handler, - }, - { - MethodName: "Insert", - Handler: _GlobalPublicDelegatedPrefixes_Insert_Handler, - }, - { - MethodName: "List", - Handler: _GlobalPublicDelegatedPrefixes_List_Handler, - }, - { - MethodName: "Patch", - Handler: _GlobalPublicDelegatedPrefixes_Patch_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} - -// HealthChecksClient is the client API for HealthChecks service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type HealthChecksClient interface { - // Retrieves the list of all HealthCheck resources, regional and global, available to the specified project. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. - AggregatedList(ctx context.Context, in *AggregatedListHealthChecksRequest, opts ...grpc.CallOption) (*HealthChecksAggregatedList, error) - // Deletes the specified HealthCheck resource. - Delete(ctx context.Context, in *DeleteHealthCheckRequest, opts ...grpc.CallOption) (*Operation, error) - // Returns the specified HealthCheck resource. - Get(ctx context.Context, in *GetHealthCheckRequest, opts ...grpc.CallOption) (*HealthCheck, error) - // Creates a HealthCheck resource in the specified project using the data included in the request. - Insert(ctx context.Context, in *InsertHealthCheckRequest, opts ...grpc.CallOption) (*Operation, error) - // Retrieves the list of HealthCheck resources available to the specified project. - List(ctx context.Context, in *ListHealthChecksRequest, opts ...grpc.CallOption) (*HealthCheckList, error) - // Updates a HealthCheck resource in the specified project using the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. - Patch(ctx context.Context, in *PatchHealthCheckRequest, opts ...grpc.CallOption) (*Operation, error) - // Updates a HealthCheck resource in the specified project using the data included in the request. - Update(ctx context.Context, in *UpdateHealthCheckRequest, opts ...grpc.CallOption) (*Operation, error) -} - -type healthChecksClient struct { - cc grpc.ClientConnInterface -} - -func NewHealthChecksClient(cc grpc.ClientConnInterface) HealthChecksClient { - return &healthChecksClient{cc} -} - -func (c *healthChecksClient) AggregatedList(ctx context.Context, in *AggregatedListHealthChecksRequest, opts ...grpc.CallOption) (*HealthChecksAggregatedList, error) { - out := new(HealthChecksAggregatedList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.HealthChecks/AggregatedList", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *healthChecksClient) Delete(ctx context.Context, in *DeleteHealthCheckRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.HealthChecks/Delete", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *healthChecksClient) Get(ctx context.Context, in *GetHealthCheckRequest, opts ...grpc.CallOption) (*HealthCheck, error) { - out := new(HealthCheck) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.HealthChecks/Get", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *healthChecksClient) Insert(ctx context.Context, in *InsertHealthCheckRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.HealthChecks/Insert", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *healthChecksClient) List(ctx context.Context, in *ListHealthChecksRequest, opts ...grpc.CallOption) (*HealthCheckList, error) { - out := new(HealthCheckList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.HealthChecks/List", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *healthChecksClient) Patch(ctx context.Context, in *PatchHealthCheckRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.HealthChecks/Patch", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *healthChecksClient) Update(ctx context.Context, in *UpdateHealthCheckRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.HealthChecks/Update", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// HealthChecksServer is the server API for HealthChecks service. -type HealthChecksServer interface { - // Retrieves the list of all HealthCheck resources, regional and global, available to the specified project. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. - AggregatedList(context.Context, *AggregatedListHealthChecksRequest) (*HealthChecksAggregatedList, error) - // Deletes the specified HealthCheck resource. - Delete(context.Context, *DeleteHealthCheckRequest) (*Operation, error) - // Returns the specified HealthCheck resource. - Get(context.Context, *GetHealthCheckRequest) (*HealthCheck, error) - // Creates a HealthCheck resource in the specified project using the data included in the request. - Insert(context.Context, *InsertHealthCheckRequest) (*Operation, error) - // Retrieves the list of HealthCheck resources available to the specified project. - List(context.Context, *ListHealthChecksRequest) (*HealthCheckList, error) - // Updates a HealthCheck resource in the specified project using the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. - Patch(context.Context, *PatchHealthCheckRequest) (*Operation, error) - // Updates a HealthCheck resource in the specified project using the data included in the request. - Update(context.Context, *UpdateHealthCheckRequest) (*Operation, error) -} - -// UnimplementedHealthChecksServer can be embedded to have forward compatible implementations. -type UnimplementedHealthChecksServer struct { -} - -func (*UnimplementedHealthChecksServer) AggregatedList(context.Context, *AggregatedListHealthChecksRequest) (*HealthChecksAggregatedList, error) { - return nil, status.Errorf(codes.Unimplemented, "method AggregatedList not implemented") -} -func (*UnimplementedHealthChecksServer) Delete(context.Context, *DeleteHealthCheckRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") -} -func (*UnimplementedHealthChecksServer) Get(context.Context, *GetHealthCheckRequest) (*HealthCheck, error) { - return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") -} -func (*UnimplementedHealthChecksServer) Insert(context.Context, *InsertHealthCheckRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Insert not implemented") -} -func (*UnimplementedHealthChecksServer) List(context.Context, *ListHealthChecksRequest) (*HealthCheckList, error) { - return nil, status.Errorf(codes.Unimplemented, "method List not implemented") -} -func (*UnimplementedHealthChecksServer) Patch(context.Context, *PatchHealthCheckRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Patch not implemented") -} -func (*UnimplementedHealthChecksServer) Update(context.Context, *UpdateHealthCheckRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Update not implemented") -} - -func RegisterHealthChecksServer(s *grpc.Server, srv HealthChecksServer) { - s.RegisterService(&_HealthChecks_serviceDesc, srv) -} - -func _HealthChecks_AggregatedList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AggregatedListHealthChecksRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(HealthChecksServer).AggregatedList(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.HealthChecks/AggregatedList", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(HealthChecksServer).AggregatedList(ctx, req.(*AggregatedListHealthChecksRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _HealthChecks_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteHealthCheckRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(HealthChecksServer).Delete(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.HealthChecks/Delete", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(HealthChecksServer).Delete(ctx, req.(*DeleteHealthCheckRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _HealthChecks_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetHealthCheckRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(HealthChecksServer).Get(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.HealthChecks/Get", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(HealthChecksServer).Get(ctx, req.(*GetHealthCheckRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _HealthChecks_Insert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(InsertHealthCheckRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(HealthChecksServer).Insert(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.HealthChecks/Insert", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(HealthChecksServer).Insert(ctx, req.(*InsertHealthCheckRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _HealthChecks_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListHealthChecksRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(HealthChecksServer).List(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.HealthChecks/List", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(HealthChecksServer).List(ctx, req.(*ListHealthChecksRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _HealthChecks_Patch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PatchHealthCheckRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(HealthChecksServer).Patch(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.HealthChecks/Patch", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(HealthChecksServer).Patch(ctx, req.(*PatchHealthCheckRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _HealthChecks_Update_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateHealthCheckRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(HealthChecksServer).Update(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.HealthChecks/Update", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(HealthChecksServer).Update(ctx, req.(*UpdateHealthCheckRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _HealthChecks_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.HealthChecks", - HandlerType: (*HealthChecksServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "AggregatedList", - Handler: _HealthChecks_AggregatedList_Handler, - }, - { - MethodName: "Delete", - Handler: _HealthChecks_Delete_Handler, - }, - { - MethodName: "Get", - Handler: _HealthChecks_Get_Handler, - }, - { - MethodName: "Insert", - Handler: _HealthChecks_Insert_Handler, - }, - { - MethodName: "List", - Handler: _HealthChecks_List_Handler, - }, - { - MethodName: "Patch", - Handler: _HealthChecks_Patch_Handler, - }, - { - MethodName: "Update", - Handler: _HealthChecks_Update_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} - -// ImageFamilyViewsClient is the client API for ImageFamilyViews service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type ImageFamilyViewsClient interface { - // Returns the latest image that is part of an image family, is not deprecated and is rolled out in the specified zone. - Get(ctx context.Context, in *GetImageFamilyViewRequest, opts ...grpc.CallOption) (*ImageFamilyView, error) -} - -type imageFamilyViewsClient struct { - cc grpc.ClientConnInterface -} - -func NewImageFamilyViewsClient(cc grpc.ClientConnInterface) ImageFamilyViewsClient { - return &imageFamilyViewsClient{cc} -} - -func (c *imageFamilyViewsClient) Get(ctx context.Context, in *GetImageFamilyViewRequest, opts ...grpc.CallOption) (*ImageFamilyView, error) { - out := new(ImageFamilyView) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.ImageFamilyViews/Get", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// ImageFamilyViewsServer is the server API for ImageFamilyViews service. -type ImageFamilyViewsServer interface { - // Returns the latest image that is part of an image family, is not deprecated and is rolled out in the specified zone. - Get(context.Context, *GetImageFamilyViewRequest) (*ImageFamilyView, error) -} - -// UnimplementedImageFamilyViewsServer can be embedded to have forward compatible implementations. -type UnimplementedImageFamilyViewsServer struct { -} - -func (*UnimplementedImageFamilyViewsServer) Get(context.Context, *GetImageFamilyViewRequest) (*ImageFamilyView, error) { - return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") -} - -func RegisterImageFamilyViewsServer(s *grpc.Server, srv ImageFamilyViewsServer) { - s.RegisterService(&_ImageFamilyViews_serviceDesc, srv) -} - -func _ImageFamilyViews_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetImageFamilyViewRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ImageFamilyViewsServer).Get(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.ImageFamilyViews/Get", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ImageFamilyViewsServer).Get(ctx, req.(*GetImageFamilyViewRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _ImageFamilyViews_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.ImageFamilyViews", - HandlerType: (*ImageFamilyViewsServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "Get", - Handler: _ImageFamilyViews_Get_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} - -// ImagesClient is the client API for Images service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type ImagesClient interface { - // Deletes the specified image. - Delete(ctx context.Context, in *DeleteImageRequest, opts ...grpc.CallOption) (*Operation, error) - // Sets the deprecation status of an image. If an empty request body is given, clears the deprecation status instead. - Deprecate(ctx context.Context, in *DeprecateImageRequest, opts ...grpc.CallOption) (*Operation, error) - // Returns the specified image. - Get(ctx context.Context, in *GetImageRequest, opts ...grpc.CallOption) (*Image, error) - // Returns the latest image that is part of an image family and is not deprecated. For more information on image families, see Public image families documentation. - GetFromFamily(ctx context.Context, in *GetFromFamilyImageRequest, opts ...grpc.CallOption) (*Image, error) - // Gets the access control policy for a resource. May be empty if no such policy or resource exists. - GetIamPolicy(ctx context.Context, in *GetIamPolicyImageRequest, opts ...grpc.CallOption) (*Policy, error) - // Creates an image in the specified project using the data included in the request. - Insert(ctx context.Context, in *InsertImageRequest, opts ...grpc.CallOption) (*Operation, error) - // Retrieves the list of custom images available to the specified project. Custom images are images you create that belong to your project. This method does not get any images that belong to other projects, including publicly-available images, like Debian 8. If you want to get a list of publicly-available images, use this method to make a request to the respective image project, such as debian-cloud or windows-cloud. - List(ctx context.Context, in *ListImagesRequest, opts ...grpc.CallOption) (*ImageList, error) - // Patches the specified image with the data included in the request. Only the following fields can be modified: family, description, deprecation status. - Patch(ctx context.Context, in *PatchImageRequest, opts ...grpc.CallOption) (*Operation, error) - // Sets the access control policy on the specified resource. Replaces any existing policy. - SetIamPolicy(ctx context.Context, in *SetIamPolicyImageRequest, opts ...grpc.CallOption) (*Policy, error) - // Sets the labels on an image. To learn more about labels, read the Labeling Resources documentation. - SetLabels(ctx context.Context, in *SetLabelsImageRequest, opts ...grpc.CallOption) (*Operation, error) - // Returns permissions that a caller has on the specified resource. - TestIamPermissions(ctx context.Context, in *TestIamPermissionsImageRequest, opts ...grpc.CallOption) (*TestPermissionsResponse, error) -} - -type imagesClient struct { - cc grpc.ClientConnInterface -} - -func NewImagesClient(cc grpc.ClientConnInterface) ImagesClient { - return &imagesClient{cc} -} - -func (c *imagesClient) Delete(ctx context.Context, in *DeleteImageRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Images/Delete", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *imagesClient) Deprecate(ctx context.Context, in *DeprecateImageRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Images/Deprecate", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *imagesClient) Get(ctx context.Context, in *GetImageRequest, opts ...grpc.CallOption) (*Image, error) { - out := new(Image) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Images/Get", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *imagesClient) GetFromFamily(ctx context.Context, in *GetFromFamilyImageRequest, opts ...grpc.CallOption) (*Image, error) { - out := new(Image) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Images/GetFromFamily", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *imagesClient) GetIamPolicy(ctx context.Context, in *GetIamPolicyImageRequest, opts ...grpc.CallOption) (*Policy, error) { - out := new(Policy) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Images/GetIamPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *imagesClient) Insert(ctx context.Context, in *InsertImageRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Images/Insert", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *imagesClient) List(ctx context.Context, in *ListImagesRequest, opts ...grpc.CallOption) (*ImageList, error) { - out := new(ImageList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Images/List", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *imagesClient) Patch(ctx context.Context, in *PatchImageRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Images/Patch", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *imagesClient) SetIamPolicy(ctx context.Context, in *SetIamPolicyImageRequest, opts ...grpc.CallOption) (*Policy, error) { - out := new(Policy) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Images/SetIamPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *imagesClient) SetLabels(ctx context.Context, in *SetLabelsImageRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Images/SetLabels", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *imagesClient) TestIamPermissions(ctx context.Context, in *TestIamPermissionsImageRequest, opts ...grpc.CallOption) (*TestPermissionsResponse, error) { - out := new(TestPermissionsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Images/TestIamPermissions", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// ImagesServer is the server API for Images service. -type ImagesServer interface { - // Deletes the specified image. - Delete(context.Context, *DeleteImageRequest) (*Operation, error) - // Sets the deprecation status of an image. If an empty request body is given, clears the deprecation status instead. - Deprecate(context.Context, *DeprecateImageRequest) (*Operation, error) - // Returns the specified image. - Get(context.Context, *GetImageRequest) (*Image, error) - // Returns the latest image that is part of an image family and is not deprecated. For more information on image families, see Public image families documentation. - GetFromFamily(context.Context, *GetFromFamilyImageRequest) (*Image, error) - // Gets the access control policy for a resource. May be empty if no such policy or resource exists. - GetIamPolicy(context.Context, *GetIamPolicyImageRequest) (*Policy, error) - // Creates an image in the specified project using the data included in the request. - Insert(context.Context, *InsertImageRequest) (*Operation, error) - // Retrieves the list of custom images available to the specified project. Custom images are images you create that belong to your project. This method does not get any images that belong to other projects, including publicly-available images, like Debian 8. If you want to get a list of publicly-available images, use this method to make a request to the respective image project, such as debian-cloud or windows-cloud. - List(context.Context, *ListImagesRequest) (*ImageList, error) - // Patches the specified image with the data included in the request. Only the following fields can be modified: family, description, deprecation status. - Patch(context.Context, *PatchImageRequest) (*Operation, error) - // Sets the access control policy on the specified resource. Replaces any existing policy. - SetIamPolicy(context.Context, *SetIamPolicyImageRequest) (*Policy, error) - // Sets the labels on an image. To learn more about labels, read the Labeling Resources documentation. - SetLabels(context.Context, *SetLabelsImageRequest) (*Operation, error) - // Returns permissions that a caller has on the specified resource. - TestIamPermissions(context.Context, *TestIamPermissionsImageRequest) (*TestPermissionsResponse, error) -} - -// UnimplementedImagesServer can be embedded to have forward compatible implementations. -type UnimplementedImagesServer struct { -} - -func (*UnimplementedImagesServer) Delete(context.Context, *DeleteImageRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") -} -func (*UnimplementedImagesServer) Deprecate(context.Context, *DeprecateImageRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Deprecate not implemented") -} -func (*UnimplementedImagesServer) Get(context.Context, *GetImageRequest) (*Image, error) { - return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") -} -func (*UnimplementedImagesServer) GetFromFamily(context.Context, *GetFromFamilyImageRequest) (*Image, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetFromFamily not implemented") -} -func (*UnimplementedImagesServer) GetIamPolicy(context.Context, *GetIamPolicyImageRequest) (*Policy, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetIamPolicy not implemented") -} -func (*UnimplementedImagesServer) Insert(context.Context, *InsertImageRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Insert not implemented") -} -func (*UnimplementedImagesServer) List(context.Context, *ListImagesRequest) (*ImageList, error) { - return nil, status.Errorf(codes.Unimplemented, "method List not implemented") -} -func (*UnimplementedImagesServer) Patch(context.Context, *PatchImageRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Patch not implemented") -} -func (*UnimplementedImagesServer) SetIamPolicy(context.Context, *SetIamPolicyImageRequest) (*Policy, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetIamPolicy not implemented") -} -func (*UnimplementedImagesServer) SetLabels(context.Context, *SetLabelsImageRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetLabels not implemented") -} -func (*UnimplementedImagesServer) TestIamPermissions(context.Context, *TestIamPermissionsImageRequest) (*TestPermissionsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method TestIamPermissions not implemented") -} - -func RegisterImagesServer(s *grpc.Server, srv ImagesServer) { - s.RegisterService(&_Images_serviceDesc, srv) -} - -func _Images_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteImageRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ImagesServer).Delete(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Images/Delete", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ImagesServer).Delete(ctx, req.(*DeleteImageRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Images_Deprecate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeprecateImageRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ImagesServer).Deprecate(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Images/Deprecate", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ImagesServer).Deprecate(ctx, req.(*DeprecateImageRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Images_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetImageRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ImagesServer).Get(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Images/Get", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ImagesServer).Get(ctx, req.(*GetImageRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Images_GetFromFamily_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetFromFamilyImageRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ImagesServer).GetFromFamily(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Images/GetFromFamily", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ImagesServer).GetFromFamily(ctx, req.(*GetFromFamilyImageRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Images_GetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetIamPolicyImageRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ImagesServer).GetIamPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Images/GetIamPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ImagesServer).GetIamPolicy(ctx, req.(*GetIamPolicyImageRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Images_Insert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(InsertImageRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ImagesServer).Insert(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Images/Insert", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ImagesServer).Insert(ctx, req.(*InsertImageRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Images_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListImagesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ImagesServer).List(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Images/List", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ImagesServer).List(ctx, req.(*ListImagesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Images_Patch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PatchImageRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ImagesServer).Patch(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Images/Patch", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ImagesServer).Patch(ctx, req.(*PatchImageRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Images_SetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetIamPolicyImageRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ImagesServer).SetIamPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Images/SetIamPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ImagesServer).SetIamPolicy(ctx, req.(*SetIamPolicyImageRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Images_SetLabels_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetLabelsImageRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ImagesServer).SetLabels(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Images/SetLabels", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ImagesServer).SetLabels(ctx, req.(*SetLabelsImageRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Images_TestIamPermissions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(TestIamPermissionsImageRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ImagesServer).TestIamPermissions(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Images/TestIamPermissions", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ImagesServer).TestIamPermissions(ctx, req.(*TestIamPermissionsImageRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _Images_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.Images", - HandlerType: (*ImagesServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "Delete", - Handler: _Images_Delete_Handler, - }, - { - MethodName: "Deprecate", - Handler: _Images_Deprecate_Handler, - }, - { - MethodName: "Get", - Handler: _Images_Get_Handler, - }, - { - MethodName: "GetFromFamily", - Handler: _Images_GetFromFamily_Handler, - }, - { - MethodName: "GetIamPolicy", - Handler: _Images_GetIamPolicy_Handler, - }, - { - MethodName: "Insert", - Handler: _Images_Insert_Handler, - }, - { - MethodName: "List", - Handler: _Images_List_Handler, - }, - { - MethodName: "Patch", - Handler: _Images_Patch_Handler, - }, - { - MethodName: "SetIamPolicy", - Handler: _Images_SetIamPolicy_Handler, - }, - { - MethodName: "SetLabels", - Handler: _Images_SetLabels_Handler, - }, - { - MethodName: "TestIamPermissions", - Handler: _Images_TestIamPermissions_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} - -// InstanceGroupManagerResizeRequestsClient is the client API for InstanceGroupManagerResizeRequests service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type InstanceGroupManagerResizeRequestsClient interface { - // Cancels the specified resize request and removes it from the queue. Cancelled resize request does no longer wait for the resources to be provisioned. Cancel is only possible for requests that are accepted in the queue. - Cancel(ctx context.Context, in *CancelInstanceGroupManagerResizeRequestRequest, opts ...grpc.CallOption) (*Operation, error) - // Deletes the specified, inactive resize request. Requests that are still active cannot be deleted. Deleting request does not delete instances that were provisioned previously. - Delete(ctx context.Context, in *DeleteInstanceGroupManagerResizeRequestRequest, opts ...grpc.CallOption) (*Operation, error) - // Returns all of the details about the specified resize request. - Get(ctx context.Context, in *GetInstanceGroupManagerResizeRequestRequest, opts ...grpc.CallOption) (*InstanceGroupManagerResizeRequest, error) - // Creates a new resize request that starts provisioning VMs immediately or queues VM creation. - Insert(ctx context.Context, in *InsertInstanceGroupManagerResizeRequestRequest, opts ...grpc.CallOption) (*Operation, error) - // Retrieves a list of resize requests that are contained in the managed instance group. - List(ctx context.Context, in *ListInstanceGroupManagerResizeRequestsRequest, opts ...grpc.CallOption) (*InstanceGroupManagerResizeRequestsListResponse, error) -} - -type instanceGroupManagerResizeRequestsClient struct { - cc grpc.ClientConnInterface -} - -func NewInstanceGroupManagerResizeRequestsClient(cc grpc.ClientConnInterface) InstanceGroupManagerResizeRequestsClient { - return &instanceGroupManagerResizeRequestsClient{cc} -} - -func (c *instanceGroupManagerResizeRequestsClient) Cancel(ctx context.Context, in *CancelInstanceGroupManagerResizeRequestRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.InstanceGroupManagerResizeRequests/Cancel", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instanceGroupManagerResizeRequestsClient) Delete(ctx context.Context, in *DeleteInstanceGroupManagerResizeRequestRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.InstanceGroupManagerResizeRequests/Delete", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instanceGroupManagerResizeRequestsClient) Get(ctx context.Context, in *GetInstanceGroupManagerResizeRequestRequest, opts ...grpc.CallOption) (*InstanceGroupManagerResizeRequest, error) { - out := new(InstanceGroupManagerResizeRequest) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.InstanceGroupManagerResizeRequests/Get", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instanceGroupManagerResizeRequestsClient) Insert(ctx context.Context, in *InsertInstanceGroupManagerResizeRequestRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.InstanceGroupManagerResizeRequests/Insert", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instanceGroupManagerResizeRequestsClient) List(ctx context.Context, in *ListInstanceGroupManagerResizeRequestsRequest, opts ...grpc.CallOption) (*InstanceGroupManagerResizeRequestsListResponse, error) { - out := new(InstanceGroupManagerResizeRequestsListResponse) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.InstanceGroupManagerResizeRequests/List", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// InstanceGroupManagerResizeRequestsServer is the server API for InstanceGroupManagerResizeRequests service. -type InstanceGroupManagerResizeRequestsServer interface { - // Cancels the specified resize request and removes it from the queue. Cancelled resize request does no longer wait for the resources to be provisioned. Cancel is only possible for requests that are accepted in the queue. - Cancel(context.Context, *CancelInstanceGroupManagerResizeRequestRequest) (*Operation, error) - // Deletes the specified, inactive resize request. Requests that are still active cannot be deleted. Deleting request does not delete instances that were provisioned previously. - Delete(context.Context, *DeleteInstanceGroupManagerResizeRequestRequest) (*Operation, error) - // Returns all of the details about the specified resize request. - Get(context.Context, *GetInstanceGroupManagerResizeRequestRequest) (*InstanceGroupManagerResizeRequest, error) - // Creates a new resize request that starts provisioning VMs immediately or queues VM creation. - Insert(context.Context, *InsertInstanceGroupManagerResizeRequestRequest) (*Operation, error) - // Retrieves a list of resize requests that are contained in the managed instance group. - List(context.Context, *ListInstanceGroupManagerResizeRequestsRequest) (*InstanceGroupManagerResizeRequestsListResponse, error) -} - -// UnimplementedInstanceGroupManagerResizeRequestsServer can be embedded to have forward compatible implementations. -type UnimplementedInstanceGroupManagerResizeRequestsServer struct { -} - -func (*UnimplementedInstanceGroupManagerResizeRequestsServer) Cancel(context.Context, *CancelInstanceGroupManagerResizeRequestRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Cancel not implemented") -} -func (*UnimplementedInstanceGroupManagerResizeRequestsServer) Delete(context.Context, *DeleteInstanceGroupManagerResizeRequestRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") -} -func (*UnimplementedInstanceGroupManagerResizeRequestsServer) Get(context.Context, *GetInstanceGroupManagerResizeRequestRequest) (*InstanceGroupManagerResizeRequest, error) { - return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") -} -func (*UnimplementedInstanceGroupManagerResizeRequestsServer) Insert(context.Context, *InsertInstanceGroupManagerResizeRequestRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Insert not implemented") -} -func (*UnimplementedInstanceGroupManagerResizeRequestsServer) List(context.Context, *ListInstanceGroupManagerResizeRequestsRequest) (*InstanceGroupManagerResizeRequestsListResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method List not implemented") -} - -func RegisterInstanceGroupManagerResizeRequestsServer(s *grpc.Server, srv InstanceGroupManagerResizeRequestsServer) { - s.RegisterService(&_InstanceGroupManagerResizeRequests_serviceDesc, srv) -} - -func _InstanceGroupManagerResizeRequests_Cancel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CancelInstanceGroupManagerResizeRequestRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstanceGroupManagerResizeRequestsServer).Cancel(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.InstanceGroupManagerResizeRequests/Cancel", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstanceGroupManagerResizeRequestsServer).Cancel(ctx, req.(*CancelInstanceGroupManagerResizeRequestRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _InstanceGroupManagerResizeRequests_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteInstanceGroupManagerResizeRequestRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstanceGroupManagerResizeRequestsServer).Delete(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.InstanceGroupManagerResizeRequests/Delete", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstanceGroupManagerResizeRequestsServer).Delete(ctx, req.(*DeleteInstanceGroupManagerResizeRequestRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _InstanceGroupManagerResizeRequests_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetInstanceGroupManagerResizeRequestRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstanceGroupManagerResizeRequestsServer).Get(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.InstanceGroupManagerResizeRequests/Get", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstanceGroupManagerResizeRequestsServer).Get(ctx, req.(*GetInstanceGroupManagerResizeRequestRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _InstanceGroupManagerResizeRequests_Insert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(InsertInstanceGroupManagerResizeRequestRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstanceGroupManagerResizeRequestsServer).Insert(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.InstanceGroupManagerResizeRequests/Insert", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstanceGroupManagerResizeRequestsServer).Insert(ctx, req.(*InsertInstanceGroupManagerResizeRequestRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _InstanceGroupManagerResizeRequests_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListInstanceGroupManagerResizeRequestsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstanceGroupManagerResizeRequestsServer).List(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.InstanceGroupManagerResizeRequests/List", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstanceGroupManagerResizeRequestsServer).List(ctx, req.(*ListInstanceGroupManagerResizeRequestsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _InstanceGroupManagerResizeRequests_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.InstanceGroupManagerResizeRequests", - HandlerType: (*InstanceGroupManagerResizeRequestsServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "Cancel", - Handler: _InstanceGroupManagerResizeRequests_Cancel_Handler, - }, - { - MethodName: "Delete", - Handler: _InstanceGroupManagerResizeRequests_Delete_Handler, - }, - { - MethodName: "Get", - Handler: _InstanceGroupManagerResizeRequests_Get_Handler, - }, - { - MethodName: "Insert", - Handler: _InstanceGroupManagerResizeRequests_Insert_Handler, - }, - { - MethodName: "List", - Handler: _InstanceGroupManagerResizeRequests_List_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} - -// InstanceGroupManagersClient is the client API for InstanceGroupManagers service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type InstanceGroupManagersClient interface { - // Flags the specified instances to be removed from the managed instance group. Abandoning an instance does not delete the instance, but it does remove the instance from any target pools that are applied by the managed instance group. This method reduces the targetSize of the managed instance group by the number of instances that you abandon. This operation is marked as DONE when the action is scheduled even if the instances have not yet been removed from the group. You must separately verify the status of the abandoning action with the listmanagedinstances method. If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted. You can specify a maximum of 1000 instances with this method per request. - AbandonInstances(ctx context.Context, in *AbandonInstancesInstanceGroupManagerRequest, opts ...grpc.CallOption) (*Operation, error) - // Retrieves the list of managed instance groups and groups them by zone. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. - AggregatedList(ctx context.Context, in *AggregatedListInstanceGroupManagersRequest, opts ...grpc.CallOption) (*InstanceGroupManagerAggregatedList, error) - // Applies changes to selected instances on the managed instance group. This method can be used to apply new overrides and/or new versions. - ApplyUpdatesToInstances(ctx context.Context, in *ApplyUpdatesToInstancesInstanceGroupManagerRequest, opts ...grpc.CallOption) (*Operation, error) - // Creates instances with per-instance configurations in this managed instance group. Instances are created using the current instance template. The create instances operation is marked DONE if the createInstances request is successful. The underlying actions take additional time. You must separately verify the status of the creating or actions with the listmanagedinstances method. - CreateInstances(ctx context.Context, in *CreateInstancesInstanceGroupManagerRequest, opts ...grpc.CallOption) (*Operation, error) - // Deletes the specified managed instance group and all of the instances in that group. Note that the instance group must not belong to a backend service. Read Deleting an instance group for more information. - Delete(ctx context.Context, in *DeleteInstanceGroupManagerRequest, opts ...grpc.CallOption) (*Operation, error) - // Flags the specified instances in the managed instance group for immediate deletion. The instances are also removed from any target pools of which they were a member. This method reduces the targetSize of the managed instance group by the number of instances that you delete. This operation is marked as DONE when the action is scheduled even if the instances are still being deleted. You must separately verify the status of the deleting action with the listmanagedinstances method. If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted. You can specify a maximum of 1000 instances with this method per request. - DeleteInstances(ctx context.Context, in *DeleteInstancesInstanceGroupManagerRequest, opts ...grpc.CallOption) (*Operation, error) - // Deletes selected per-instance configurations for the managed instance group. - DeletePerInstanceConfigs(ctx context.Context, in *DeletePerInstanceConfigsInstanceGroupManagerRequest, opts ...grpc.CallOption) (*Operation, error) - // Returns all of the details about the specified managed instance group. - Get(ctx context.Context, in *GetInstanceGroupManagerRequest, opts ...grpc.CallOption) (*InstanceGroupManager, error) - // Creates a managed instance group using the information that you specify in the request. After the group is created, instances in the group are created using the specified instance template. This operation is marked as DONE when the group is created even if the instances in the group have not yet been created. You must separately verify the status of the individual instances with the listmanagedinstances method. A managed instance group can have up to 1000 VM instances per group. Please contact Cloud Support if you need an increase in this limit. - Insert(ctx context.Context, in *InsertInstanceGroupManagerRequest, opts ...grpc.CallOption) (*Operation, error) - // Retrieves a list of managed instance groups that are contained within the specified project and zone. - List(ctx context.Context, in *ListInstanceGroupManagersRequest, opts ...grpc.CallOption) (*InstanceGroupManagerList, error) - // Lists all errors thrown by actions on instances for a given managed instance group. The filter and orderBy query parameters are not supported. - ListErrors(ctx context.Context, in *ListErrorsInstanceGroupManagersRequest, opts ...grpc.CallOption) (*InstanceGroupManagersListErrorsResponse, error) - // Lists all of the instances in the managed instance group. Each instance in the list has a currentAction, which indicates the action that the managed instance group is performing on the instance. For example, if the group is still creating an instance, the currentAction is CREATING. If a previous action failed, the list displays the errors for that failed action. The orderBy query parameter is not supported. The `pageToken` query parameter is supported only if the group's `listManagedInstancesResults` field is set to `PAGINATED`. - ListManagedInstances(ctx context.Context, in *ListManagedInstancesInstanceGroupManagersRequest, opts ...grpc.CallOption) (*InstanceGroupManagersListManagedInstancesResponse, error) - // Lists all of the per-instance configurations defined for the managed instance group. The orderBy query parameter is not supported. - ListPerInstanceConfigs(ctx context.Context, in *ListPerInstanceConfigsInstanceGroupManagersRequest, opts ...grpc.CallOption) (*InstanceGroupManagersListPerInstanceConfigsResp, error) - // Updates a managed instance group using the information that you specify in the request. This operation is marked as DONE when the group is patched even if the instances in the group are still in the process of being patched. You must separately verify the status of the individual instances with the listManagedInstances method. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. If you update your group to specify a new template or instance configuration, it's possible that your intended specification for each VM in the group is different from the current state of that VM. To learn how to apply an updated configuration to the VMs in a MIG, see Updating instances in a MIG. - Patch(ctx context.Context, in *PatchInstanceGroupManagerRequest, opts ...grpc.CallOption) (*Operation, error) - // Inserts or patches per-instance configurations for the managed instance group. perInstanceConfig.name serves as a key used to distinguish whether to perform insert or patch. - PatchPerInstanceConfigs(ctx context.Context, in *PatchPerInstanceConfigsInstanceGroupManagerRequest, opts ...grpc.CallOption) (*Operation, error) - // Flags the specified VM instances in the managed instance group to be immediately recreated. Each instance is recreated using the group's current configuration. This operation is marked as DONE when the flag is set even if the instances have not yet been recreated. You must separately verify the status of each instance by checking its currentAction field; for more information, see Checking the status of managed instances. If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted. You can specify a maximum of 1000 instances with this method per request. - RecreateInstances(ctx context.Context, in *RecreateInstancesInstanceGroupManagerRequest, opts ...grpc.CallOption) (*Operation, error) - // Resizes the managed instance group. If you increase the size, the group creates new instances using the current instance template. If you decrease the size, the group deletes instances. The resize operation is marked DONE when the resize actions are scheduled even if the group has not yet added or deleted any instances. You must separately verify the status of the creating or deleting actions with the listmanagedinstances method. When resizing down, the instance group arbitrarily chooses the order in which VMs are deleted. The group takes into account some VM attributes when making the selection including: + The status of the VM instance. + The health of the VM instance. + The instance template version the VM is based on. + For regional managed instance groups, the location of the VM instance. This list is subject to change. If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted. - Resize(ctx context.Context, in *ResizeInstanceGroupManagerRequest, opts ...grpc.CallOption) (*Operation, error) - // Specifies the instance template to use when creating new instances in this group. The templates for existing instances in the group do not change unless you run recreateInstances, run applyUpdatesToInstances, or set the group's updatePolicy.type to PROACTIVE. - SetInstanceTemplate(ctx context.Context, in *SetInstanceTemplateInstanceGroupManagerRequest, opts ...grpc.CallOption) (*Operation, error) - // Modifies the target pools to which all instances in this managed instance group are assigned. The target pools automatically apply to all of the instances in the managed instance group. This operation is marked DONE when you make the request even if the instances have not yet been added to their target pools. The change might take some time to apply to all of the instances in the group depending on the size of the group. - SetTargetPools(ctx context.Context, in *SetTargetPoolsInstanceGroupManagerRequest, opts ...grpc.CallOption) (*Operation, error) - // Inserts or updates per-instance configurations for the managed instance group. perInstanceConfig.name serves as a key used to distinguish whether to perform insert or patch. - UpdatePerInstanceConfigs(ctx context.Context, in *UpdatePerInstanceConfigsInstanceGroupManagerRequest, opts ...grpc.CallOption) (*Operation, error) -} - -type instanceGroupManagersClient struct { - cc grpc.ClientConnInterface -} - -func NewInstanceGroupManagersClient(cc grpc.ClientConnInterface) InstanceGroupManagersClient { - return &instanceGroupManagersClient{cc} -} - -func (c *instanceGroupManagersClient) AbandonInstances(ctx context.Context, in *AbandonInstancesInstanceGroupManagerRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.InstanceGroupManagers/AbandonInstances", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instanceGroupManagersClient) AggregatedList(ctx context.Context, in *AggregatedListInstanceGroupManagersRequest, opts ...grpc.CallOption) (*InstanceGroupManagerAggregatedList, error) { - out := new(InstanceGroupManagerAggregatedList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.InstanceGroupManagers/AggregatedList", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instanceGroupManagersClient) ApplyUpdatesToInstances(ctx context.Context, in *ApplyUpdatesToInstancesInstanceGroupManagerRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.InstanceGroupManagers/ApplyUpdatesToInstances", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instanceGroupManagersClient) CreateInstances(ctx context.Context, in *CreateInstancesInstanceGroupManagerRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.InstanceGroupManagers/CreateInstances", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instanceGroupManagersClient) Delete(ctx context.Context, in *DeleteInstanceGroupManagerRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.InstanceGroupManagers/Delete", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instanceGroupManagersClient) DeleteInstances(ctx context.Context, in *DeleteInstancesInstanceGroupManagerRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.InstanceGroupManagers/DeleteInstances", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instanceGroupManagersClient) DeletePerInstanceConfigs(ctx context.Context, in *DeletePerInstanceConfigsInstanceGroupManagerRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.InstanceGroupManagers/DeletePerInstanceConfigs", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instanceGroupManagersClient) Get(ctx context.Context, in *GetInstanceGroupManagerRequest, opts ...grpc.CallOption) (*InstanceGroupManager, error) { - out := new(InstanceGroupManager) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.InstanceGroupManagers/Get", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instanceGroupManagersClient) Insert(ctx context.Context, in *InsertInstanceGroupManagerRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.InstanceGroupManagers/Insert", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instanceGroupManagersClient) List(ctx context.Context, in *ListInstanceGroupManagersRequest, opts ...grpc.CallOption) (*InstanceGroupManagerList, error) { - out := new(InstanceGroupManagerList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.InstanceGroupManagers/List", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instanceGroupManagersClient) ListErrors(ctx context.Context, in *ListErrorsInstanceGroupManagersRequest, opts ...grpc.CallOption) (*InstanceGroupManagersListErrorsResponse, error) { - out := new(InstanceGroupManagersListErrorsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.InstanceGroupManagers/ListErrors", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instanceGroupManagersClient) ListManagedInstances(ctx context.Context, in *ListManagedInstancesInstanceGroupManagersRequest, opts ...grpc.CallOption) (*InstanceGroupManagersListManagedInstancesResponse, error) { - out := new(InstanceGroupManagersListManagedInstancesResponse) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.InstanceGroupManagers/ListManagedInstances", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instanceGroupManagersClient) ListPerInstanceConfigs(ctx context.Context, in *ListPerInstanceConfigsInstanceGroupManagersRequest, opts ...grpc.CallOption) (*InstanceGroupManagersListPerInstanceConfigsResp, error) { - out := new(InstanceGroupManagersListPerInstanceConfigsResp) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.InstanceGroupManagers/ListPerInstanceConfigs", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instanceGroupManagersClient) Patch(ctx context.Context, in *PatchInstanceGroupManagerRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.InstanceGroupManagers/Patch", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instanceGroupManagersClient) PatchPerInstanceConfigs(ctx context.Context, in *PatchPerInstanceConfigsInstanceGroupManagerRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.InstanceGroupManagers/PatchPerInstanceConfigs", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instanceGroupManagersClient) RecreateInstances(ctx context.Context, in *RecreateInstancesInstanceGroupManagerRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.InstanceGroupManagers/RecreateInstances", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instanceGroupManagersClient) Resize(ctx context.Context, in *ResizeInstanceGroupManagerRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.InstanceGroupManagers/Resize", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instanceGroupManagersClient) SetInstanceTemplate(ctx context.Context, in *SetInstanceTemplateInstanceGroupManagerRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.InstanceGroupManagers/SetInstanceTemplate", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instanceGroupManagersClient) SetTargetPools(ctx context.Context, in *SetTargetPoolsInstanceGroupManagerRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.InstanceGroupManagers/SetTargetPools", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instanceGroupManagersClient) UpdatePerInstanceConfigs(ctx context.Context, in *UpdatePerInstanceConfigsInstanceGroupManagerRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.InstanceGroupManagers/UpdatePerInstanceConfigs", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// InstanceGroupManagersServer is the server API for InstanceGroupManagers service. -type InstanceGroupManagersServer interface { - // Flags the specified instances to be removed from the managed instance group. Abandoning an instance does not delete the instance, but it does remove the instance from any target pools that are applied by the managed instance group. This method reduces the targetSize of the managed instance group by the number of instances that you abandon. This operation is marked as DONE when the action is scheduled even if the instances have not yet been removed from the group. You must separately verify the status of the abandoning action with the listmanagedinstances method. If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted. You can specify a maximum of 1000 instances with this method per request. - AbandonInstances(context.Context, *AbandonInstancesInstanceGroupManagerRequest) (*Operation, error) - // Retrieves the list of managed instance groups and groups them by zone. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. - AggregatedList(context.Context, *AggregatedListInstanceGroupManagersRequest) (*InstanceGroupManagerAggregatedList, error) - // Applies changes to selected instances on the managed instance group. This method can be used to apply new overrides and/or new versions. - ApplyUpdatesToInstances(context.Context, *ApplyUpdatesToInstancesInstanceGroupManagerRequest) (*Operation, error) - // Creates instances with per-instance configurations in this managed instance group. Instances are created using the current instance template. The create instances operation is marked DONE if the createInstances request is successful. The underlying actions take additional time. You must separately verify the status of the creating or actions with the listmanagedinstances method. - CreateInstances(context.Context, *CreateInstancesInstanceGroupManagerRequest) (*Operation, error) - // Deletes the specified managed instance group and all of the instances in that group. Note that the instance group must not belong to a backend service. Read Deleting an instance group for more information. - Delete(context.Context, *DeleteInstanceGroupManagerRequest) (*Operation, error) - // Flags the specified instances in the managed instance group for immediate deletion. The instances are also removed from any target pools of which they were a member. This method reduces the targetSize of the managed instance group by the number of instances that you delete. This operation is marked as DONE when the action is scheduled even if the instances are still being deleted. You must separately verify the status of the deleting action with the listmanagedinstances method. If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted. You can specify a maximum of 1000 instances with this method per request. - DeleteInstances(context.Context, *DeleteInstancesInstanceGroupManagerRequest) (*Operation, error) - // Deletes selected per-instance configurations for the managed instance group. - DeletePerInstanceConfigs(context.Context, *DeletePerInstanceConfigsInstanceGroupManagerRequest) (*Operation, error) - // Returns all of the details about the specified managed instance group. - Get(context.Context, *GetInstanceGroupManagerRequest) (*InstanceGroupManager, error) - // Creates a managed instance group using the information that you specify in the request. After the group is created, instances in the group are created using the specified instance template. This operation is marked as DONE when the group is created even if the instances in the group have not yet been created. You must separately verify the status of the individual instances with the listmanagedinstances method. A managed instance group can have up to 1000 VM instances per group. Please contact Cloud Support if you need an increase in this limit. - Insert(context.Context, *InsertInstanceGroupManagerRequest) (*Operation, error) - // Retrieves a list of managed instance groups that are contained within the specified project and zone. - List(context.Context, *ListInstanceGroupManagersRequest) (*InstanceGroupManagerList, error) - // Lists all errors thrown by actions on instances for a given managed instance group. The filter and orderBy query parameters are not supported. - ListErrors(context.Context, *ListErrorsInstanceGroupManagersRequest) (*InstanceGroupManagersListErrorsResponse, error) - // Lists all of the instances in the managed instance group. Each instance in the list has a currentAction, which indicates the action that the managed instance group is performing on the instance. For example, if the group is still creating an instance, the currentAction is CREATING. If a previous action failed, the list displays the errors for that failed action. The orderBy query parameter is not supported. The `pageToken` query parameter is supported only if the group's `listManagedInstancesResults` field is set to `PAGINATED`. - ListManagedInstances(context.Context, *ListManagedInstancesInstanceGroupManagersRequest) (*InstanceGroupManagersListManagedInstancesResponse, error) - // Lists all of the per-instance configurations defined for the managed instance group. The orderBy query parameter is not supported. - ListPerInstanceConfigs(context.Context, *ListPerInstanceConfigsInstanceGroupManagersRequest) (*InstanceGroupManagersListPerInstanceConfigsResp, error) - // Updates a managed instance group using the information that you specify in the request. This operation is marked as DONE when the group is patched even if the instances in the group are still in the process of being patched. You must separately verify the status of the individual instances with the listManagedInstances method. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. If you update your group to specify a new template or instance configuration, it's possible that your intended specification for each VM in the group is different from the current state of that VM. To learn how to apply an updated configuration to the VMs in a MIG, see Updating instances in a MIG. - Patch(context.Context, *PatchInstanceGroupManagerRequest) (*Operation, error) - // Inserts or patches per-instance configurations for the managed instance group. perInstanceConfig.name serves as a key used to distinguish whether to perform insert or patch. - PatchPerInstanceConfigs(context.Context, *PatchPerInstanceConfigsInstanceGroupManagerRequest) (*Operation, error) - // Flags the specified VM instances in the managed instance group to be immediately recreated. Each instance is recreated using the group's current configuration. This operation is marked as DONE when the flag is set even if the instances have not yet been recreated. You must separately verify the status of each instance by checking its currentAction field; for more information, see Checking the status of managed instances. If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted. You can specify a maximum of 1000 instances with this method per request. - RecreateInstances(context.Context, *RecreateInstancesInstanceGroupManagerRequest) (*Operation, error) - // Resizes the managed instance group. If you increase the size, the group creates new instances using the current instance template. If you decrease the size, the group deletes instances. The resize operation is marked DONE when the resize actions are scheduled even if the group has not yet added or deleted any instances. You must separately verify the status of the creating or deleting actions with the listmanagedinstances method. When resizing down, the instance group arbitrarily chooses the order in which VMs are deleted. The group takes into account some VM attributes when making the selection including: + The status of the VM instance. + The health of the VM instance. + The instance template version the VM is based on. + For regional managed instance groups, the location of the VM instance. This list is subject to change. If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted. - Resize(context.Context, *ResizeInstanceGroupManagerRequest) (*Operation, error) - // Specifies the instance template to use when creating new instances in this group. The templates for existing instances in the group do not change unless you run recreateInstances, run applyUpdatesToInstances, or set the group's updatePolicy.type to PROACTIVE. - SetInstanceTemplate(context.Context, *SetInstanceTemplateInstanceGroupManagerRequest) (*Operation, error) - // Modifies the target pools to which all instances in this managed instance group are assigned. The target pools automatically apply to all of the instances in the managed instance group. This operation is marked DONE when you make the request even if the instances have not yet been added to their target pools. The change might take some time to apply to all of the instances in the group depending on the size of the group. - SetTargetPools(context.Context, *SetTargetPoolsInstanceGroupManagerRequest) (*Operation, error) - // Inserts or updates per-instance configurations for the managed instance group. perInstanceConfig.name serves as a key used to distinguish whether to perform insert or patch. - UpdatePerInstanceConfigs(context.Context, *UpdatePerInstanceConfigsInstanceGroupManagerRequest) (*Operation, error) -} - -// UnimplementedInstanceGroupManagersServer can be embedded to have forward compatible implementations. -type UnimplementedInstanceGroupManagersServer struct { -} - -func (*UnimplementedInstanceGroupManagersServer) AbandonInstances(context.Context, *AbandonInstancesInstanceGroupManagerRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method AbandonInstances not implemented") -} -func (*UnimplementedInstanceGroupManagersServer) AggregatedList(context.Context, *AggregatedListInstanceGroupManagersRequest) (*InstanceGroupManagerAggregatedList, error) { - return nil, status.Errorf(codes.Unimplemented, "method AggregatedList not implemented") -} -func (*UnimplementedInstanceGroupManagersServer) ApplyUpdatesToInstances(context.Context, *ApplyUpdatesToInstancesInstanceGroupManagerRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method ApplyUpdatesToInstances not implemented") -} -func (*UnimplementedInstanceGroupManagersServer) CreateInstances(context.Context, *CreateInstancesInstanceGroupManagerRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateInstances not implemented") -} -func (*UnimplementedInstanceGroupManagersServer) Delete(context.Context, *DeleteInstanceGroupManagerRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") -} -func (*UnimplementedInstanceGroupManagersServer) DeleteInstances(context.Context, *DeleteInstancesInstanceGroupManagerRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteInstances not implemented") -} -func (*UnimplementedInstanceGroupManagersServer) DeletePerInstanceConfigs(context.Context, *DeletePerInstanceConfigsInstanceGroupManagerRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeletePerInstanceConfigs not implemented") -} -func (*UnimplementedInstanceGroupManagersServer) Get(context.Context, *GetInstanceGroupManagerRequest) (*InstanceGroupManager, error) { - return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") -} -func (*UnimplementedInstanceGroupManagersServer) Insert(context.Context, *InsertInstanceGroupManagerRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Insert not implemented") -} -func (*UnimplementedInstanceGroupManagersServer) List(context.Context, *ListInstanceGroupManagersRequest) (*InstanceGroupManagerList, error) { - return nil, status.Errorf(codes.Unimplemented, "method List not implemented") -} -func (*UnimplementedInstanceGroupManagersServer) ListErrors(context.Context, *ListErrorsInstanceGroupManagersRequest) (*InstanceGroupManagersListErrorsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListErrors not implemented") -} -func (*UnimplementedInstanceGroupManagersServer) ListManagedInstances(context.Context, *ListManagedInstancesInstanceGroupManagersRequest) (*InstanceGroupManagersListManagedInstancesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListManagedInstances not implemented") -} -func (*UnimplementedInstanceGroupManagersServer) ListPerInstanceConfigs(context.Context, *ListPerInstanceConfigsInstanceGroupManagersRequest) (*InstanceGroupManagersListPerInstanceConfigsResp, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListPerInstanceConfigs not implemented") -} -func (*UnimplementedInstanceGroupManagersServer) Patch(context.Context, *PatchInstanceGroupManagerRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Patch not implemented") -} -func (*UnimplementedInstanceGroupManagersServer) PatchPerInstanceConfigs(context.Context, *PatchPerInstanceConfigsInstanceGroupManagerRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method PatchPerInstanceConfigs not implemented") -} -func (*UnimplementedInstanceGroupManagersServer) RecreateInstances(context.Context, *RecreateInstancesInstanceGroupManagerRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method RecreateInstances not implemented") -} -func (*UnimplementedInstanceGroupManagersServer) Resize(context.Context, *ResizeInstanceGroupManagerRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Resize not implemented") -} -func (*UnimplementedInstanceGroupManagersServer) SetInstanceTemplate(context.Context, *SetInstanceTemplateInstanceGroupManagerRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetInstanceTemplate not implemented") -} -func (*UnimplementedInstanceGroupManagersServer) SetTargetPools(context.Context, *SetTargetPoolsInstanceGroupManagerRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetTargetPools not implemented") -} -func (*UnimplementedInstanceGroupManagersServer) UpdatePerInstanceConfigs(context.Context, *UpdatePerInstanceConfigsInstanceGroupManagerRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdatePerInstanceConfigs not implemented") -} - -func RegisterInstanceGroupManagersServer(s *grpc.Server, srv InstanceGroupManagersServer) { - s.RegisterService(&_InstanceGroupManagers_serviceDesc, srv) -} - -func _InstanceGroupManagers_AbandonInstances_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AbandonInstancesInstanceGroupManagerRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstanceGroupManagersServer).AbandonInstances(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.InstanceGroupManagers/AbandonInstances", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstanceGroupManagersServer).AbandonInstances(ctx, req.(*AbandonInstancesInstanceGroupManagerRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _InstanceGroupManagers_AggregatedList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AggregatedListInstanceGroupManagersRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstanceGroupManagersServer).AggregatedList(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.InstanceGroupManagers/AggregatedList", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstanceGroupManagersServer).AggregatedList(ctx, req.(*AggregatedListInstanceGroupManagersRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _InstanceGroupManagers_ApplyUpdatesToInstances_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ApplyUpdatesToInstancesInstanceGroupManagerRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstanceGroupManagersServer).ApplyUpdatesToInstances(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.InstanceGroupManagers/ApplyUpdatesToInstances", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstanceGroupManagersServer).ApplyUpdatesToInstances(ctx, req.(*ApplyUpdatesToInstancesInstanceGroupManagerRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _InstanceGroupManagers_CreateInstances_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateInstancesInstanceGroupManagerRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstanceGroupManagersServer).CreateInstances(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.InstanceGroupManagers/CreateInstances", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstanceGroupManagersServer).CreateInstances(ctx, req.(*CreateInstancesInstanceGroupManagerRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _InstanceGroupManagers_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteInstanceGroupManagerRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstanceGroupManagersServer).Delete(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.InstanceGroupManagers/Delete", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstanceGroupManagersServer).Delete(ctx, req.(*DeleteInstanceGroupManagerRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _InstanceGroupManagers_DeleteInstances_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteInstancesInstanceGroupManagerRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstanceGroupManagersServer).DeleteInstances(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.InstanceGroupManagers/DeleteInstances", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstanceGroupManagersServer).DeleteInstances(ctx, req.(*DeleteInstancesInstanceGroupManagerRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _InstanceGroupManagers_DeletePerInstanceConfigs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeletePerInstanceConfigsInstanceGroupManagerRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstanceGroupManagersServer).DeletePerInstanceConfigs(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.InstanceGroupManagers/DeletePerInstanceConfigs", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstanceGroupManagersServer).DeletePerInstanceConfigs(ctx, req.(*DeletePerInstanceConfigsInstanceGroupManagerRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _InstanceGroupManagers_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetInstanceGroupManagerRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstanceGroupManagersServer).Get(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.InstanceGroupManagers/Get", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstanceGroupManagersServer).Get(ctx, req.(*GetInstanceGroupManagerRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _InstanceGroupManagers_Insert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(InsertInstanceGroupManagerRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstanceGroupManagersServer).Insert(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.InstanceGroupManagers/Insert", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstanceGroupManagersServer).Insert(ctx, req.(*InsertInstanceGroupManagerRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _InstanceGroupManagers_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListInstanceGroupManagersRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstanceGroupManagersServer).List(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.InstanceGroupManagers/List", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstanceGroupManagersServer).List(ctx, req.(*ListInstanceGroupManagersRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _InstanceGroupManagers_ListErrors_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListErrorsInstanceGroupManagersRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstanceGroupManagersServer).ListErrors(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.InstanceGroupManagers/ListErrors", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstanceGroupManagersServer).ListErrors(ctx, req.(*ListErrorsInstanceGroupManagersRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _InstanceGroupManagers_ListManagedInstances_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListManagedInstancesInstanceGroupManagersRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstanceGroupManagersServer).ListManagedInstances(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.InstanceGroupManagers/ListManagedInstances", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstanceGroupManagersServer).ListManagedInstances(ctx, req.(*ListManagedInstancesInstanceGroupManagersRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _InstanceGroupManagers_ListPerInstanceConfigs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListPerInstanceConfigsInstanceGroupManagersRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstanceGroupManagersServer).ListPerInstanceConfigs(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.InstanceGroupManagers/ListPerInstanceConfigs", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstanceGroupManagersServer).ListPerInstanceConfigs(ctx, req.(*ListPerInstanceConfigsInstanceGroupManagersRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _InstanceGroupManagers_Patch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PatchInstanceGroupManagerRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstanceGroupManagersServer).Patch(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.InstanceGroupManagers/Patch", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstanceGroupManagersServer).Patch(ctx, req.(*PatchInstanceGroupManagerRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _InstanceGroupManagers_PatchPerInstanceConfigs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PatchPerInstanceConfigsInstanceGroupManagerRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstanceGroupManagersServer).PatchPerInstanceConfigs(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.InstanceGroupManagers/PatchPerInstanceConfigs", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstanceGroupManagersServer).PatchPerInstanceConfigs(ctx, req.(*PatchPerInstanceConfigsInstanceGroupManagerRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _InstanceGroupManagers_RecreateInstances_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RecreateInstancesInstanceGroupManagerRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstanceGroupManagersServer).RecreateInstances(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.InstanceGroupManagers/RecreateInstances", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstanceGroupManagersServer).RecreateInstances(ctx, req.(*RecreateInstancesInstanceGroupManagerRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _InstanceGroupManagers_Resize_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ResizeInstanceGroupManagerRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstanceGroupManagersServer).Resize(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.InstanceGroupManagers/Resize", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstanceGroupManagersServer).Resize(ctx, req.(*ResizeInstanceGroupManagerRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _InstanceGroupManagers_SetInstanceTemplate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetInstanceTemplateInstanceGroupManagerRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstanceGroupManagersServer).SetInstanceTemplate(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.InstanceGroupManagers/SetInstanceTemplate", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstanceGroupManagersServer).SetInstanceTemplate(ctx, req.(*SetInstanceTemplateInstanceGroupManagerRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _InstanceGroupManagers_SetTargetPools_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetTargetPoolsInstanceGroupManagerRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstanceGroupManagersServer).SetTargetPools(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.InstanceGroupManagers/SetTargetPools", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstanceGroupManagersServer).SetTargetPools(ctx, req.(*SetTargetPoolsInstanceGroupManagerRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _InstanceGroupManagers_UpdatePerInstanceConfigs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdatePerInstanceConfigsInstanceGroupManagerRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstanceGroupManagersServer).UpdatePerInstanceConfigs(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.InstanceGroupManagers/UpdatePerInstanceConfigs", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstanceGroupManagersServer).UpdatePerInstanceConfigs(ctx, req.(*UpdatePerInstanceConfigsInstanceGroupManagerRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _InstanceGroupManagers_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.InstanceGroupManagers", - HandlerType: (*InstanceGroupManagersServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "AbandonInstances", - Handler: _InstanceGroupManagers_AbandonInstances_Handler, - }, - { - MethodName: "AggregatedList", - Handler: _InstanceGroupManagers_AggregatedList_Handler, - }, - { - MethodName: "ApplyUpdatesToInstances", - Handler: _InstanceGroupManagers_ApplyUpdatesToInstances_Handler, - }, - { - MethodName: "CreateInstances", - Handler: _InstanceGroupManagers_CreateInstances_Handler, - }, - { - MethodName: "Delete", - Handler: _InstanceGroupManagers_Delete_Handler, - }, - { - MethodName: "DeleteInstances", - Handler: _InstanceGroupManagers_DeleteInstances_Handler, - }, - { - MethodName: "DeletePerInstanceConfigs", - Handler: _InstanceGroupManagers_DeletePerInstanceConfigs_Handler, - }, - { - MethodName: "Get", - Handler: _InstanceGroupManagers_Get_Handler, - }, - { - MethodName: "Insert", - Handler: _InstanceGroupManagers_Insert_Handler, - }, - { - MethodName: "List", - Handler: _InstanceGroupManagers_List_Handler, - }, - { - MethodName: "ListErrors", - Handler: _InstanceGroupManagers_ListErrors_Handler, - }, - { - MethodName: "ListManagedInstances", - Handler: _InstanceGroupManagers_ListManagedInstances_Handler, - }, - { - MethodName: "ListPerInstanceConfigs", - Handler: _InstanceGroupManagers_ListPerInstanceConfigs_Handler, - }, - { - MethodName: "Patch", - Handler: _InstanceGroupManagers_Patch_Handler, - }, - { - MethodName: "PatchPerInstanceConfigs", - Handler: _InstanceGroupManagers_PatchPerInstanceConfigs_Handler, - }, - { - MethodName: "RecreateInstances", - Handler: _InstanceGroupManagers_RecreateInstances_Handler, - }, - { - MethodName: "Resize", - Handler: _InstanceGroupManagers_Resize_Handler, - }, - { - MethodName: "SetInstanceTemplate", - Handler: _InstanceGroupManagers_SetInstanceTemplate_Handler, - }, - { - MethodName: "SetTargetPools", - Handler: _InstanceGroupManagers_SetTargetPools_Handler, - }, - { - MethodName: "UpdatePerInstanceConfigs", - Handler: _InstanceGroupManagers_UpdatePerInstanceConfigs_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} - -// InstanceGroupsClient is the client API for InstanceGroups service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type InstanceGroupsClient interface { - // Adds a list of instances to the specified instance group. All of the instances in the instance group must be in the same network/subnetwork. Read Adding instances for more information. - AddInstances(ctx context.Context, in *AddInstancesInstanceGroupRequest, opts ...grpc.CallOption) (*Operation, error) - // Retrieves the list of instance groups and sorts them by zone. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. - AggregatedList(ctx context.Context, in *AggregatedListInstanceGroupsRequest, opts ...grpc.CallOption) (*InstanceGroupAggregatedList, error) - // Deletes the specified instance group. The instances in the group are not deleted. Note that instance group must not belong to a backend service. Read Deleting an instance group for more information. - Delete(ctx context.Context, in *DeleteInstanceGroupRequest, opts ...grpc.CallOption) (*Operation, error) - // Returns the specified zonal instance group. Get a list of available zonal instance groups by making a list() request. For managed instance groups, use the instanceGroupManagers or regionInstanceGroupManagers methods instead. - Get(ctx context.Context, in *GetInstanceGroupRequest, opts ...grpc.CallOption) (*InstanceGroup, error) - // Creates an instance group in the specified project using the parameters that are included in the request. - Insert(ctx context.Context, in *InsertInstanceGroupRequest, opts ...grpc.CallOption) (*Operation, error) - // Retrieves the list of zonal instance group resources contained within the specified zone. For managed instance groups, use the instanceGroupManagers or regionInstanceGroupManagers methods instead. - List(ctx context.Context, in *ListInstanceGroupsRequest, opts ...grpc.CallOption) (*InstanceGroupList, error) - // Lists the instances in the specified instance group. The orderBy query parameter is not supported. The filter query parameter is supported, but only for expressions that use `eq` (equal) or `ne` (not equal) operators. - ListInstances(ctx context.Context, in *ListInstancesInstanceGroupsRequest, opts ...grpc.CallOption) (*InstanceGroupsListInstances, error) - // Removes one or more instances from the specified instance group, but does not delete those instances. If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration before the VM instance is removed or deleted. - RemoveInstances(ctx context.Context, in *RemoveInstancesInstanceGroupRequest, opts ...grpc.CallOption) (*Operation, error) - // Sets the named ports for the specified instance group. - SetNamedPorts(ctx context.Context, in *SetNamedPortsInstanceGroupRequest, opts ...grpc.CallOption) (*Operation, error) -} - -type instanceGroupsClient struct { - cc grpc.ClientConnInterface -} - -func NewInstanceGroupsClient(cc grpc.ClientConnInterface) InstanceGroupsClient { - return &instanceGroupsClient{cc} -} - -func (c *instanceGroupsClient) AddInstances(ctx context.Context, in *AddInstancesInstanceGroupRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.InstanceGroups/AddInstances", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instanceGroupsClient) AggregatedList(ctx context.Context, in *AggregatedListInstanceGroupsRequest, opts ...grpc.CallOption) (*InstanceGroupAggregatedList, error) { - out := new(InstanceGroupAggregatedList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.InstanceGroups/AggregatedList", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instanceGroupsClient) Delete(ctx context.Context, in *DeleteInstanceGroupRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.InstanceGroups/Delete", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instanceGroupsClient) Get(ctx context.Context, in *GetInstanceGroupRequest, opts ...grpc.CallOption) (*InstanceGroup, error) { - out := new(InstanceGroup) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.InstanceGroups/Get", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instanceGroupsClient) Insert(ctx context.Context, in *InsertInstanceGroupRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.InstanceGroups/Insert", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instanceGroupsClient) List(ctx context.Context, in *ListInstanceGroupsRequest, opts ...grpc.CallOption) (*InstanceGroupList, error) { - out := new(InstanceGroupList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.InstanceGroups/List", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instanceGroupsClient) ListInstances(ctx context.Context, in *ListInstancesInstanceGroupsRequest, opts ...grpc.CallOption) (*InstanceGroupsListInstances, error) { - out := new(InstanceGroupsListInstances) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.InstanceGroups/ListInstances", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instanceGroupsClient) RemoveInstances(ctx context.Context, in *RemoveInstancesInstanceGroupRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.InstanceGroups/RemoveInstances", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instanceGroupsClient) SetNamedPorts(ctx context.Context, in *SetNamedPortsInstanceGroupRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.InstanceGroups/SetNamedPorts", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// InstanceGroupsServer is the server API for InstanceGroups service. -type InstanceGroupsServer interface { - // Adds a list of instances to the specified instance group. All of the instances in the instance group must be in the same network/subnetwork. Read Adding instances for more information. - AddInstances(context.Context, *AddInstancesInstanceGroupRequest) (*Operation, error) - // Retrieves the list of instance groups and sorts them by zone. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. - AggregatedList(context.Context, *AggregatedListInstanceGroupsRequest) (*InstanceGroupAggregatedList, error) - // Deletes the specified instance group. The instances in the group are not deleted. Note that instance group must not belong to a backend service. Read Deleting an instance group for more information. - Delete(context.Context, *DeleteInstanceGroupRequest) (*Operation, error) - // Returns the specified zonal instance group. Get a list of available zonal instance groups by making a list() request. For managed instance groups, use the instanceGroupManagers or regionInstanceGroupManagers methods instead. - Get(context.Context, *GetInstanceGroupRequest) (*InstanceGroup, error) - // Creates an instance group in the specified project using the parameters that are included in the request. - Insert(context.Context, *InsertInstanceGroupRequest) (*Operation, error) - // Retrieves the list of zonal instance group resources contained within the specified zone. For managed instance groups, use the instanceGroupManagers or regionInstanceGroupManagers methods instead. - List(context.Context, *ListInstanceGroupsRequest) (*InstanceGroupList, error) - // Lists the instances in the specified instance group. The orderBy query parameter is not supported. The filter query parameter is supported, but only for expressions that use `eq` (equal) or `ne` (not equal) operators. - ListInstances(context.Context, *ListInstancesInstanceGroupsRequest) (*InstanceGroupsListInstances, error) - // Removes one or more instances from the specified instance group, but does not delete those instances. If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration before the VM instance is removed or deleted. - RemoveInstances(context.Context, *RemoveInstancesInstanceGroupRequest) (*Operation, error) - // Sets the named ports for the specified instance group. - SetNamedPorts(context.Context, *SetNamedPortsInstanceGroupRequest) (*Operation, error) -} - -// UnimplementedInstanceGroupsServer can be embedded to have forward compatible implementations. -type UnimplementedInstanceGroupsServer struct { -} - -func (*UnimplementedInstanceGroupsServer) AddInstances(context.Context, *AddInstancesInstanceGroupRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method AddInstances not implemented") -} -func (*UnimplementedInstanceGroupsServer) AggregatedList(context.Context, *AggregatedListInstanceGroupsRequest) (*InstanceGroupAggregatedList, error) { - return nil, status.Errorf(codes.Unimplemented, "method AggregatedList not implemented") -} -func (*UnimplementedInstanceGroupsServer) Delete(context.Context, *DeleteInstanceGroupRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") -} -func (*UnimplementedInstanceGroupsServer) Get(context.Context, *GetInstanceGroupRequest) (*InstanceGroup, error) { - return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") -} -func (*UnimplementedInstanceGroupsServer) Insert(context.Context, *InsertInstanceGroupRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Insert not implemented") -} -func (*UnimplementedInstanceGroupsServer) List(context.Context, *ListInstanceGroupsRequest) (*InstanceGroupList, error) { - return nil, status.Errorf(codes.Unimplemented, "method List not implemented") -} -func (*UnimplementedInstanceGroupsServer) ListInstances(context.Context, *ListInstancesInstanceGroupsRequest) (*InstanceGroupsListInstances, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListInstances not implemented") -} -func (*UnimplementedInstanceGroupsServer) RemoveInstances(context.Context, *RemoveInstancesInstanceGroupRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method RemoveInstances not implemented") -} -func (*UnimplementedInstanceGroupsServer) SetNamedPorts(context.Context, *SetNamedPortsInstanceGroupRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetNamedPorts not implemented") -} - -func RegisterInstanceGroupsServer(s *grpc.Server, srv InstanceGroupsServer) { - s.RegisterService(&_InstanceGroups_serviceDesc, srv) -} - -func _InstanceGroups_AddInstances_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AddInstancesInstanceGroupRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstanceGroupsServer).AddInstances(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.InstanceGroups/AddInstances", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstanceGroupsServer).AddInstances(ctx, req.(*AddInstancesInstanceGroupRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _InstanceGroups_AggregatedList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AggregatedListInstanceGroupsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstanceGroupsServer).AggregatedList(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.InstanceGroups/AggregatedList", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstanceGroupsServer).AggregatedList(ctx, req.(*AggregatedListInstanceGroupsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _InstanceGroups_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteInstanceGroupRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstanceGroupsServer).Delete(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.InstanceGroups/Delete", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstanceGroupsServer).Delete(ctx, req.(*DeleteInstanceGroupRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _InstanceGroups_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetInstanceGroupRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstanceGroupsServer).Get(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.InstanceGroups/Get", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstanceGroupsServer).Get(ctx, req.(*GetInstanceGroupRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _InstanceGroups_Insert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(InsertInstanceGroupRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstanceGroupsServer).Insert(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.InstanceGroups/Insert", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstanceGroupsServer).Insert(ctx, req.(*InsertInstanceGroupRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _InstanceGroups_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListInstanceGroupsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstanceGroupsServer).List(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.InstanceGroups/List", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstanceGroupsServer).List(ctx, req.(*ListInstanceGroupsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _InstanceGroups_ListInstances_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListInstancesInstanceGroupsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstanceGroupsServer).ListInstances(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.InstanceGroups/ListInstances", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstanceGroupsServer).ListInstances(ctx, req.(*ListInstancesInstanceGroupsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _InstanceGroups_RemoveInstances_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RemoveInstancesInstanceGroupRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstanceGroupsServer).RemoveInstances(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.InstanceGroups/RemoveInstances", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstanceGroupsServer).RemoveInstances(ctx, req.(*RemoveInstancesInstanceGroupRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _InstanceGroups_SetNamedPorts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetNamedPortsInstanceGroupRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstanceGroupsServer).SetNamedPorts(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.InstanceGroups/SetNamedPorts", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstanceGroupsServer).SetNamedPorts(ctx, req.(*SetNamedPortsInstanceGroupRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _InstanceGroups_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.InstanceGroups", - HandlerType: (*InstanceGroupsServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "AddInstances", - Handler: _InstanceGroups_AddInstances_Handler, - }, - { - MethodName: "AggregatedList", - Handler: _InstanceGroups_AggregatedList_Handler, - }, - { - MethodName: "Delete", - Handler: _InstanceGroups_Delete_Handler, - }, - { - MethodName: "Get", - Handler: _InstanceGroups_Get_Handler, - }, - { - MethodName: "Insert", - Handler: _InstanceGroups_Insert_Handler, - }, - { - MethodName: "List", - Handler: _InstanceGroups_List_Handler, - }, - { - MethodName: "ListInstances", - Handler: _InstanceGroups_ListInstances_Handler, - }, - { - MethodName: "RemoveInstances", - Handler: _InstanceGroups_RemoveInstances_Handler, - }, - { - MethodName: "SetNamedPorts", - Handler: _InstanceGroups_SetNamedPorts_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} - -// InstanceSettingsServiceClient is the client API for InstanceSettingsService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type InstanceSettingsServiceClient interface { - // Get Instance settings. - Get(ctx context.Context, in *GetInstanceSettingRequest, opts ...grpc.CallOption) (*InstanceSettings, error) - // Patch Instance settings - Patch(ctx context.Context, in *PatchInstanceSettingRequest, opts ...grpc.CallOption) (*Operation, error) -} - -type instanceSettingsServiceClient struct { - cc grpc.ClientConnInterface -} - -func NewInstanceSettingsServiceClient(cc grpc.ClientConnInterface) InstanceSettingsServiceClient { - return &instanceSettingsServiceClient{cc} -} - -func (c *instanceSettingsServiceClient) Get(ctx context.Context, in *GetInstanceSettingRequest, opts ...grpc.CallOption) (*InstanceSettings, error) { - out := new(InstanceSettings) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.InstanceSettingsService/Get", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instanceSettingsServiceClient) Patch(ctx context.Context, in *PatchInstanceSettingRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.InstanceSettingsService/Patch", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// InstanceSettingsServiceServer is the server API for InstanceSettingsService service. -type InstanceSettingsServiceServer interface { - // Get Instance settings. - Get(context.Context, *GetInstanceSettingRequest) (*InstanceSettings, error) - // Patch Instance settings - Patch(context.Context, *PatchInstanceSettingRequest) (*Operation, error) -} - -// UnimplementedInstanceSettingsServiceServer can be embedded to have forward compatible implementations. -type UnimplementedInstanceSettingsServiceServer struct { -} - -func (*UnimplementedInstanceSettingsServiceServer) Get(context.Context, *GetInstanceSettingRequest) (*InstanceSettings, error) { - return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") -} -func (*UnimplementedInstanceSettingsServiceServer) Patch(context.Context, *PatchInstanceSettingRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Patch not implemented") -} - -func RegisterInstanceSettingsServiceServer(s *grpc.Server, srv InstanceSettingsServiceServer) { - s.RegisterService(&_InstanceSettingsService_serviceDesc, srv) -} - -func _InstanceSettingsService_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetInstanceSettingRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstanceSettingsServiceServer).Get(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.InstanceSettingsService/Get", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstanceSettingsServiceServer).Get(ctx, req.(*GetInstanceSettingRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _InstanceSettingsService_Patch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PatchInstanceSettingRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstanceSettingsServiceServer).Patch(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.InstanceSettingsService/Patch", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstanceSettingsServiceServer).Patch(ctx, req.(*PatchInstanceSettingRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _InstanceSettingsService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.InstanceSettingsService", - HandlerType: (*InstanceSettingsServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "Get", - Handler: _InstanceSettingsService_Get_Handler, - }, - { - MethodName: "Patch", - Handler: _InstanceSettingsService_Patch_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} - -// InstanceTemplatesClient is the client API for InstanceTemplates service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type InstanceTemplatesClient interface { - // Retrieves the list of all InstanceTemplates resources, regional and global, available to the specified project. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. - AggregatedList(ctx context.Context, in *AggregatedListInstanceTemplatesRequest, opts ...grpc.CallOption) (*InstanceTemplateAggregatedList, error) - // Deletes the specified instance template. Deleting an instance template is permanent and cannot be undone. It is not possible to delete templates that are already in use by a managed instance group. - Delete(ctx context.Context, in *DeleteInstanceTemplateRequest, opts ...grpc.CallOption) (*Operation, error) - // Returns the specified instance template. - Get(ctx context.Context, in *GetInstanceTemplateRequest, opts ...grpc.CallOption) (*InstanceTemplate, error) - // Gets the access control policy for a resource. May be empty if no such policy or resource exists. - GetIamPolicy(ctx context.Context, in *GetIamPolicyInstanceTemplateRequest, opts ...grpc.CallOption) (*Policy, error) - // Creates an instance template in the specified project using the data that is included in the request. If you are creating a new template to update an existing instance group, your new instance template must use the same network or, if applicable, the same subnetwork as the original template. - Insert(ctx context.Context, in *InsertInstanceTemplateRequest, opts ...grpc.CallOption) (*Operation, error) - // Retrieves a list of instance templates that are contained within the specified project. - List(ctx context.Context, in *ListInstanceTemplatesRequest, opts ...grpc.CallOption) (*InstanceTemplateList, error) - // Sets the access control policy on the specified resource. Replaces any existing policy. - SetIamPolicy(ctx context.Context, in *SetIamPolicyInstanceTemplateRequest, opts ...grpc.CallOption) (*Policy, error) - // Returns permissions that a caller has on the specified resource. - TestIamPermissions(ctx context.Context, in *TestIamPermissionsInstanceTemplateRequest, opts ...grpc.CallOption) (*TestPermissionsResponse, error) -} - -type instanceTemplatesClient struct { - cc grpc.ClientConnInterface -} - -func NewInstanceTemplatesClient(cc grpc.ClientConnInterface) InstanceTemplatesClient { - return &instanceTemplatesClient{cc} -} - -func (c *instanceTemplatesClient) AggregatedList(ctx context.Context, in *AggregatedListInstanceTemplatesRequest, opts ...grpc.CallOption) (*InstanceTemplateAggregatedList, error) { - out := new(InstanceTemplateAggregatedList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.InstanceTemplates/AggregatedList", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instanceTemplatesClient) Delete(ctx context.Context, in *DeleteInstanceTemplateRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.InstanceTemplates/Delete", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instanceTemplatesClient) Get(ctx context.Context, in *GetInstanceTemplateRequest, opts ...grpc.CallOption) (*InstanceTemplate, error) { - out := new(InstanceTemplate) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.InstanceTemplates/Get", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instanceTemplatesClient) GetIamPolicy(ctx context.Context, in *GetIamPolicyInstanceTemplateRequest, opts ...grpc.CallOption) (*Policy, error) { - out := new(Policy) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.InstanceTemplates/GetIamPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instanceTemplatesClient) Insert(ctx context.Context, in *InsertInstanceTemplateRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.InstanceTemplates/Insert", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instanceTemplatesClient) List(ctx context.Context, in *ListInstanceTemplatesRequest, opts ...grpc.CallOption) (*InstanceTemplateList, error) { - out := new(InstanceTemplateList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.InstanceTemplates/List", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instanceTemplatesClient) SetIamPolicy(ctx context.Context, in *SetIamPolicyInstanceTemplateRequest, opts ...grpc.CallOption) (*Policy, error) { - out := new(Policy) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.InstanceTemplates/SetIamPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instanceTemplatesClient) TestIamPermissions(ctx context.Context, in *TestIamPermissionsInstanceTemplateRequest, opts ...grpc.CallOption) (*TestPermissionsResponse, error) { - out := new(TestPermissionsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.InstanceTemplates/TestIamPermissions", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// InstanceTemplatesServer is the server API for InstanceTemplates service. -type InstanceTemplatesServer interface { - // Retrieves the list of all InstanceTemplates resources, regional and global, available to the specified project. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. - AggregatedList(context.Context, *AggregatedListInstanceTemplatesRequest) (*InstanceTemplateAggregatedList, error) - // Deletes the specified instance template. Deleting an instance template is permanent and cannot be undone. It is not possible to delete templates that are already in use by a managed instance group. - Delete(context.Context, *DeleteInstanceTemplateRequest) (*Operation, error) - // Returns the specified instance template. - Get(context.Context, *GetInstanceTemplateRequest) (*InstanceTemplate, error) - // Gets the access control policy for a resource. May be empty if no such policy or resource exists. - GetIamPolicy(context.Context, *GetIamPolicyInstanceTemplateRequest) (*Policy, error) - // Creates an instance template in the specified project using the data that is included in the request. If you are creating a new template to update an existing instance group, your new instance template must use the same network or, if applicable, the same subnetwork as the original template. - Insert(context.Context, *InsertInstanceTemplateRequest) (*Operation, error) - // Retrieves a list of instance templates that are contained within the specified project. - List(context.Context, *ListInstanceTemplatesRequest) (*InstanceTemplateList, error) - // Sets the access control policy on the specified resource. Replaces any existing policy. - SetIamPolicy(context.Context, *SetIamPolicyInstanceTemplateRequest) (*Policy, error) - // Returns permissions that a caller has on the specified resource. - TestIamPermissions(context.Context, *TestIamPermissionsInstanceTemplateRequest) (*TestPermissionsResponse, error) -} - -// UnimplementedInstanceTemplatesServer can be embedded to have forward compatible implementations. -type UnimplementedInstanceTemplatesServer struct { -} - -func (*UnimplementedInstanceTemplatesServer) AggregatedList(context.Context, *AggregatedListInstanceTemplatesRequest) (*InstanceTemplateAggregatedList, error) { - return nil, status.Errorf(codes.Unimplemented, "method AggregatedList not implemented") -} -func (*UnimplementedInstanceTemplatesServer) Delete(context.Context, *DeleteInstanceTemplateRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") -} -func (*UnimplementedInstanceTemplatesServer) Get(context.Context, *GetInstanceTemplateRequest) (*InstanceTemplate, error) { - return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") -} -func (*UnimplementedInstanceTemplatesServer) GetIamPolicy(context.Context, *GetIamPolicyInstanceTemplateRequest) (*Policy, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetIamPolicy not implemented") -} -func (*UnimplementedInstanceTemplatesServer) Insert(context.Context, *InsertInstanceTemplateRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Insert not implemented") -} -func (*UnimplementedInstanceTemplatesServer) List(context.Context, *ListInstanceTemplatesRequest) (*InstanceTemplateList, error) { - return nil, status.Errorf(codes.Unimplemented, "method List not implemented") -} -func (*UnimplementedInstanceTemplatesServer) SetIamPolicy(context.Context, *SetIamPolicyInstanceTemplateRequest) (*Policy, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetIamPolicy not implemented") -} -func (*UnimplementedInstanceTemplatesServer) TestIamPermissions(context.Context, *TestIamPermissionsInstanceTemplateRequest) (*TestPermissionsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method TestIamPermissions not implemented") -} - -func RegisterInstanceTemplatesServer(s *grpc.Server, srv InstanceTemplatesServer) { - s.RegisterService(&_InstanceTemplates_serviceDesc, srv) -} - -func _InstanceTemplates_AggregatedList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AggregatedListInstanceTemplatesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstanceTemplatesServer).AggregatedList(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.InstanceTemplates/AggregatedList", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstanceTemplatesServer).AggregatedList(ctx, req.(*AggregatedListInstanceTemplatesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _InstanceTemplates_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteInstanceTemplateRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstanceTemplatesServer).Delete(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.InstanceTemplates/Delete", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstanceTemplatesServer).Delete(ctx, req.(*DeleteInstanceTemplateRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _InstanceTemplates_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetInstanceTemplateRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstanceTemplatesServer).Get(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.InstanceTemplates/Get", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstanceTemplatesServer).Get(ctx, req.(*GetInstanceTemplateRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _InstanceTemplates_GetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetIamPolicyInstanceTemplateRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstanceTemplatesServer).GetIamPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.InstanceTemplates/GetIamPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstanceTemplatesServer).GetIamPolicy(ctx, req.(*GetIamPolicyInstanceTemplateRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _InstanceTemplates_Insert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(InsertInstanceTemplateRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstanceTemplatesServer).Insert(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.InstanceTemplates/Insert", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstanceTemplatesServer).Insert(ctx, req.(*InsertInstanceTemplateRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _InstanceTemplates_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListInstanceTemplatesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstanceTemplatesServer).List(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.InstanceTemplates/List", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstanceTemplatesServer).List(ctx, req.(*ListInstanceTemplatesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _InstanceTemplates_SetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetIamPolicyInstanceTemplateRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstanceTemplatesServer).SetIamPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.InstanceTemplates/SetIamPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstanceTemplatesServer).SetIamPolicy(ctx, req.(*SetIamPolicyInstanceTemplateRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _InstanceTemplates_TestIamPermissions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(TestIamPermissionsInstanceTemplateRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstanceTemplatesServer).TestIamPermissions(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.InstanceTemplates/TestIamPermissions", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstanceTemplatesServer).TestIamPermissions(ctx, req.(*TestIamPermissionsInstanceTemplateRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _InstanceTemplates_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.InstanceTemplates", - HandlerType: (*InstanceTemplatesServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "AggregatedList", - Handler: _InstanceTemplates_AggregatedList_Handler, - }, - { - MethodName: "Delete", - Handler: _InstanceTemplates_Delete_Handler, - }, - { - MethodName: "Get", - Handler: _InstanceTemplates_Get_Handler, - }, - { - MethodName: "GetIamPolicy", - Handler: _InstanceTemplates_GetIamPolicy_Handler, - }, - { - MethodName: "Insert", - Handler: _InstanceTemplates_Insert_Handler, - }, - { - MethodName: "List", - Handler: _InstanceTemplates_List_Handler, - }, - { - MethodName: "SetIamPolicy", - Handler: _InstanceTemplates_SetIamPolicy_Handler, - }, - { - MethodName: "TestIamPermissions", - Handler: _InstanceTemplates_TestIamPermissions_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} - -// InstancesClient is the client API for Instances service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type InstancesClient interface { - // Adds an access config to an instance's network interface. - AddAccessConfig(ctx context.Context, in *AddAccessConfigInstanceRequest, opts ...grpc.CallOption) (*Operation, error) - // Adds existing resource policies to an instance. You can only add one policy right now which will be applied to this instance for scheduling live migrations. - AddResourcePolicies(ctx context.Context, in *AddResourcePoliciesInstanceRequest, opts ...grpc.CallOption) (*Operation, error) - // Retrieves an aggregated list of all of the instances in your project across all regions and zones. The performance of this method degrades when a filter is specified on a project that has a very large number of instances. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. - AggregatedList(ctx context.Context, in *AggregatedListInstancesRequest, opts ...grpc.CallOption) (*InstanceAggregatedList, error) - // Attaches an existing Disk resource to an instance. You must first create the disk before you can attach it. It is not possible to create and attach a disk at the same time. For more information, read Adding a persistent disk to your instance. - AttachDisk(ctx context.Context, in *AttachDiskInstanceRequest, opts ...grpc.CallOption) (*Operation, error) - // Creates multiple instances. Count specifies the number of instances to create. For more information, see About bulk creation of VMs. - BulkInsert(ctx context.Context, in *BulkInsertInstanceRequest, opts ...grpc.CallOption) (*Operation, error) - // Deletes the specified Instance resource. For more information, see Deleting an instance. - Delete(ctx context.Context, in *DeleteInstanceRequest, opts ...grpc.CallOption) (*Operation, error) - // Deletes an access config from an instance's network interface. - DeleteAccessConfig(ctx context.Context, in *DeleteAccessConfigInstanceRequest, opts ...grpc.CallOption) (*Operation, error) - // Detaches a disk from an instance. - DetachDisk(ctx context.Context, in *DetachDiskInstanceRequest, opts ...grpc.CallOption) (*Operation, error) - // Returns the specified Instance resource. - Get(ctx context.Context, in *GetInstanceRequest, opts ...grpc.CallOption) (*Instance, error) - // Returns effective firewalls applied to an interface of the instance. - GetEffectiveFirewalls(ctx context.Context, in *GetEffectiveFirewallsInstanceRequest, opts ...grpc.CallOption) (*InstancesGetEffectiveFirewallsResponse, error) - // Returns the specified guest attributes entry. - GetGuestAttributes(ctx context.Context, in *GetGuestAttributesInstanceRequest, opts ...grpc.CallOption) (*GuestAttributes, error) - // Gets the access control policy for a resource. May be empty if no such policy or resource exists. - GetIamPolicy(ctx context.Context, in *GetIamPolicyInstanceRequest, opts ...grpc.CallOption) (*Policy, error) - // Returns the screenshot from the specified instance. - GetScreenshot(ctx context.Context, in *GetScreenshotInstanceRequest, opts ...grpc.CallOption) (*Screenshot, error) - // Returns the last 1 MB of serial port output from the specified instance. - GetSerialPortOutput(ctx context.Context, in *GetSerialPortOutputInstanceRequest, opts ...grpc.CallOption) (*SerialPortOutput, error) - // Returns the Shielded Instance Identity of an instance - GetShieldedInstanceIdentity(ctx context.Context, in *GetShieldedInstanceIdentityInstanceRequest, opts ...grpc.CallOption) (*ShieldedInstanceIdentity, error) - // Creates an instance resource in the specified project using the data included in the request. - Insert(ctx context.Context, in *InsertInstanceRequest, opts ...grpc.CallOption) (*Operation, error) - // Retrieves the list of instances contained within the specified zone. - List(ctx context.Context, in *ListInstancesRequest, opts ...grpc.CallOption) (*InstanceList, error) - // Retrieves a list of resources that refer to the VM instance specified in the request. For example, if the VM instance is part of a managed or unmanaged instance group, the referrers list includes the instance group. For more information, read Viewing referrers to VM instances. - ListReferrers(ctx context.Context, in *ListReferrersInstancesRequest, opts ...grpc.CallOption) (*InstanceListReferrers, error) - // Perform a manual maintenance on the instance. - PerformMaintenance(ctx context.Context, in *PerformMaintenanceInstanceRequest, opts ...grpc.CallOption) (*Operation, error) - // Removes resource policies from an instance. - RemoveResourcePolicies(ctx context.Context, in *RemoveResourcePoliciesInstanceRequest, opts ...grpc.CallOption) (*Operation, error) - // Performs a reset on the instance. This is a hard reset. The VM does not do a graceful shutdown. For more information, see Resetting an instance. - Reset(ctx context.Context, in *ResetInstanceRequest, opts ...grpc.CallOption) (*Operation, error) - // Resumes an instance that was suspended using the instances().suspend method. - Resume(ctx context.Context, in *ResumeInstanceRequest, opts ...grpc.CallOption) (*Operation, error) - // Sends diagnostic interrupt to the instance. - SendDiagnosticInterrupt(ctx context.Context, in *SendDiagnosticInterruptInstanceRequest, opts ...grpc.CallOption) (*SendDiagnosticInterruptInstanceResponse, error) - // Sets deletion protection on the instance. - SetDeletionProtection(ctx context.Context, in *SetDeletionProtectionInstanceRequest, opts ...grpc.CallOption) (*Operation, error) - // Sets the auto-delete flag for a disk attached to an instance. - SetDiskAutoDelete(ctx context.Context, in *SetDiskAutoDeleteInstanceRequest, opts ...grpc.CallOption) (*Operation, error) - // Sets the access control policy on the specified resource. Replaces any existing policy. - SetIamPolicy(ctx context.Context, in *SetIamPolicyInstanceRequest, opts ...grpc.CallOption) (*Policy, error) - // Sets labels on an instance. To learn more about labels, read the Labeling Resources documentation. - SetLabels(ctx context.Context, in *SetLabelsInstanceRequest, opts ...grpc.CallOption) (*Operation, error) - // Changes the number and/or type of accelerator for a stopped instance to the values specified in the request. - SetMachineResources(ctx context.Context, in *SetMachineResourcesInstanceRequest, opts ...grpc.CallOption) (*Operation, error) - // Changes the machine type for a stopped instance to the machine type specified in the request. - SetMachineType(ctx context.Context, in *SetMachineTypeInstanceRequest, opts ...grpc.CallOption) (*Operation, error) - // Sets metadata for the specified instance to the data included in the request. - SetMetadata(ctx context.Context, in *SetMetadataInstanceRequest, opts ...grpc.CallOption) (*Operation, error) - // Changes the minimum CPU platform that this instance should use. This method can only be called on a stopped instance. For more information, read Specifying a Minimum CPU Platform. - SetMinCpuPlatform(ctx context.Context, in *SetMinCpuPlatformInstanceRequest, opts ...grpc.CallOption) (*Operation, error) - // Sets name of an instance. - SetName(ctx context.Context, in *SetNameInstanceRequest, opts ...grpc.CallOption) (*Operation, error) - // Sets an instance's scheduling options. You can only call this method on a stopped instance, that is, a VM instance that is in a `TERMINATED` state. See Instance Life Cycle for more information on the possible instance states. For more information about setting scheduling options for a VM, see Set VM host maintenance policy. - SetScheduling(ctx context.Context, in *SetSchedulingInstanceRequest, opts ...grpc.CallOption) (*Operation, error) - // Sets the Google Cloud Armor security policy for the specified instance. For more information, see Google Cloud Armor Overview - SetSecurityPolicy(ctx context.Context, in *SetSecurityPolicyInstanceRequest, opts ...grpc.CallOption) (*Operation, error) - // Sets the service account on the instance. For more information, read Changing the service account and access scopes for an instance. - SetServiceAccount(ctx context.Context, in *SetServiceAccountInstanceRequest, opts ...grpc.CallOption) (*Operation, error) - // Sets the Shielded Instance integrity policy for an instance. You can only use this method on a running instance. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. - SetShieldedInstanceIntegrityPolicy(ctx context.Context, in *SetShieldedInstanceIntegrityPolicyInstanceRequest, opts ...grpc.CallOption) (*Operation, error) - // Sets network tags for the specified instance to the data included in the request. - SetTags(ctx context.Context, in *SetTagsInstanceRequest, opts ...grpc.CallOption) (*Operation, error) - // Simulates a host maintenance event on a VM. For more information, see Simulate a host maintenance event. - SimulateMaintenanceEvent(ctx context.Context, in *SimulateMaintenanceEventInstanceRequest, opts ...grpc.CallOption) (*Operation, error) - // Starts an instance that was stopped using the instances().stop method. For more information, see Restart an instance. - Start(ctx context.Context, in *StartInstanceRequest, opts ...grpc.CallOption) (*Operation, error) - // Starts an instance that was stopped using the instances().stop method. For more information, see Restart an instance. - StartWithEncryptionKey(ctx context.Context, in *StartWithEncryptionKeyInstanceRequest, opts ...grpc.CallOption) (*Operation, error) - // Stops a running instance, shutting it down cleanly, and allows you to restart the instance at a later time. Stopped instances do not incur VM usage charges while they are stopped. However, resources that the VM is using, such as persistent disks and static IP addresses, will continue to be charged until they are deleted. For more information, see Stopping an instance. - Stop(ctx context.Context, in *StopInstanceRequest, opts ...grpc.CallOption) (*Operation, error) - // This method suspends a running instance, saving its state to persistent storage, and allows you to resume the instance at a later time. Suspended instances have no compute costs (cores or RAM), and incur only storage charges for the saved VM memory and localSSD data. Any charged resources the virtual machine was using, such as persistent disks and static IP addresses, will continue to be charged while the instance is suspended. For more information, see Suspending and resuming an instance. - Suspend(ctx context.Context, in *SuspendInstanceRequest, opts ...grpc.CallOption) (*Operation, error) - // Returns permissions that a caller has on the specified resource. - TestIamPermissions(ctx context.Context, in *TestIamPermissionsInstanceRequest, opts ...grpc.CallOption) (*TestPermissionsResponse, error) - // Updates an instance only if the necessary resources are available. This method can update only a specific set of instance properties. See Updating a running instance for a list of updatable instance properties. - Update(ctx context.Context, in *UpdateInstanceRequest, opts ...grpc.CallOption) (*Operation, error) - // Updates the specified access config from an instance's network interface with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. - UpdateAccessConfig(ctx context.Context, in *UpdateAccessConfigInstanceRequest, opts ...grpc.CallOption) (*Operation, error) - // Updates the Display config for a VM instance. You can only use this method on a stopped VM instance. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. - UpdateDisplayDevice(ctx context.Context, in *UpdateDisplayDeviceInstanceRequest, opts ...grpc.CallOption) (*Operation, error) - // Updates an instance's network interface. This method can only update an interface's alias IP range and attached network. See Modifying alias IP ranges for an existing instance for instructions on changing alias IP ranges. See Migrating a VM between networks for instructions on migrating an interface. This method follows PATCH semantics. - UpdateNetworkInterface(ctx context.Context, in *UpdateNetworkInterfaceInstanceRequest, opts ...grpc.CallOption) (*Operation, error) - // Updates the Shielded Instance config for an instance. You can only use this method on a stopped instance. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. - UpdateShieldedInstanceConfig(ctx context.Context, in *UpdateShieldedInstanceConfigInstanceRequest, opts ...grpc.CallOption) (*Operation, error) -} - -type instancesClient struct { - cc grpc.ClientConnInterface -} - -func NewInstancesClient(cc grpc.ClientConnInterface) InstancesClient { - return &instancesClient{cc} -} - -func (c *instancesClient) AddAccessConfig(ctx context.Context, in *AddAccessConfigInstanceRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Instances/AddAccessConfig", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instancesClient) AddResourcePolicies(ctx context.Context, in *AddResourcePoliciesInstanceRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Instances/AddResourcePolicies", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instancesClient) AggregatedList(ctx context.Context, in *AggregatedListInstancesRequest, opts ...grpc.CallOption) (*InstanceAggregatedList, error) { - out := new(InstanceAggregatedList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Instances/AggregatedList", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instancesClient) AttachDisk(ctx context.Context, in *AttachDiskInstanceRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Instances/AttachDisk", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instancesClient) BulkInsert(ctx context.Context, in *BulkInsertInstanceRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Instances/BulkInsert", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instancesClient) Delete(ctx context.Context, in *DeleteInstanceRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Instances/Delete", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instancesClient) DeleteAccessConfig(ctx context.Context, in *DeleteAccessConfigInstanceRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Instances/DeleteAccessConfig", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instancesClient) DetachDisk(ctx context.Context, in *DetachDiskInstanceRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Instances/DetachDisk", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instancesClient) Get(ctx context.Context, in *GetInstanceRequest, opts ...grpc.CallOption) (*Instance, error) { - out := new(Instance) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Instances/Get", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instancesClient) GetEffectiveFirewalls(ctx context.Context, in *GetEffectiveFirewallsInstanceRequest, opts ...grpc.CallOption) (*InstancesGetEffectiveFirewallsResponse, error) { - out := new(InstancesGetEffectiveFirewallsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Instances/GetEffectiveFirewalls", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instancesClient) GetGuestAttributes(ctx context.Context, in *GetGuestAttributesInstanceRequest, opts ...grpc.CallOption) (*GuestAttributes, error) { - out := new(GuestAttributes) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Instances/GetGuestAttributes", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instancesClient) GetIamPolicy(ctx context.Context, in *GetIamPolicyInstanceRequest, opts ...grpc.CallOption) (*Policy, error) { - out := new(Policy) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Instances/GetIamPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instancesClient) GetScreenshot(ctx context.Context, in *GetScreenshotInstanceRequest, opts ...grpc.CallOption) (*Screenshot, error) { - out := new(Screenshot) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Instances/GetScreenshot", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instancesClient) GetSerialPortOutput(ctx context.Context, in *GetSerialPortOutputInstanceRequest, opts ...grpc.CallOption) (*SerialPortOutput, error) { - out := new(SerialPortOutput) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Instances/GetSerialPortOutput", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instancesClient) GetShieldedInstanceIdentity(ctx context.Context, in *GetShieldedInstanceIdentityInstanceRequest, opts ...grpc.CallOption) (*ShieldedInstanceIdentity, error) { - out := new(ShieldedInstanceIdentity) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Instances/GetShieldedInstanceIdentity", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instancesClient) Insert(ctx context.Context, in *InsertInstanceRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Instances/Insert", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instancesClient) List(ctx context.Context, in *ListInstancesRequest, opts ...grpc.CallOption) (*InstanceList, error) { - out := new(InstanceList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Instances/List", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instancesClient) ListReferrers(ctx context.Context, in *ListReferrersInstancesRequest, opts ...grpc.CallOption) (*InstanceListReferrers, error) { - out := new(InstanceListReferrers) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Instances/ListReferrers", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instancesClient) PerformMaintenance(ctx context.Context, in *PerformMaintenanceInstanceRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Instances/PerformMaintenance", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instancesClient) RemoveResourcePolicies(ctx context.Context, in *RemoveResourcePoliciesInstanceRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Instances/RemoveResourcePolicies", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instancesClient) Reset(ctx context.Context, in *ResetInstanceRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Instances/Reset", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instancesClient) Resume(ctx context.Context, in *ResumeInstanceRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Instances/Resume", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instancesClient) SendDiagnosticInterrupt(ctx context.Context, in *SendDiagnosticInterruptInstanceRequest, opts ...grpc.CallOption) (*SendDiagnosticInterruptInstanceResponse, error) { - out := new(SendDiagnosticInterruptInstanceResponse) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Instances/SendDiagnosticInterrupt", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instancesClient) SetDeletionProtection(ctx context.Context, in *SetDeletionProtectionInstanceRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Instances/SetDeletionProtection", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instancesClient) SetDiskAutoDelete(ctx context.Context, in *SetDiskAutoDeleteInstanceRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Instances/SetDiskAutoDelete", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instancesClient) SetIamPolicy(ctx context.Context, in *SetIamPolicyInstanceRequest, opts ...grpc.CallOption) (*Policy, error) { - out := new(Policy) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Instances/SetIamPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instancesClient) SetLabels(ctx context.Context, in *SetLabelsInstanceRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Instances/SetLabels", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instancesClient) SetMachineResources(ctx context.Context, in *SetMachineResourcesInstanceRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Instances/SetMachineResources", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instancesClient) SetMachineType(ctx context.Context, in *SetMachineTypeInstanceRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Instances/SetMachineType", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instancesClient) SetMetadata(ctx context.Context, in *SetMetadataInstanceRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Instances/SetMetadata", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instancesClient) SetMinCpuPlatform(ctx context.Context, in *SetMinCpuPlatformInstanceRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Instances/SetMinCpuPlatform", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instancesClient) SetName(ctx context.Context, in *SetNameInstanceRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Instances/SetName", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instancesClient) SetScheduling(ctx context.Context, in *SetSchedulingInstanceRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Instances/SetScheduling", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instancesClient) SetSecurityPolicy(ctx context.Context, in *SetSecurityPolicyInstanceRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Instances/SetSecurityPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instancesClient) SetServiceAccount(ctx context.Context, in *SetServiceAccountInstanceRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Instances/SetServiceAccount", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instancesClient) SetShieldedInstanceIntegrityPolicy(ctx context.Context, in *SetShieldedInstanceIntegrityPolicyInstanceRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Instances/SetShieldedInstanceIntegrityPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instancesClient) SetTags(ctx context.Context, in *SetTagsInstanceRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Instances/SetTags", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instancesClient) SimulateMaintenanceEvent(ctx context.Context, in *SimulateMaintenanceEventInstanceRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Instances/SimulateMaintenanceEvent", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instancesClient) Start(ctx context.Context, in *StartInstanceRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Instances/Start", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instancesClient) StartWithEncryptionKey(ctx context.Context, in *StartWithEncryptionKeyInstanceRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Instances/StartWithEncryptionKey", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instancesClient) Stop(ctx context.Context, in *StopInstanceRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Instances/Stop", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instancesClient) Suspend(ctx context.Context, in *SuspendInstanceRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Instances/Suspend", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instancesClient) TestIamPermissions(ctx context.Context, in *TestIamPermissionsInstanceRequest, opts ...grpc.CallOption) (*TestPermissionsResponse, error) { - out := new(TestPermissionsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Instances/TestIamPermissions", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instancesClient) Update(ctx context.Context, in *UpdateInstanceRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Instances/Update", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instancesClient) UpdateAccessConfig(ctx context.Context, in *UpdateAccessConfigInstanceRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Instances/UpdateAccessConfig", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instancesClient) UpdateDisplayDevice(ctx context.Context, in *UpdateDisplayDeviceInstanceRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Instances/UpdateDisplayDevice", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instancesClient) UpdateNetworkInterface(ctx context.Context, in *UpdateNetworkInterfaceInstanceRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Instances/UpdateNetworkInterface", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instancesClient) UpdateShieldedInstanceConfig(ctx context.Context, in *UpdateShieldedInstanceConfigInstanceRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Instances/UpdateShieldedInstanceConfig", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// InstancesServer is the server API for Instances service. -type InstancesServer interface { - // Adds an access config to an instance's network interface. - AddAccessConfig(context.Context, *AddAccessConfigInstanceRequest) (*Operation, error) - // Adds existing resource policies to an instance. You can only add one policy right now which will be applied to this instance for scheduling live migrations. - AddResourcePolicies(context.Context, *AddResourcePoliciesInstanceRequest) (*Operation, error) - // Retrieves an aggregated list of all of the instances in your project across all regions and zones. The performance of this method degrades when a filter is specified on a project that has a very large number of instances. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. - AggregatedList(context.Context, *AggregatedListInstancesRequest) (*InstanceAggregatedList, error) - // Attaches an existing Disk resource to an instance. You must first create the disk before you can attach it. It is not possible to create and attach a disk at the same time. For more information, read Adding a persistent disk to your instance. - AttachDisk(context.Context, *AttachDiskInstanceRequest) (*Operation, error) - // Creates multiple instances. Count specifies the number of instances to create. For more information, see About bulk creation of VMs. - BulkInsert(context.Context, *BulkInsertInstanceRequest) (*Operation, error) - // Deletes the specified Instance resource. For more information, see Deleting an instance. - Delete(context.Context, *DeleteInstanceRequest) (*Operation, error) - // Deletes an access config from an instance's network interface. - DeleteAccessConfig(context.Context, *DeleteAccessConfigInstanceRequest) (*Operation, error) - // Detaches a disk from an instance. - DetachDisk(context.Context, *DetachDiskInstanceRequest) (*Operation, error) - // Returns the specified Instance resource. - Get(context.Context, *GetInstanceRequest) (*Instance, error) - // Returns effective firewalls applied to an interface of the instance. - GetEffectiveFirewalls(context.Context, *GetEffectiveFirewallsInstanceRequest) (*InstancesGetEffectiveFirewallsResponse, error) - // Returns the specified guest attributes entry. - GetGuestAttributes(context.Context, *GetGuestAttributesInstanceRequest) (*GuestAttributes, error) - // Gets the access control policy for a resource. May be empty if no such policy or resource exists. - GetIamPolicy(context.Context, *GetIamPolicyInstanceRequest) (*Policy, error) - // Returns the screenshot from the specified instance. - GetScreenshot(context.Context, *GetScreenshotInstanceRequest) (*Screenshot, error) - // Returns the last 1 MB of serial port output from the specified instance. - GetSerialPortOutput(context.Context, *GetSerialPortOutputInstanceRequest) (*SerialPortOutput, error) - // Returns the Shielded Instance Identity of an instance - GetShieldedInstanceIdentity(context.Context, *GetShieldedInstanceIdentityInstanceRequest) (*ShieldedInstanceIdentity, error) - // Creates an instance resource in the specified project using the data included in the request. - Insert(context.Context, *InsertInstanceRequest) (*Operation, error) - // Retrieves the list of instances contained within the specified zone. - List(context.Context, *ListInstancesRequest) (*InstanceList, error) - // Retrieves a list of resources that refer to the VM instance specified in the request. For example, if the VM instance is part of a managed or unmanaged instance group, the referrers list includes the instance group. For more information, read Viewing referrers to VM instances. - ListReferrers(context.Context, *ListReferrersInstancesRequest) (*InstanceListReferrers, error) - // Perform a manual maintenance on the instance. - PerformMaintenance(context.Context, *PerformMaintenanceInstanceRequest) (*Operation, error) - // Removes resource policies from an instance. - RemoveResourcePolicies(context.Context, *RemoveResourcePoliciesInstanceRequest) (*Operation, error) - // Performs a reset on the instance. This is a hard reset. The VM does not do a graceful shutdown. For more information, see Resetting an instance. - Reset(context.Context, *ResetInstanceRequest) (*Operation, error) - // Resumes an instance that was suspended using the instances().suspend method. - Resume(context.Context, *ResumeInstanceRequest) (*Operation, error) - // Sends diagnostic interrupt to the instance. - SendDiagnosticInterrupt(context.Context, *SendDiagnosticInterruptInstanceRequest) (*SendDiagnosticInterruptInstanceResponse, error) - // Sets deletion protection on the instance. - SetDeletionProtection(context.Context, *SetDeletionProtectionInstanceRequest) (*Operation, error) - // Sets the auto-delete flag for a disk attached to an instance. - SetDiskAutoDelete(context.Context, *SetDiskAutoDeleteInstanceRequest) (*Operation, error) - // Sets the access control policy on the specified resource. Replaces any existing policy. - SetIamPolicy(context.Context, *SetIamPolicyInstanceRequest) (*Policy, error) - // Sets labels on an instance. To learn more about labels, read the Labeling Resources documentation. - SetLabels(context.Context, *SetLabelsInstanceRequest) (*Operation, error) - // Changes the number and/or type of accelerator for a stopped instance to the values specified in the request. - SetMachineResources(context.Context, *SetMachineResourcesInstanceRequest) (*Operation, error) - // Changes the machine type for a stopped instance to the machine type specified in the request. - SetMachineType(context.Context, *SetMachineTypeInstanceRequest) (*Operation, error) - // Sets metadata for the specified instance to the data included in the request. - SetMetadata(context.Context, *SetMetadataInstanceRequest) (*Operation, error) - // Changes the minimum CPU platform that this instance should use. This method can only be called on a stopped instance. For more information, read Specifying a Minimum CPU Platform. - SetMinCpuPlatform(context.Context, *SetMinCpuPlatformInstanceRequest) (*Operation, error) - // Sets name of an instance. - SetName(context.Context, *SetNameInstanceRequest) (*Operation, error) - // Sets an instance's scheduling options. You can only call this method on a stopped instance, that is, a VM instance that is in a `TERMINATED` state. See Instance Life Cycle for more information on the possible instance states. For more information about setting scheduling options for a VM, see Set VM host maintenance policy. - SetScheduling(context.Context, *SetSchedulingInstanceRequest) (*Operation, error) - // Sets the Google Cloud Armor security policy for the specified instance. For more information, see Google Cloud Armor Overview - SetSecurityPolicy(context.Context, *SetSecurityPolicyInstanceRequest) (*Operation, error) - // Sets the service account on the instance. For more information, read Changing the service account and access scopes for an instance. - SetServiceAccount(context.Context, *SetServiceAccountInstanceRequest) (*Operation, error) - // Sets the Shielded Instance integrity policy for an instance. You can only use this method on a running instance. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. - SetShieldedInstanceIntegrityPolicy(context.Context, *SetShieldedInstanceIntegrityPolicyInstanceRequest) (*Operation, error) - // Sets network tags for the specified instance to the data included in the request. - SetTags(context.Context, *SetTagsInstanceRequest) (*Operation, error) - // Simulates a host maintenance event on a VM. For more information, see Simulate a host maintenance event. - SimulateMaintenanceEvent(context.Context, *SimulateMaintenanceEventInstanceRequest) (*Operation, error) - // Starts an instance that was stopped using the instances().stop method. For more information, see Restart an instance. - Start(context.Context, *StartInstanceRequest) (*Operation, error) - // Starts an instance that was stopped using the instances().stop method. For more information, see Restart an instance. - StartWithEncryptionKey(context.Context, *StartWithEncryptionKeyInstanceRequest) (*Operation, error) - // Stops a running instance, shutting it down cleanly, and allows you to restart the instance at a later time. Stopped instances do not incur VM usage charges while they are stopped. However, resources that the VM is using, such as persistent disks and static IP addresses, will continue to be charged until they are deleted. For more information, see Stopping an instance. - Stop(context.Context, *StopInstanceRequest) (*Operation, error) - // This method suspends a running instance, saving its state to persistent storage, and allows you to resume the instance at a later time. Suspended instances have no compute costs (cores or RAM), and incur only storage charges for the saved VM memory and localSSD data. Any charged resources the virtual machine was using, such as persistent disks and static IP addresses, will continue to be charged while the instance is suspended. For more information, see Suspending and resuming an instance. - Suspend(context.Context, *SuspendInstanceRequest) (*Operation, error) - // Returns permissions that a caller has on the specified resource. - TestIamPermissions(context.Context, *TestIamPermissionsInstanceRequest) (*TestPermissionsResponse, error) - // Updates an instance only if the necessary resources are available. This method can update only a specific set of instance properties. See Updating a running instance for a list of updatable instance properties. - Update(context.Context, *UpdateInstanceRequest) (*Operation, error) - // Updates the specified access config from an instance's network interface with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. - UpdateAccessConfig(context.Context, *UpdateAccessConfigInstanceRequest) (*Operation, error) - // Updates the Display config for a VM instance. You can only use this method on a stopped VM instance. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. - UpdateDisplayDevice(context.Context, *UpdateDisplayDeviceInstanceRequest) (*Operation, error) - // Updates an instance's network interface. This method can only update an interface's alias IP range and attached network. See Modifying alias IP ranges for an existing instance for instructions on changing alias IP ranges. See Migrating a VM between networks for instructions on migrating an interface. This method follows PATCH semantics. - UpdateNetworkInterface(context.Context, *UpdateNetworkInterfaceInstanceRequest) (*Operation, error) - // Updates the Shielded Instance config for an instance. You can only use this method on a stopped instance. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. - UpdateShieldedInstanceConfig(context.Context, *UpdateShieldedInstanceConfigInstanceRequest) (*Operation, error) -} - -// UnimplementedInstancesServer can be embedded to have forward compatible implementations. -type UnimplementedInstancesServer struct { -} - -func (*UnimplementedInstancesServer) AddAccessConfig(context.Context, *AddAccessConfigInstanceRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method AddAccessConfig not implemented") -} -func (*UnimplementedInstancesServer) AddResourcePolicies(context.Context, *AddResourcePoliciesInstanceRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method AddResourcePolicies not implemented") -} -func (*UnimplementedInstancesServer) AggregatedList(context.Context, *AggregatedListInstancesRequest) (*InstanceAggregatedList, error) { - return nil, status.Errorf(codes.Unimplemented, "method AggregatedList not implemented") -} -func (*UnimplementedInstancesServer) AttachDisk(context.Context, *AttachDiskInstanceRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method AttachDisk not implemented") -} -func (*UnimplementedInstancesServer) BulkInsert(context.Context, *BulkInsertInstanceRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method BulkInsert not implemented") -} -func (*UnimplementedInstancesServer) Delete(context.Context, *DeleteInstanceRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") -} -func (*UnimplementedInstancesServer) DeleteAccessConfig(context.Context, *DeleteAccessConfigInstanceRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteAccessConfig not implemented") -} -func (*UnimplementedInstancesServer) DetachDisk(context.Context, *DetachDiskInstanceRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method DetachDisk not implemented") -} -func (*UnimplementedInstancesServer) Get(context.Context, *GetInstanceRequest) (*Instance, error) { - return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") -} -func (*UnimplementedInstancesServer) GetEffectiveFirewalls(context.Context, *GetEffectiveFirewallsInstanceRequest) (*InstancesGetEffectiveFirewallsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetEffectiveFirewalls not implemented") -} -func (*UnimplementedInstancesServer) GetGuestAttributes(context.Context, *GetGuestAttributesInstanceRequest) (*GuestAttributes, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetGuestAttributes not implemented") -} -func (*UnimplementedInstancesServer) GetIamPolicy(context.Context, *GetIamPolicyInstanceRequest) (*Policy, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetIamPolicy not implemented") -} -func (*UnimplementedInstancesServer) GetScreenshot(context.Context, *GetScreenshotInstanceRequest) (*Screenshot, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetScreenshot not implemented") -} -func (*UnimplementedInstancesServer) GetSerialPortOutput(context.Context, *GetSerialPortOutputInstanceRequest) (*SerialPortOutput, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetSerialPortOutput not implemented") -} -func (*UnimplementedInstancesServer) GetShieldedInstanceIdentity(context.Context, *GetShieldedInstanceIdentityInstanceRequest) (*ShieldedInstanceIdentity, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetShieldedInstanceIdentity not implemented") -} -func (*UnimplementedInstancesServer) Insert(context.Context, *InsertInstanceRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Insert not implemented") -} -func (*UnimplementedInstancesServer) List(context.Context, *ListInstancesRequest) (*InstanceList, error) { - return nil, status.Errorf(codes.Unimplemented, "method List not implemented") -} -func (*UnimplementedInstancesServer) ListReferrers(context.Context, *ListReferrersInstancesRequest) (*InstanceListReferrers, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListReferrers not implemented") -} -func (*UnimplementedInstancesServer) PerformMaintenance(context.Context, *PerformMaintenanceInstanceRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method PerformMaintenance not implemented") -} -func (*UnimplementedInstancesServer) RemoveResourcePolicies(context.Context, *RemoveResourcePoliciesInstanceRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method RemoveResourcePolicies not implemented") -} -func (*UnimplementedInstancesServer) Reset(context.Context, *ResetInstanceRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Reset not implemented") -} -func (*UnimplementedInstancesServer) Resume(context.Context, *ResumeInstanceRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Resume not implemented") -} -func (*UnimplementedInstancesServer) SendDiagnosticInterrupt(context.Context, *SendDiagnosticInterruptInstanceRequest) (*SendDiagnosticInterruptInstanceResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SendDiagnosticInterrupt not implemented") -} -func (*UnimplementedInstancesServer) SetDeletionProtection(context.Context, *SetDeletionProtectionInstanceRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetDeletionProtection not implemented") -} -func (*UnimplementedInstancesServer) SetDiskAutoDelete(context.Context, *SetDiskAutoDeleteInstanceRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetDiskAutoDelete not implemented") -} -func (*UnimplementedInstancesServer) SetIamPolicy(context.Context, *SetIamPolicyInstanceRequest) (*Policy, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetIamPolicy not implemented") -} -func (*UnimplementedInstancesServer) SetLabels(context.Context, *SetLabelsInstanceRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetLabels not implemented") -} -func (*UnimplementedInstancesServer) SetMachineResources(context.Context, *SetMachineResourcesInstanceRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetMachineResources not implemented") -} -func (*UnimplementedInstancesServer) SetMachineType(context.Context, *SetMachineTypeInstanceRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetMachineType not implemented") -} -func (*UnimplementedInstancesServer) SetMetadata(context.Context, *SetMetadataInstanceRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetMetadata not implemented") -} -func (*UnimplementedInstancesServer) SetMinCpuPlatform(context.Context, *SetMinCpuPlatformInstanceRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetMinCpuPlatform not implemented") -} -func (*UnimplementedInstancesServer) SetName(context.Context, *SetNameInstanceRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetName not implemented") -} -func (*UnimplementedInstancesServer) SetScheduling(context.Context, *SetSchedulingInstanceRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetScheduling not implemented") -} -func (*UnimplementedInstancesServer) SetSecurityPolicy(context.Context, *SetSecurityPolicyInstanceRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetSecurityPolicy not implemented") -} -func (*UnimplementedInstancesServer) SetServiceAccount(context.Context, *SetServiceAccountInstanceRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetServiceAccount not implemented") -} -func (*UnimplementedInstancesServer) SetShieldedInstanceIntegrityPolicy(context.Context, *SetShieldedInstanceIntegrityPolicyInstanceRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetShieldedInstanceIntegrityPolicy not implemented") -} -func (*UnimplementedInstancesServer) SetTags(context.Context, *SetTagsInstanceRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetTags not implemented") -} -func (*UnimplementedInstancesServer) SimulateMaintenanceEvent(context.Context, *SimulateMaintenanceEventInstanceRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SimulateMaintenanceEvent not implemented") -} -func (*UnimplementedInstancesServer) Start(context.Context, *StartInstanceRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Start not implemented") -} -func (*UnimplementedInstancesServer) StartWithEncryptionKey(context.Context, *StartWithEncryptionKeyInstanceRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method StartWithEncryptionKey not implemented") -} -func (*UnimplementedInstancesServer) Stop(context.Context, *StopInstanceRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Stop not implemented") -} -func (*UnimplementedInstancesServer) Suspend(context.Context, *SuspendInstanceRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Suspend not implemented") -} -func (*UnimplementedInstancesServer) TestIamPermissions(context.Context, *TestIamPermissionsInstanceRequest) (*TestPermissionsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method TestIamPermissions not implemented") -} -func (*UnimplementedInstancesServer) Update(context.Context, *UpdateInstanceRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Update not implemented") -} -func (*UnimplementedInstancesServer) UpdateAccessConfig(context.Context, *UpdateAccessConfigInstanceRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateAccessConfig not implemented") -} -func (*UnimplementedInstancesServer) UpdateDisplayDevice(context.Context, *UpdateDisplayDeviceInstanceRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateDisplayDevice not implemented") -} -func (*UnimplementedInstancesServer) UpdateNetworkInterface(context.Context, *UpdateNetworkInterfaceInstanceRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateNetworkInterface not implemented") -} -func (*UnimplementedInstancesServer) UpdateShieldedInstanceConfig(context.Context, *UpdateShieldedInstanceConfigInstanceRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateShieldedInstanceConfig not implemented") -} - -func RegisterInstancesServer(s *grpc.Server, srv InstancesServer) { - s.RegisterService(&_Instances_serviceDesc, srv) -} - -func _Instances_AddAccessConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AddAccessConfigInstanceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstancesServer).AddAccessConfig(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Instances/AddAccessConfig", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstancesServer).AddAccessConfig(ctx, req.(*AddAccessConfigInstanceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Instances_AddResourcePolicies_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AddResourcePoliciesInstanceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstancesServer).AddResourcePolicies(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Instances/AddResourcePolicies", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstancesServer).AddResourcePolicies(ctx, req.(*AddResourcePoliciesInstanceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Instances_AggregatedList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AggregatedListInstancesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstancesServer).AggregatedList(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Instances/AggregatedList", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstancesServer).AggregatedList(ctx, req.(*AggregatedListInstancesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Instances_AttachDisk_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AttachDiskInstanceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstancesServer).AttachDisk(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Instances/AttachDisk", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstancesServer).AttachDisk(ctx, req.(*AttachDiskInstanceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Instances_BulkInsert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(BulkInsertInstanceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstancesServer).BulkInsert(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Instances/BulkInsert", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstancesServer).BulkInsert(ctx, req.(*BulkInsertInstanceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Instances_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteInstanceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstancesServer).Delete(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Instances/Delete", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstancesServer).Delete(ctx, req.(*DeleteInstanceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Instances_DeleteAccessConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteAccessConfigInstanceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstancesServer).DeleteAccessConfig(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Instances/DeleteAccessConfig", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstancesServer).DeleteAccessConfig(ctx, req.(*DeleteAccessConfigInstanceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Instances_DetachDisk_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DetachDiskInstanceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstancesServer).DetachDisk(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Instances/DetachDisk", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstancesServer).DetachDisk(ctx, req.(*DetachDiskInstanceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Instances_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetInstanceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstancesServer).Get(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Instances/Get", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstancesServer).Get(ctx, req.(*GetInstanceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Instances_GetEffectiveFirewalls_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetEffectiveFirewallsInstanceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstancesServer).GetEffectiveFirewalls(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Instances/GetEffectiveFirewalls", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstancesServer).GetEffectiveFirewalls(ctx, req.(*GetEffectiveFirewallsInstanceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Instances_GetGuestAttributes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetGuestAttributesInstanceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstancesServer).GetGuestAttributes(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Instances/GetGuestAttributes", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstancesServer).GetGuestAttributes(ctx, req.(*GetGuestAttributesInstanceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Instances_GetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetIamPolicyInstanceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstancesServer).GetIamPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Instances/GetIamPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstancesServer).GetIamPolicy(ctx, req.(*GetIamPolicyInstanceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Instances_GetScreenshot_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetScreenshotInstanceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstancesServer).GetScreenshot(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Instances/GetScreenshot", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstancesServer).GetScreenshot(ctx, req.(*GetScreenshotInstanceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Instances_GetSerialPortOutput_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetSerialPortOutputInstanceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstancesServer).GetSerialPortOutput(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Instances/GetSerialPortOutput", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstancesServer).GetSerialPortOutput(ctx, req.(*GetSerialPortOutputInstanceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Instances_GetShieldedInstanceIdentity_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetShieldedInstanceIdentityInstanceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstancesServer).GetShieldedInstanceIdentity(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Instances/GetShieldedInstanceIdentity", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstancesServer).GetShieldedInstanceIdentity(ctx, req.(*GetShieldedInstanceIdentityInstanceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Instances_Insert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(InsertInstanceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstancesServer).Insert(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Instances/Insert", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstancesServer).Insert(ctx, req.(*InsertInstanceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Instances_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListInstancesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstancesServer).List(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Instances/List", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstancesServer).List(ctx, req.(*ListInstancesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Instances_ListReferrers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListReferrersInstancesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstancesServer).ListReferrers(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Instances/ListReferrers", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstancesServer).ListReferrers(ctx, req.(*ListReferrersInstancesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Instances_PerformMaintenance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PerformMaintenanceInstanceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstancesServer).PerformMaintenance(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Instances/PerformMaintenance", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstancesServer).PerformMaintenance(ctx, req.(*PerformMaintenanceInstanceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Instances_RemoveResourcePolicies_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RemoveResourcePoliciesInstanceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstancesServer).RemoveResourcePolicies(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Instances/RemoveResourcePolicies", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstancesServer).RemoveResourcePolicies(ctx, req.(*RemoveResourcePoliciesInstanceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Instances_Reset_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ResetInstanceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstancesServer).Reset(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Instances/Reset", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstancesServer).Reset(ctx, req.(*ResetInstanceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Instances_Resume_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ResumeInstanceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstancesServer).Resume(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Instances/Resume", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstancesServer).Resume(ctx, req.(*ResumeInstanceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Instances_SendDiagnosticInterrupt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SendDiagnosticInterruptInstanceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstancesServer).SendDiagnosticInterrupt(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Instances/SendDiagnosticInterrupt", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstancesServer).SendDiagnosticInterrupt(ctx, req.(*SendDiagnosticInterruptInstanceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Instances_SetDeletionProtection_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetDeletionProtectionInstanceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstancesServer).SetDeletionProtection(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Instances/SetDeletionProtection", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstancesServer).SetDeletionProtection(ctx, req.(*SetDeletionProtectionInstanceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Instances_SetDiskAutoDelete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetDiskAutoDeleteInstanceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstancesServer).SetDiskAutoDelete(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Instances/SetDiskAutoDelete", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstancesServer).SetDiskAutoDelete(ctx, req.(*SetDiskAutoDeleteInstanceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Instances_SetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetIamPolicyInstanceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstancesServer).SetIamPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Instances/SetIamPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstancesServer).SetIamPolicy(ctx, req.(*SetIamPolicyInstanceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Instances_SetLabels_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetLabelsInstanceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstancesServer).SetLabels(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Instances/SetLabels", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstancesServer).SetLabels(ctx, req.(*SetLabelsInstanceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Instances_SetMachineResources_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetMachineResourcesInstanceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstancesServer).SetMachineResources(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Instances/SetMachineResources", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstancesServer).SetMachineResources(ctx, req.(*SetMachineResourcesInstanceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Instances_SetMachineType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetMachineTypeInstanceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstancesServer).SetMachineType(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Instances/SetMachineType", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstancesServer).SetMachineType(ctx, req.(*SetMachineTypeInstanceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Instances_SetMetadata_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetMetadataInstanceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstancesServer).SetMetadata(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Instances/SetMetadata", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstancesServer).SetMetadata(ctx, req.(*SetMetadataInstanceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Instances_SetMinCpuPlatform_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetMinCpuPlatformInstanceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstancesServer).SetMinCpuPlatform(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Instances/SetMinCpuPlatform", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstancesServer).SetMinCpuPlatform(ctx, req.(*SetMinCpuPlatformInstanceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Instances_SetName_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetNameInstanceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstancesServer).SetName(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Instances/SetName", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstancesServer).SetName(ctx, req.(*SetNameInstanceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Instances_SetScheduling_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetSchedulingInstanceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstancesServer).SetScheduling(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Instances/SetScheduling", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstancesServer).SetScheduling(ctx, req.(*SetSchedulingInstanceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Instances_SetSecurityPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetSecurityPolicyInstanceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstancesServer).SetSecurityPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Instances/SetSecurityPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstancesServer).SetSecurityPolicy(ctx, req.(*SetSecurityPolicyInstanceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Instances_SetServiceAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetServiceAccountInstanceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstancesServer).SetServiceAccount(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Instances/SetServiceAccount", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstancesServer).SetServiceAccount(ctx, req.(*SetServiceAccountInstanceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Instances_SetShieldedInstanceIntegrityPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetShieldedInstanceIntegrityPolicyInstanceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstancesServer).SetShieldedInstanceIntegrityPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Instances/SetShieldedInstanceIntegrityPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstancesServer).SetShieldedInstanceIntegrityPolicy(ctx, req.(*SetShieldedInstanceIntegrityPolicyInstanceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Instances_SetTags_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetTagsInstanceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstancesServer).SetTags(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Instances/SetTags", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstancesServer).SetTags(ctx, req.(*SetTagsInstanceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Instances_SimulateMaintenanceEvent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SimulateMaintenanceEventInstanceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstancesServer).SimulateMaintenanceEvent(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Instances/SimulateMaintenanceEvent", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstancesServer).SimulateMaintenanceEvent(ctx, req.(*SimulateMaintenanceEventInstanceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Instances_Start_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(StartInstanceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstancesServer).Start(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Instances/Start", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstancesServer).Start(ctx, req.(*StartInstanceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Instances_StartWithEncryptionKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(StartWithEncryptionKeyInstanceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstancesServer).StartWithEncryptionKey(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Instances/StartWithEncryptionKey", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstancesServer).StartWithEncryptionKey(ctx, req.(*StartWithEncryptionKeyInstanceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Instances_Stop_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(StopInstanceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstancesServer).Stop(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Instances/Stop", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstancesServer).Stop(ctx, req.(*StopInstanceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Instances_Suspend_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SuspendInstanceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstancesServer).Suspend(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Instances/Suspend", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstancesServer).Suspend(ctx, req.(*SuspendInstanceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Instances_TestIamPermissions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(TestIamPermissionsInstanceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstancesServer).TestIamPermissions(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Instances/TestIamPermissions", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstancesServer).TestIamPermissions(ctx, req.(*TestIamPermissionsInstanceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Instances_Update_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateInstanceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstancesServer).Update(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Instances/Update", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstancesServer).Update(ctx, req.(*UpdateInstanceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Instances_UpdateAccessConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateAccessConfigInstanceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstancesServer).UpdateAccessConfig(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Instances/UpdateAccessConfig", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstancesServer).UpdateAccessConfig(ctx, req.(*UpdateAccessConfigInstanceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Instances_UpdateDisplayDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateDisplayDeviceInstanceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstancesServer).UpdateDisplayDevice(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Instances/UpdateDisplayDevice", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstancesServer).UpdateDisplayDevice(ctx, req.(*UpdateDisplayDeviceInstanceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Instances_UpdateNetworkInterface_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateNetworkInterfaceInstanceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstancesServer).UpdateNetworkInterface(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Instances/UpdateNetworkInterface", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstancesServer).UpdateNetworkInterface(ctx, req.(*UpdateNetworkInterfaceInstanceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Instances_UpdateShieldedInstanceConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateShieldedInstanceConfigInstanceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstancesServer).UpdateShieldedInstanceConfig(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Instances/UpdateShieldedInstanceConfig", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstancesServer).UpdateShieldedInstanceConfig(ctx, req.(*UpdateShieldedInstanceConfigInstanceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _Instances_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.Instances", - HandlerType: (*InstancesServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "AddAccessConfig", - Handler: _Instances_AddAccessConfig_Handler, - }, - { - MethodName: "AddResourcePolicies", - Handler: _Instances_AddResourcePolicies_Handler, - }, - { - MethodName: "AggregatedList", - Handler: _Instances_AggregatedList_Handler, - }, - { - MethodName: "AttachDisk", - Handler: _Instances_AttachDisk_Handler, - }, - { - MethodName: "BulkInsert", - Handler: _Instances_BulkInsert_Handler, - }, - { - MethodName: "Delete", - Handler: _Instances_Delete_Handler, - }, - { - MethodName: "DeleteAccessConfig", - Handler: _Instances_DeleteAccessConfig_Handler, - }, - { - MethodName: "DetachDisk", - Handler: _Instances_DetachDisk_Handler, - }, - { - MethodName: "Get", - Handler: _Instances_Get_Handler, - }, - { - MethodName: "GetEffectiveFirewalls", - Handler: _Instances_GetEffectiveFirewalls_Handler, - }, - { - MethodName: "GetGuestAttributes", - Handler: _Instances_GetGuestAttributes_Handler, - }, - { - MethodName: "GetIamPolicy", - Handler: _Instances_GetIamPolicy_Handler, - }, - { - MethodName: "GetScreenshot", - Handler: _Instances_GetScreenshot_Handler, - }, - { - MethodName: "GetSerialPortOutput", - Handler: _Instances_GetSerialPortOutput_Handler, - }, - { - MethodName: "GetShieldedInstanceIdentity", - Handler: _Instances_GetShieldedInstanceIdentity_Handler, - }, - { - MethodName: "Insert", - Handler: _Instances_Insert_Handler, - }, - { - MethodName: "List", - Handler: _Instances_List_Handler, - }, - { - MethodName: "ListReferrers", - Handler: _Instances_ListReferrers_Handler, - }, - { - MethodName: "PerformMaintenance", - Handler: _Instances_PerformMaintenance_Handler, - }, - { - MethodName: "RemoveResourcePolicies", - Handler: _Instances_RemoveResourcePolicies_Handler, - }, - { - MethodName: "Reset", - Handler: _Instances_Reset_Handler, - }, - { - MethodName: "Resume", - Handler: _Instances_Resume_Handler, - }, - { - MethodName: "SendDiagnosticInterrupt", - Handler: _Instances_SendDiagnosticInterrupt_Handler, - }, - { - MethodName: "SetDeletionProtection", - Handler: _Instances_SetDeletionProtection_Handler, - }, - { - MethodName: "SetDiskAutoDelete", - Handler: _Instances_SetDiskAutoDelete_Handler, - }, - { - MethodName: "SetIamPolicy", - Handler: _Instances_SetIamPolicy_Handler, - }, - { - MethodName: "SetLabels", - Handler: _Instances_SetLabels_Handler, - }, - { - MethodName: "SetMachineResources", - Handler: _Instances_SetMachineResources_Handler, - }, - { - MethodName: "SetMachineType", - Handler: _Instances_SetMachineType_Handler, - }, - { - MethodName: "SetMetadata", - Handler: _Instances_SetMetadata_Handler, - }, - { - MethodName: "SetMinCpuPlatform", - Handler: _Instances_SetMinCpuPlatform_Handler, - }, - { - MethodName: "SetName", - Handler: _Instances_SetName_Handler, - }, - { - MethodName: "SetScheduling", - Handler: _Instances_SetScheduling_Handler, - }, - { - MethodName: "SetSecurityPolicy", - Handler: _Instances_SetSecurityPolicy_Handler, - }, - { - MethodName: "SetServiceAccount", - Handler: _Instances_SetServiceAccount_Handler, - }, - { - MethodName: "SetShieldedInstanceIntegrityPolicy", - Handler: _Instances_SetShieldedInstanceIntegrityPolicy_Handler, - }, - { - MethodName: "SetTags", - Handler: _Instances_SetTags_Handler, - }, - { - MethodName: "SimulateMaintenanceEvent", - Handler: _Instances_SimulateMaintenanceEvent_Handler, - }, - { - MethodName: "Start", - Handler: _Instances_Start_Handler, - }, - { - MethodName: "StartWithEncryptionKey", - Handler: _Instances_StartWithEncryptionKey_Handler, - }, - { - MethodName: "Stop", - Handler: _Instances_Stop_Handler, - }, - { - MethodName: "Suspend", - Handler: _Instances_Suspend_Handler, - }, - { - MethodName: "TestIamPermissions", - Handler: _Instances_TestIamPermissions_Handler, - }, - { - MethodName: "Update", - Handler: _Instances_Update_Handler, - }, - { - MethodName: "UpdateAccessConfig", - Handler: _Instances_UpdateAccessConfig_Handler, - }, - { - MethodName: "UpdateDisplayDevice", - Handler: _Instances_UpdateDisplayDevice_Handler, - }, - { - MethodName: "UpdateNetworkInterface", - Handler: _Instances_UpdateNetworkInterface_Handler, - }, - { - MethodName: "UpdateShieldedInstanceConfig", - Handler: _Instances_UpdateShieldedInstanceConfig_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} - -// InstantSnapshotsClient is the client API for InstantSnapshots service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type InstantSnapshotsClient interface { - // Retrieves an aggregated list of instantSnapshots. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. - AggregatedList(ctx context.Context, in *AggregatedListInstantSnapshotsRequest, opts ...grpc.CallOption) (*InstantSnapshotAggregatedList, error) - // Deletes the specified InstantSnapshot resource. Keep in mind that deleting a single instantSnapshot might not necessarily delete all the data on that instantSnapshot. If any data on the instantSnapshot that is marked for deletion is needed for subsequent instantSnapshots, the data will be moved to the next corresponding instantSnapshot. For more information, see Deleting instantSnapshots. - Delete(ctx context.Context, in *DeleteInstantSnapshotRequest, opts ...grpc.CallOption) (*Operation, error) - // Returns the specified InstantSnapshot resource in the specified zone. - Get(ctx context.Context, in *GetInstantSnapshotRequest, opts ...grpc.CallOption) (*InstantSnapshot, error) - // Gets the access control policy for a resource. May be empty if no such policy or resource exists. - GetIamPolicy(ctx context.Context, in *GetIamPolicyInstantSnapshotRequest, opts ...grpc.CallOption) (*Policy, error) - // Creates an instant snapshot in the specified zone. - Insert(ctx context.Context, in *InsertInstantSnapshotRequest, opts ...grpc.CallOption) (*Operation, error) - // Retrieves the list of InstantSnapshot resources contained within the specified zone. - List(ctx context.Context, in *ListInstantSnapshotsRequest, opts ...grpc.CallOption) (*InstantSnapshotList, error) - // Sets the access control policy on the specified resource. Replaces any existing policy. - SetIamPolicy(ctx context.Context, in *SetIamPolicyInstantSnapshotRequest, opts ...grpc.CallOption) (*Policy, error) - // Sets the labels on a instantSnapshot in the given zone. To learn more about labels, read the Labeling Resources documentation. - SetLabels(ctx context.Context, in *SetLabelsInstantSnapshotRequest, opts ...grpc.CallOption) (*Operation, error) - // Returns permissions that a caller has on the specified resource. - TestIamPermissions(ctx context.Context, in *TestIamPermissionsInstantSnapshotRequest, opts ...grpc.CallOption) (*TestPermissionsResponse, error) -} - -type instantSnapshotsClient struct { - cc grpc.ClientConnInterface -} - -func NewInstantSnapshotsClient(cc grpc.ClientConnInterface) InstantSnapshotsClient { - return &instantSnapshotsClient{cc} -} - -func (c *instantSnapshotsClient) AggregatedList(ctx context.Context, in *AggregatedListInstantSnapshotsRequest, opts ...grpc.CallOption) (*InstantSnapshotAggregatedList, error) { - out := new(InstantSnapshotAggregatedList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.InstantSnapshots/AggregatedList", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instantSnapshotsClient) Delete(ctx context.Context, in *DeleteInstantSnapshotRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.InstantSnapshots/Delete", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instantSnapshotsClient) Get(ctx context.Context, in *GetInstantSnapshotRequest, opts ...grpc.CallOption) (*InstantSnapshot, error) { - out := new(InstantSnapshot) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.InstantSnapshots/Get", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instantSnapshotsClient) GetIamPolicy(ctx context.Context, in *GetIamPolicyInstantSnapshotRequest, opts ...grpc.CallOption) (*Policy, error) { - out := new(Policy) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.InstantSnapshots/GetIamPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instantSnapshotsClient) Insert(ctx context.Context, in *InsertInstantSnapshotRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.InstantSnapshots/Insert", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instantSnapshotsClient) List(ctx context.Context, in *ListInstantSnapshotsRequest, opts ...grpc.CallOption) (*InstantSnapshotList, error) { - out := new(InstantSnapshotList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.InstantSnapshots/List", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instantSnapshotsClient) SetIamPolicy(ctx context.Context, in *SetIamPolicyInstantSnapshotRequest, opts ...grpc.CallOption) (*Policy, error) { - out := new(Policy) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.InstantSnapshots/SetIamPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instantSnapshotsClient) SetLabels(ctx context.Context, in *SetLabelsInstantSnapshotRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.InstantSnapshots/SetLabels", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instantSnapshotsClient) TestIamPermissions(ctx context.Context, in *TestIamPermissionsInstantSnapshotRequest, opts ...grpc.CallOption) (*TestPermissionsResponse, error) { - out := new(TestPermissionsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.InstantSnapshots/TestIamPermissions", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// InstantSnapshotsServer is the server API for InstantSnapshots service. -type InstantSnapshotsServer interface { - // Retrieves an aggregated list of instantSnapshots. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. - AggregatedList(context.Context, *AggregatedListInstantSnapshotsRequest) (*InstantSnapshotAggregatedList, error) - // Deletes the specified InstantSnapshot resource. Keep in mind that deleting a single instantSnapshot might not necessarily delete all the data on that instantSnapshot. If any data on the instantSnapshot that is marked for deletion is needed for subsequent instantSnapshots, the data will be moved to the next corresponding instantSnapshot. For more information, see Deleting instantSnapshots. - Delete(context.Context, *DeleteInstantSnapshotRequest) (*Operation, error) - // Returns the specified InstantSnapshot resource in the specified zone. - Get(context.Context, *GetInstantSnapshotRequest) (*InstantSnapshot, error) - // Gets the access control policy for a resource. May be empty if no such policy or resource exists. - GetIamPolicy(context.Context, *GetIamPolicyInstantSnapshotRequest) (*Policy, error) - // Creates an instant snapshot in the specified zone. - Insert(context.Context, *InsertInstantSnapshotRequest) (*Operation, error) - // Retrieves the list of InstantSnapshot resources contained within the specified zone. - List(context.Context, *ListInstantSnapshotsRequest) (*InstantSnapshotList, error) - // Sets the access control policy on the specified resource. Replaces any existing policy. - SetIamPolicy(context.Context, *SetIamPolicyInstantSnapshotRequest) (*Policy, error) - // Sets the labels on a instantSnapshot in the given zone. To learn more about labels, read the Labeling Resources documentation. - SetLabels(context.Context, *SetLabelsInstantSnapshotRequest) (*Operation, error) - // Returns permissions that a caller has on the specified resource. - TestIamPermissions(context.Context, *TestIamPermissionsInstantSnapshotRequest) (*TestPermissionsResponse, error) -} - -// UnimplementedInstantSnapshotsServer can be embedded to have forward compatible implementations. -type UnimplementedInstantSnapshotsServer struct { -} - -func (*UnimplementedInstantSnapshotsServer) AggregatedList(context.Context, *AggregatedListInstantSnapshotsRequest) (*InstantSnapshotAggregatedList, error) { - return nil, status.Errorf(codes.Unimplemented, "method AggregatedList not implemented") -} -func (*UnimplementedInstantSnapshotsServer) Delete(context.Context, *DeleteInstantSnapshotRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") -} -func (*UnimplementedInstantSnapshotsServer) Get(context.Context, *GetInstantSnapshotRequest) (*InstantSnapshot, error) { - return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") -} -func (*UnimplementedInstantSnapshotsServer) GetIamPolicy(context.Context, *GetIamPolicyInstantSnapshotRequest) (*Policy, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetIamPolicy not implemented") -} -func (*UnimplementedInstantSnapshotsServer) Insert(context.Context, *InsertInstantSnapshotRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Insert not implemented") -} -func (*UnimplementedInstantSnapshotsServer) List(context.Context, *ListInstantSnapshotsRequest) (*InstantSnapshotList, error) { - return nil, status.Errorf(codes.Unimplemented, "method List not implemented") -} -func (*UnimplementedInstantSnapshotsServer) SetIamPolicy(context.Context, *SetIamPolicyInstantSnapshotRequest) (*Policy, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetIamPolicy not implemented") -} -func (*UnimplementedInstantSnapshotsServer) SetLabels(context.Context, *SetLabelsInstantSnapshotRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetLabels not implemented") -} -func (*UnimplementedInstantSnapshotsServer) TestIamPermissions(context.Context, *TestIamPermissionsInstantSnapshotRequest) (*TestPermissionsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method TestIamPermissions not implemented") -} - -func RegisterInstantSnapshotsServer(s *grpc.Server, srv InstantSnapshotsServer) { - s.RegisterService(&_InstantSnapshots_serviceDesc, srv) -} - -func _InstantSnapshots_AggregatedList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AggregatedListInstantSnapshotsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstantSnapshotsServer).AggregatedList(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.InstantSnapshots/AggregatedList", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstantSnapshotsServer).AggregatedList(ctx, req.(*AggregatedListInstantSnapshotsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _InstantSnapshots_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteInstantSnapshotRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstantSnapshotsServer).Delete(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.InstantSnapshots/Delete", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstantSnapshotsServer).Delete(ctx, req.(*DeleteInstantSnapshotRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _InstantSnapshots_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetInstantSnapshotRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstantSnapshotsServer).Get(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.InstantSnapshots/Get", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstantSnapshotsServer).Get(ctx, req.(*GetInstantSnapshotRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _InstantSnapshots_GetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetIamPolicyInstantSnapshotRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstantSnapshotsServer).GetIamPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.InstantSnapshots/GetIamPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstantSnapshotsServer).GetIamPolicy(ctx, req.(*GetIamPolicyInstantSnapshotRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _InstantSnapshots_Insert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(InsertInstantSnapshotRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstantSnapshotsServer).Insert(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.InstantSnapshots/Insert", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstantSnapshotsServer).Insert(ctx, req.(*InsertInstantSnapshotRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _InstantSnapshots_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListInstantSnapshotsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstantSnapshotsServer).List(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.InstantSnapshots/List", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstantSnapshotsServer).List(ctx, req.(*ListInstantSnapshotsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _InstantSnapshots_SetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetIamPolicyInstantSnapshotRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstantSnapshotsServer).SetIamPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.InstantSnapshots/SetIamPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstantSnapshotsServer).SetIamPolicy(ctx, req.(*SetIamPolicyInstantSnapshotRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _InstantSnapshots_SetLabels_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetLabelsInstantSnapshotRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstantSnapshotsServer).SetLabels(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.InstantSnapshots/SetLabels", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstantSnapshotsServer).SetLabels(ctx, req.(*SetLabelsInstantSnapshotRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _InstantSnapshots_TestIamPermissions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(TestIamPermissionsInstantSnapshotRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstantSnapshotsServer).TestIamPermissions(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.InstantSnapshots/TestIamPermissions", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstantSnapshotsServer).TestIamPermissions(ctx, req.(*TestIamPermissionsInstantSnapshotRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _InstantSnapshots_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.InstantSnapshots", - HandlerType: (*InstantSnapshotsServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "AggregatedList", - Handler: _InstantSnapshots_AggregatedList_Handler, - }, - { - MethodName: "Delete", - Handler: _InstantSnapshots_Delete_Handler, - }, - { - MethodName: "Get", - Handler: _InstantSnapshots_Get_Handler, - }, - { - MethodName: "GetIamPolicy", - Handler: _InstantSnapshots_GetIamPolicy_Handler, - }, - { - MethodName: "Insert", - Handler: _InstantSnapshots_Insert_Handler, - }, - { - MethodName: "List", - Handler: _InstantSnapshots_List_Handler, - }, - { - MethodName: "SetIamPolicy", - Handler: _InstantSnapshots_SetIamPolicy_Handler, - }, - { - MethodName: "SetLabels", - Handler: _InstantSnapshots_SetLabels_Handler, - }, - { - MethodName: "TestIamPermissions", - Handler: _InstantSnapshots_TestIamPermissions_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} - -// InterconnectAttachmentsClient is the client API for InterconnectAttachments service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type InterconnectAttachmentsClient interface { - // Retrieves an aggregated list of interconnect attachments. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. - AggregatedList(ctx context.Context, in *AggregatedListInterconnectAttachmentsRequest, opts ...grpc.CallOption) (*InterconnectAttachmentAggregatedList, error) - // Deletes the specified interconnect attachment. - Delete(ctx context.Context, in *DeleteInterconnectAttachmentRequest, opts ...grpc.CallOption) (*Operation, error) - // Returns the specified interconnect attachment. - Get(ctx context.Context, in *GetInterconnectAttachmentRequest, opts ...grpc.CallOption) (*InterconnectAttachment, error) - // Creates an InterconnectAttachment in the specified project using the data included in the request. - Insert(ctx context.Context, in *InsertInterconnectAttachmentRequest, opts ...grpc.CallOption) (*Operation, error) - // Retrieves the list of interconnect attachments contained within the specified region. - List(ctx context.Context, in *ListInterconnectAttachmentsRequest, opts ...grpc.CallOption) (*InterconnectAttachmentList, error) - // Updates the specified interconnect attachment with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. - Patch(ctx context.Context, in *PatchInterconnectAttachmentRequest, opts ...grpc.CallOption) (*Operation, error) - // Sets the labels on an InterconnectAttachment. To learn more about labels, read the Labeling Resources documentation. - SetLabels(ctx context.Context, in *SetLabelsInterconnectAttachmentRequest, opts ...grpc.CallOption) (*Operation, error) -} - -type interconnectAttachmentsClient struct { - cc grpc.ClientConnInterface -} - -func NewInterconnectAttachmentsClient(cc grpc.ClientConnInterface) InterconnectAttachmentsClient { - return &interconnectAttachmentsClient{cc} -} - -func (c *interconnectAttachmentsClient) AggregatedList(ctx context.Context, in *AggregatedListInterconnectAttachmentsRequest, opts ...grpc.CallOption) (*InterconnectAttachmentAggregatedList, error) { - out := new(InterconnectAttachmentAggregatedList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.InterconnectAttachments/AggregatedList", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *interconnectAttachmentsClient) Delete(ctx context.Context, in *DeleteInterconnectAttachmentRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.InterconnectAttachments/Delete", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *interconnectAttachmentsClient) Get(ctx context.Context, in *GetInterconnectAttachmentRequest, opts ...grpc.CallOption) (*InterconnectAttachment, error) { - out := new(InterconnectAttachment) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.InterconnectAttachments/Get", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *interconnectAttachmentsClient) Insert(ctx context.Context, in *InsertInterconnectAttachmentRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.InterconnectAttachments/Insert", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *interconnectAttachmentsClient) List(ctx context.Context, in *ListInterconnectAttachmentsRequest, opts ...grpc.CallOption) (*InterconnectAttachmentList, error) { - out := new(InterconnectAttachmentList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.InterconnectAttachments/List", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *interconnectAttachmentsClient) Patch(ctx context.Context, in *PatchInterconnectAttachmentRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.InterconnectAttachments/Patch", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *interconnectAttachmentsClient) SetLabels(ctx context.Context, in *SetLabelsInterconnectAttachmentRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.InterconnectAttachments/SetLabels", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// InterconnectAttachmentsServer is the server API for InterconnectAttachments service. -type InterconnectAttachmentsServer interface { - // Retrieves an aggregated list of interconnect attachments. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. - AggregatedList(context.Context, *AggregatedListInterconnectAttachmentsRequest) (*InterconnectAttachmentAggregatedList, error) - // Deletes the specified interconnect attachment. - Delete(context.Context, *DeleteInterconnectAttachmentRequest) (*Operation, error) - // Returns the specified interconnect attachment. - Get(context.Context, *GetInterconnectAttachmentRequest) (*InterconnectAttachment, error) - // Creates an InterconnectAttachment in the specified project using the data included in the request. - Insert(context.Context, *InsertInterconnectAttachmentRequest) (*Operation, error) - // Retrieves the list of interconnect attachments contained within the specified region. - List(context.Context, *ListInterconnectAttachmentsRequest) (*InterconnectAttachmentList, error) - // Updates the specified interconnect attachment with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. - Patch(context.Context, *PatchInterconnectAttachmentRequest) (*Operation, error) - // Sets the labels on an InterconnectAttachment. To learn more about labels, read the Labeling Resources documentation. - SetLabels(context.Context, *SetLabelsInterconnectAttachmentRequest) (*Operation, error) -} - -// UnimplementedInterconnectAttachmentsServer can be embedded to have forward compatible implementations. -type UnimplementedInterconnectAttachmentsServer struct { -} - -func (*UnimplementedInterconnectAttachmentsServer) AggregatedList(context.Context, *AggregatedListInterconnectAttachmentsRequest) (*InterconnectAttachmentAggregatedList, error) { - return nil, status.Errorf(codes.Unimplemented, "method AggregatedList not implemented") -} -func (*UnimplementedInterconnectAttachmentsServer) Delete(context.Context, *DeleteInterconnectAttachmentRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") -} -func (*UnimplementedInterconnectAttachmentsServer) Get(context.Context, *GetInterconnectAttachmentRequest) (*InterconnectAttachment, error) { - return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") -} -func (*UnimplementedInterconnectAttachmentsServer) Insert(context.Context, *InsertInterconnectAttachmentRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Insert not implemented") -} -func (*UnimplementedInterconnectAttachmentsServer) List(context.Context, *ListInterconnectAttachmentsRequest) (*InterconnectAttachmentList, error) { - return nil, status.Errorf(codes.Unimplemented, "method List not implemented") -} -func (*UnimplementedInterconnectAttachmentsServer) Patch(context.Context, *PatchInterconnectAttachmentRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Patch not implemented") -} -func (*UnimplementedInterconnectAttachmentsServer) SetLabels(context.Context, *SetLabelsInterconnectAttachmentRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetLabels not implemented") -} - -func RegisterInterconnectAttachmentsServer(s *grpc.Server, srv InterconnectAttachmentsServer) { - s.RegisterService(&_InterconnectAttachments_serviceDesc, srv) -} - -func _InterconnectAttachments_AggregatedList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AggregatedListInterconnectAttachmentsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InterconnectAttachmentsServer).AggregatedList(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.InterconnectAttachments/AggregatedList", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InterconnectAttachmentsServer).AggregatedList(ctx, req.(*AggregatedListInterconnectAttachmentsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _InterconnectAttachments_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteInterconnectAttachmentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InterconnectAttachmentsServer).Delete(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.InterconnectAttachments/Delete", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InterconnectAttachmentsServer).Delete(ctx, req.(*DeleteInterconnectAttachmentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _InterconnectAttachments_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetInterconnectAttachmentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InterconnectAttachmentsServer).Get(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.InterconnectAttachments/Get", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InterconnectAttachmentsServer).Get(ctx, req.(*GetInterconnectAttachmentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _InterconnectAttachments_Insert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(InsertInterconnectAttachmentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InterconnectAttachmentsServer).Insert(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.InterconnectAttachments/Insert", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InterconnectAttachmentsServer).Insert(ctx, req.(*InsertInterconnectAttachmentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _InterconnectAttachments_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListInterconnectAttachmentsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InterconnectAttachmentsServer).List(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.InterconnectAttachments/List", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InterconnectAttachmentsServer).List(ctx, req.(*ListInterconnectAttachmentsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _InterconnectAttachments_Patch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PatchInterconnectAttachmentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InterconnectAttachmentsServer).Patch(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.InterconnectAttachments/Patch", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InterconnectAttachmentsServer).Patch(ctx, req.(*PatchInterconnectAttachmentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _InterconnectAttachments_SetLabels_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetLabelsInterconnectAttachmentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InterconnectAttachmentsServer).SetLabels(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.InterconnectAttachments/SetLabels", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InterconnectAttachmentsServer).SetLabels(ctx, req.(*SetLabelsInterconnectAttachmentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _InterconnectAttachments_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.InterconnectAttachments", - HandlerType: (*InterconnectAttachmentsServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "AggregatedList", - Handler: _InterconnectAttachments_AggregatedList_Handler, - }, - { - MethodName: "Delete", - Handler: _InterconnectAttachments_Delete_Handler, - }, - { - MethodName: "Get", - Handler: _InterconnectAttachments_Get_Handler, - }, - { - MethodName: "Insert", - Handler: _InterconnectAttachments_Insert_Handler, - }, - { - MethodName: "List", - Handler: _InterconnectAttachments_List_Handler, - }, - { - MethodName: "Patch", - Handler: _InterconnectAttachments_Patch_Handler, - }, - { - MethodName: "SetLabels", - Handler: _InterconnectAttachments_SetLabels_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} - -// InterconnectLocationsClient is the client API for InterconnectLocations service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type InterconnectLocationsClient interface { - // Returns the details for the specified interconnect location. Gets a list of available interconnect locations by making a list() request. - Get(ctx context.Context, in *GetInterconnectLocationRequest, opts ...grpc.CallOption) (*InterconnectLocation, error) - // Retrieves the list of interconnect locations available to the specified project. - List(ctx context.Context, in *ListInterconnectLocationsRequest, opts ...grpc.CallOption) (*InterconnectLocationList, error) -} - -type interconnectLocationsClient struct { - cc grpc.ClientConnInterface -} - -func NewInterconnectLocationsClient(cc grpc.ClientConnInterface) InterconnectLocationsClient { - return &interconnectLocationsClient{cc} -} - -func (c *interconnectLocationsClient) Get(ctx context.Context, in *GetInterconnectLocationRequest, opts ...grpc.CallOption) (*InterconnectLocation, error) { - out := new(InterconnectLocation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.InterconnectLocations/Get", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *interconnectLocationsClient) List(ctx context.Context, in *ListInterconnectLocationsRequest, opts ...grpc.CallOption) (*InterconnectLocationList, error) { - out := new(InterconnectLocationList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.InterconnectLocations/List", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// InterconnectLocationsServer is the server API for InterconnectLocations service. -type InterconnectLocationsServer interface { - // Returns the details for the specified interconnect location. Gets a list of available interconnect locations by making a list() request. - Get(context.Context, *GetInterconnectLocationRequest) (*InterconnectLocation, error) - // Retrieves the list of interconnect locations available to the specified project. - List(context.Context, *ListInterconnectLocationsRequest) (*InterconnectLocationList, error) -} - -// UnimplementedInterconnectLocationsServer can be embedded to have forward compatible implementations. -type UnimplementedInterconnectLocationsServer struct { -} - -func (*UnimplementedInterconnectLocationsServer) Get(context.Context, *GetInterconnectLocationRequest) (*InterconnectLocation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") -} -func (*UnimplementedInterconnectLocationsServer) List(context.Context, *ListInterconnectLocationsRequest) (*InterconnectLocationList, error) { - return nil, status.Errorf(codes.Unimplemented, "method List not implemented") -} - -func RegisterInterconnectLocationsServer(s *grpc.Server, srv InterconnectLocationsServer) { - s.RegisterService(&_InterconnectLocations_serviceDesc, srv) -} - -func _InterconnectLocations_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetInterconnectLocationRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InterconnectLocationsServer).Get(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.InterconnectLocations/Get", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InterconnectLocationsServer).Get(ctx, req.(*GetInterconnectLocationRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _InterconnectLocations_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListInterconnectLocationsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InterconnectLocationsServer).List(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.InterconnectLocations/List", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InterconnectLocationsServer).List(ctx, req.(*ListInterconnectLocationsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _InterconnectLocations_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.InterconnectLocations", - HandlerType: (*InterconnectLocationsServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "Get", - Handler: _InterconnectLocations_Get_Handler, - }, - { - MethodName: "List", - Handler: _InterconnectLocations_List_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} - -// InterconnectRemoteLocationsClient is the client API for InterconnectRemoteLocations service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type InterconnectRemoteLocationsClient interface { - // Returns the details for the specified interconnect remote location. Gets a list of available interconnect remote locations by making a list() request. - Get(ctx context.Context, in *GetInterconnectRemoteLocationRequest, opts ...grpc.CallOption) (*InterconnectRemoteLocation, error) - // Retrieves the list of interconnect remote locations available to the specified project. - List(ctx context.Context, in *ListInterconnectRemoteLocationsRequest, opts ...grpc.CallOption) (*InterconnectRemoteLocationList, error) -} - -type interconnectRemoteLocationsClient struct { - cc grpc.ClientConnInterface -} - -func NewInterconnectRemoteLocationsClient(cc grpc.ClientConnInterface) InterconnectRemoteLocationsClient { - return &interconnectRemoteLocationsClient{cc} -} - -func (c *interconnectRemoteLocationsClient) Get(ctx context.Context, in *GetInterconnectRemoteLocationRequest, opts ...grpc.CallOption) (*InterconnectRemoteLocation, error) { - out := new(InterconnectRemoteLocation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.InterconnectRemoteLocations/Get", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *interconnectRemoteLocationsClient) List(ctx context.Context, in *ListInterconnectRemoteLocationsRequest, opts ...grpc.CallOption) (*InterconnectRemoteLocationList, error) { - out := new(InterconnectRemoteLocationList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.InterconnectRemoteLocations/List", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// InterconnectRemoteLocationsServer is the server API for InterconnectRemoteLocations service. -type InterconnectRemoteLocationsServer interface { - // Returns the details for the specified interconnect remote location. Gets a list of available interconnect remote locations by making a list() request. - Get(context.Context, *GetInterconnectRemoteLocationRequest) (*InterconnectRemoteLocation, error) - // Retrieves the list of interconnect remote locations available to the specified project. - List(context.Context, *ListInterconnectRemoteLocationsRequest) (*InterconnectRemoteLocationList, error) -} - -// UnimplementedInterconnectRemoteLocationsServer can be embedded to have forward compatible implementations. -type UnimplementedInterconnectRemoteLocationsServer struct { -} - -func (*UnimplementedInterconnectRemoteLocationsServer) Get(context.Context, *GetInterconnectRemoteLocationRequest) (*InterconnectRemoteLocation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") -} -func (*UnimplementedInterconnectRemoteLocationsServer) List(context.Context, *ListInterconnectRemoteLocationsRequest) (*InterconnectRemoteLocationList, error) { - return nil, status.Errorf(codes.Unimplemented, "method List not implemented") -} - -func RegisterInterconnectRemoteLocationsServer(s *grpc.Server, srv InterconnectRemoteLocationsServer) { - s.RegisterService(&_InterconnectRemoteLocations_serviceDesc, srv) -} - -func _InterconnectRemoteLocations_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetInterconnectRemoteLocationRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InterconnectRemoteLocationsServer).Get(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.InterconnectRemoteLocations/Get", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InterconnectRemoteLocationsServer).Get(ctx, req.(*GetInterconnectRemoteLocationRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _InterconnectRemoteLocations_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListInterconnectRemoteLocationsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InterconnectRemoteLocationsServer).List(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.InterconnectRemoteLocations/List", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InterconnectRemoteLocationsServer).List(ctx, req.(*ListInterconnectRemoteLocationsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _InterconnectRemoteLocations_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.InterconnectRemoteLocations", - HandlerType: (*InterconnectRemoteLocationsServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "Get", - Handler: _InterconnectRemoteLocations_Get_Handler, - }, - { - MethodName: "List", - Handler: _InterconnectRemoteLocations_List_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} - -// InterconnectsClient is the client API for Interconnects service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type InterconnectsClient interface { - // Deletes the specified Interconnect. - Delete(ctx context.Context, in *DeleteInterconnectRequest, opts ...grpc.CallOption) (*Operation, error) - // Returns the specified Interconnect. Get a list of available Interconnects by making a list() request. - Get(ctx context.Context, in *GetInterconnectRequest, opts ...grpc.CallOption) (*Interconnect, error) - // Returns the interconnectDiagnostics for the specified Interconnect. In the event of a global outage, do not use this API to make decisions about where to redirect your network traffic. Unlike a VLAN attachment, which is regional, a Cloud Interconnect connection is a global resource. A global outage can prevent this API from functioning properly. - GetDiagnostics(ctx context.Context, in *GetDiagnosticsInterconnectRequest, opts ...grpc.CallOption) (*InterconnectsGetDiagnosticsResponse, error) - // Returns the interconnectMacsecConfig for the specified Interconnect. - GetMacsecConfig(ctx context.Context, in *GetMacsecConfigInterconnectRequest, opts ...grpc.CallOption) (*InterconnectsGetMacsecConfigResponse, error) - // Creates an Interconnect in the specified project using the data included in the request. - Insert(ctx context.Context, in *InsertInterconnectRequest, opts ...grpc.CallOption) (*Operation, error) - // Retrieves the list of Interconnects available to the specified project. - List(ctx context.Context, in *ListInterconnectsRequest, opts ...grpc.CallOption) (*InterconnectList, error) - // Updates the specified Interconnect with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. - Patch(ctx context.Context, in *PatchInterconnectRequest, opts ...grpc.CallOption) (*Operation, error) - // Sets the labels on an Interconnect. To learn more about labels, read the Labeling Resources documentation. - SetLabels(ctx context.Context, in *SetLabelsInterconnectRequest, opts ...grpc.CallOption) (*Operation, error) -} - -type interconnectsClient struct { - cc grpc.ClientConnInterface -} - -func NewInterconnectsClient(cc grpc.ClientConnInterface) InterconnectsClient { - return &interconnectsClient{cc} -} - -func (c *interconnectsClient) Delete(ctx context.Context, in *DeleteInterconnectRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Interconnects/Delete", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *interconnectsClient) Get(ctx context.Context, in *GetInterconnectRequest, opts ...grpc.CallOption) (*Interconnect, error) { - out := new(Interconnect) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Interconnects/Get", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *interconnectsClient) GetDiagnostics(ctx context.Context, in *GetDiagnosticsInterconnectRequest, opts ...grpc.CallOption) (*InterconnectsGetDiagnosticsResponse, error) { - out := new(InterconnectsGetDiagnosticsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Interconnects/GetDiagnostics", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *interconnectsClient) GetMacsecConfig(ctx context.Context, in *GetMacsecConfigInterconnectRequest, opts ...grpc.CallOption) (*InterconnectsGetMacsecConfigResponse, error) { - out := new(InterconnectsGetMacsecConfigResponse) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Interconnects/GetMacsecConfig", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *interconnectsClient) Insert(ctx context.Context, in *InsertInterconnectRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Interconnects/Insert", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *interconnectsClient) List(ctx context.Context, in *ListInterconnectsRequest, opts ...grpc.CallOption) (*InterconnectList, error) { - out := new(InterconnectList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Interconnects/List", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *interconnectsClient) Patch(ctx context.Context, in *PatchInterconnectRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Interconnects/Patch", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *interconnectsClient) SetLabels(ctx context.Context, in *SetLabelsInterconnectRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Interconnects/SetLabels", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// InterconnectsServer is the server API for Interconnects service. -type InterconnectsServer interface { - // Deletes the specified Interconnect. - Delete(context.Context, *DeleteInterconnectRequest) (*Operation, error) - // Returns the specified Interconnect. Get a list of available Interconnects by making a list() request. - Get(context.Context, *GetInterconnectRequest) (*Interconnect, error) - // Returns the interconnectDiagnostics for the specified Interconnect. In the event of a global outage, do not use this API to make decisions about where to redirect your network traffic. Unlike a VLAN attachment, which is regional, a Cloud Interconnect connection is a global resource. A global outage can prevent this API from functioning properly. - GetDiagnostics(context.Context, *GetDiagnosticsInterconnectRequest) (*InterconnectsGetDiagnosticsResponse, error) - // Returns the interconnectMacsecConfig for the specified Interconnect. - GetMacsecConfig(context.Context, *GetMacsecConfigInterconnectRequest) (*InterconnectsGetMacsecConfigResponse, error) - // Creates an Interconnect in the specified project using the data included in the request. - Insert(context.Context, *InsertInterconnectRequest) (*Operation, error) - // Retrieves the list of Interconnects available to the specified project. - List(context.Context, *ListInterconnectsRequest) (*InterconnectList, error) - // Updates the specified Interconnect with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. - Patch(context.Context, *PatchInterconnectRequest) (*Operation, error) - // Sets the labels on an Interconnect. To learn more about labels, read the Labeling Resources documentation. - SetLabels(context.Context, *SetLabelsInterconnectRequest) (*Operation, error) -} - -// UnimplementedInterconnectsServer can be embedded to have forward compatible implementations. -type UnimplementedInterconnectsServer struct { -} - -func (*UnimplementedInterconnectsServer) Delete(context.Context, *DeleteInterconnectRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") -} -func (*UnimplementedInterconnectsServer) Get(context.Context, *GetInterconnectRequest) (*Interconnect, error) { - return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") -} -func (*UnimplementedInterconnectsServer) GetDiagnostics(context.Context, *GetDiagnosticsInterconnectRequest) (*InterconnectsGetDiagnosticsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetDiagnostics not implemented") -} -func (*UnimplementedInterconnectsServer) GetMacsecConfig(context.Context, *GetMacsecConfigInterconnectRequest) (*InterconnectsGetMacsecConfigResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetMacsecConfig not implemented") -} -func (*UnimplementedInterconnectsServer) Insert(context.Context, *InsertInterconnectRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Insert not implemented") -} -func (*UnimplementedInterconnectsServer) List(context.Context, *ListInterconnectsRequest) (*InterconnectList, error) { - return nil, status.Errorf(codes.Unimplemented, "method List not implemented") -} -func (*UnimplementedInterconnectsServer) Patch(context.Context, *PatchInterconnectRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Patch not implemented") -} -func (*UnimplementedInterconnectsServer) SetLabels(context.Context, *SetLabelsInterconnectRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetLabels not implemented") -} - -func RegisterInterconnectsServer(s *grpc.Server, srv InterconnectsServer) { - s.RegisterService(&_Interconnects_serviceDesc, srv) -} - -func _Interconnects_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteInterconnectRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InterconnectsServer).Delete(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Interconnects/Delete", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InterconnectsServer).Delete(ctx, req.(*DeleteInterconnectRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Interconnects_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetInterconnectRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InterconnectsServer).Get(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Interconnects/Get", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InterconnectsServer).Get(ctx, req.(*GetInterconnectRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Interconnects_GetDiagnostics_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetDiagnosticsInterconnectRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InterconnectsServer).GetDiagnostics(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Interconnects/GetDiagnostics", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InterconnectsServer).GetDiagnostics(ctx, req.(*GetDiagnosticsInterconnectRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Interconnects_GetMacsecConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetMacsecConfigInterconnectRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InterconnectsServer).GetMacsecConfig(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Interconnects/GetMacsecConfig", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InterconnectsServer).GetMacsecConfig(ctx, req.(*GetMacsecConfigInterconnectRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Interconnects_Insert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(InsertInterconnectRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InterconnectsServer).Insert(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Interconnects/Insert", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InterconnectsServer).Insert(ctx, req.(*InsertInterconnectRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Interconnects_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListInterconnectsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InterconnectsServer).List(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Interconnects/List", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InterconnectsServer).List(ctx, req.(*ListInterconnectsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Interconnects_Patch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PatchInterconnectRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InterconnectsServer).Patch(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Interconnects/Patch", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InterconnectsServer).Patch(ctx, req.(*PatchInterconnectRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Interconnects_SetLabels_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetLabelsInterconnectRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InterconnectsServer).SetLabels(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Interconnects/SetLabels", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InterconnectsServer).SetLabels(ctx, req.(*SetLabelsInterconnectRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _Interconnects_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.Interconnects", - HandlerType: (*InterconnectsServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "Delete", - Handler: _Interconnects_Delete_Handler, - }, - { - MethodName: "Get", - Handler: _Interconnects_Get_Handler, - }, - { - MethodName: "GetDiagnostics", - Handler: _Interconnects_GetDiagnostics_Handler, - }, - { - MethodName: "GetMacsecConfig", - Handler: _Interconnects_GetMacsecConfig_Handler, - }, - { - MethodName: "Insert", - Handler: _Interconnects_Insert_Handler, - }, - { - MethodName: "List", - Handler: _Interconnects_List_Handler, - }, - { - MethodName: "Patch", - Handler: _Interconnects_Patch_Handler, - }, - { - MethodName: "SetLabels", - Handler: _Interconnects_SetLabels_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} - -// LicenseCodesClient is the client API for LicenseCodes service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type LicenseCodesClient interface { - // Return a specified license code. License codes are mirrored across all projects that have permissions to read the License Code. *Caution* This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. - Get(ctx context.Context, in *GetLicenseCodeRequest, opts ...grpc.CallOption) (*LicenseCode, error) - // Returns permissions that a caller has on the specified resource. *Caution* This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. - TestIamPermissions(ctx context.Context, in *TestIamPermissionsLicenseCodeRequest, opts ...grpc.CallOption) (*TestPermissionsResponse, error) -} - -type licenseCodesClient struct { - cc grpc.ClientConnInterface -} - -func NewLicenseCodesClient(cc grpc.ClientConnInterface) LicenseCodesClient { - return &licenseCodesClient{cc} -} - -func (c *licenseCodesClient) Get(ctx context.Context, in *GetLicenseCodeRequest, opts ...grpc.CallOption) (*LicenseCode, error) { - out := new(LicenseCode) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.LicenseCodes/Get", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *licenseCodesClient) TestIamPermissions(ctx context.Context, in *TestIamPermissionsLicenseCodeRequest, opts ...grpc.CallOption) (*TestPermissionsResponse, error) { - out := new(TestPermissionsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.LicenseCodes/TestIamPermissions", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// LicenseCodesServer is the server API for LicenseCodes service. -type LicenseCodesServer interface { - // Return a specified license code. License codes are mirrored across all projects that have permissions to read the License Code. *Caution* This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. - Get(context.Context, *GetLicenseCodeRequest) (*LicenseCode, error) - // Returns permissions that a caller has on the specified resource. *Caution* This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. - TestIamPermissions(context.Context, *TestIamPermissionsLicenseCodeRequest) (*TestPermissionsResponse, error) -} - -// UnimplementedLicenseCodesServer can be embedded to have forward compatible implementations. -type UnimplementedLicenseCodesServer struct { -} - -func (*UnimplementedLicenseCodesServer) Get(context.Context, *GetLicenseCodeRequest) (*LicenseCode, error) { - return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") -} -func (*UnimplementedLicenseCodesServer) TestIamPermissions(context.Context, *TestIamPermissionsLicenseCodeRequest) (*TestPermissionsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method TestIamPermissions not implemented") -} - -func RegisterLicenseCodesServer(s *grpc.Server, srv LicenseCodesServer) { - s.RegisterService(&_LicenseCodes_serviceDesc, srv) -} - -func _LicenseCodes_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetLicenseCodeRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(LicenseCodesServer).Get(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.LicenseCodes/Get", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(LicenseCodesServer).Get(ctx, req.(*GetLicenseCodeRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _LicenseCodes_TestIamPermissions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(TestIamPermissionsLicenseCodeRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(LicenseCodesServer).TestIamPermissions(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.LicenseCodes/TestIamPermissions", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(LicenseCodesServer).TestIamPermissions(ctx, req.(*TestIamPermissionsLicenseCodeRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _LicenseCodes_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.LicenseCodes", - HandlerType: (*LicenseCodesServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "Get", - Handler: _LicenseCodes_Get_Handler, - }, - { - MethodName: "TestIamPermissions", - Handler: _LicenseCodes_TestIamPermissions_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} - -// LicensesClient is the client API for Licenses service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type LicensesClient interface { - // Deletes the specified license. *Caution* This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. - Delete(ctx context.Context, in *DeleteLicenseRequest, opts ...grpc.CallOption) (*Operation, error) - // Returns the specified License resource. *Caution* This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. - Get(ctx context.Context, in *GetLicenseRequest, opts ...grpc.CallOption) (*License, error) - // Gets the access control policy for a resource. May be empty if no such policy or resource exists. *Caution* This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. - GetIamPolicy(ctx context.Context, in *GetIamPolicyLicenseRequest, opts ...grpc.CallOption) (*Policy, error) - // Create a License resource in the specified project. *Caution* This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. - Insert(ctx context.Context, in *InsertLicenseRequest, opts ...grpc.CallOption) (*Operation, error) - // Retrieves the list of licenses available in the specified project. This method does not get any licenses that belong to other projects, including licenses attached to publicly-available images, like Debian 9. If you want to get a list of publicly-available licenses, use this method to make a request to the respective image project, such as debian-cloud or windows-cloud. *Caution* This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. - List(ctx context.Context, in *ListLicensesRequest, opts ...grpc.CallOption) (*LicensesListResponse, error) - // Sets the access control policy on the specified resource. Replaces any existing policy. *Caution* This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. - SetIamPolicy(ctx context.Context, in *SetIamPolicyLicenseRequest, opts ...grpc.CallOption) (*Policy, error) - // Returns permissions that a caller has on the specified resource. *Caution* This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. - TestIamPermissions(ctx context.Context, in *TestIamPermissionsLicenseRequest, opts ...grpc.CallOption) (*TestPermissionsResponse, error) -} - -type licensesClient struct { - cc grpc.ClientConnInterface -} - -func NewLicensesClient(cc grpc.ClientConnInterface) LicensesClient { - return &licensesClient{cc} -} - -func (c *licensesClient) Delete(ctx context.Context, in *DeleteLicenseRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Licenses/Delete", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *licensesClient) Get(ctx context.Context, in *GetLicenseRequest, opts ...grpc.CallOption) (*License, error) { - out := new(License) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Licenses/Get", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *licensesClient) GetIamPolicy(ctx context.Context, in *GetIamPolicyLicenseRequest, opts ...grpc.CallOption) (*Policy, error) { - out := new(Policy) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Licenses/GetIamPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *licensesClient) Insert(ctx context.Context, in *InsertLicenseRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Licenses/Insert", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *licensesClient) List(ctx context.Context, in *ListLicensesRequest, opts ...grpc.CallOption) (*LicensesListResponse, error) { - out := new(LicensesListResponse) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Licenses/List", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *licensesClient) SetIamPolicy(ctx context.Context, in *SetIamPolicyLicenseRequest, opts ...grpc.CallOption) (*Policy, error) { - out := new(Policy) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Licenses/SetIamPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *licensesClient) TestIamPermissions(ctx context.Context, in *TestIamPermissionsLicenseRequest, opts ...grpc.CallOption) (*TestPermissionsResponse, error) { - out := new(TestPermissionsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Licenses/TestIamPermissions", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// LicensesServer is the server API for Licenses service. -type LicensesServer interface { - // Deletes the specified license. *Caution* This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. - Delete(context.Context, *DeleteLicenseRequest) (*Operation, error) - // Returns the specified License resource. *Caution* This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. - Get(context.Context, *GetLicenseRequest) (*License, error) - // Gets the access control policy for a resource. May be empty if no such policy or resource exists. *Caution* This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. - GetIamPolicy(context.Context, *GetIamPolicyLicenseRequest) (*Policy, error) - // Create a License resource in the specified project. *Caution* This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. - Insert(context.Context, *InsertLicenseRequest) (*Operation, error) - // Retrieves the list of licenses available in the specified project. This method does not get any licenses that belong to other projects, including licenses attached to publicly-available images, like Debian 9. If you want to get a list of publicly-available licenses, use this method to make a request to the respective image project, such as debian-cloud or windows-cloud. *Caution* This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. - List(context.Context, *ListLicensesRequest) (*LicensesListResponse, error) - // Sets the access control policy on the specified resource. Replaces any existing policy. *Caution* This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. - SetIamPolicy(context.Context, *SetIamPolicyLicenseRequest) (*Policy, error) - // Returns permissions that a caller has on the specified resource. *Caution* This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. - TestIamPermissions(context.Context, *TestIamPermissionsLicenseRequest) (*TestPermissionsResponse, error) -} - -// UnimplementedLicensesServer can be embedded to have forward compatible implementations. -type UnimplementedLicensesServer struct { -} - -func (*UnimplementedLicensesServer) Delete(context.Context, *DeleteLicenseRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") -} -func (*UnimplementedLicensesServer) Get(context.Context, *GetLicenseRequest) (*License, error) { - return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") -} -func (*UnimplementedLicensesServer) GetIamPolicy(context.Context, *GetIamPolicyLicenseRequest) (*Policy, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetIamPolicy not implemented") -} -func (*UnimplementedLicensesServer) Insert(context.Context, *InsertLicenseRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Insert not implemented") -} -func (*UnimplementedLicensesServer) List(context.Context, *ListLicensesRequest) (*LicensesListResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method List not implemented") -} -func (*UnimplementedLicensesServer) SetIamPolicy(context.Context, *SetIamPolicyLicenseRequest) (*Policy, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetIamPolicy not implemented") -} -func (*UnimplementedLicensesServer) TestIamPermissions(context.Context, *TestIamPermissionsLicenseRequest) (*TestPermissionsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method TestIamPermissions not implemented") -} - -func RegisterLicensesServer(s *grpc.Server, srv LicensesServer) { - s.RegisterService(&_Licenses_serviceDesc, srv) -} - -func _Licenses_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteLicenseRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(LicensesServer).Delete(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Licenses/Delete", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(LicensesServer).Delete(ctx, req.(*DeleteLicenseRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Licenses_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetLicenseRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(LicensesServer).Get(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Licenses/Get", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(LicensesServer).Get(ctx, req.(*GetLicenseRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Licenses_GetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetIamPolicyLicenseRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(LicensesServer).GetIamPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Licenses/GetIamPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(LicensesServer).GetIamPolicy(ctx, req.(*GetIamPolicyLicenseRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Licenses_Insert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(InsertLicenseRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(LicensesServer).Insert(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Licenses/Insert", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(LicensesServer).Insert(ctx, req.(*InsertLicenseRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Licenses_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListLicensesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(LicensesServer).List(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Licenses/List", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(LicensesServer).List(ctx, req.(*ListLicensesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Licenses_SetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetIamPolicyLicenseRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(LicensesServer).SetIamPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Licenses/SetIamPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(LicensesServer).SetIamPolicy(ctx, req.(*SetIamPolicyLicenseRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Licenses_TestIamPermissions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(TestIamPermissionsLicenseRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(LicensesServer).TestIamPermissions(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Licenses/TestIamPermissions", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(LicensesServer).TestIamPermissions(ctx, req.(*TestIamPermissionsLicenseRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _Licenses_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.Licenses", - HandlerType: (*LicensesServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "Delete", - Handler: _Licenses_Delete_Handler, - }, - { - MethodName: "Get", - Handler: _Licenses_Get_Handler, - }, - { - MethodName: "GetIamPolicy", - Handler: _Licenses_GetIamPolicy_Handler, - }, - { - MethodName: "Insert", - Handler: _Licenses_Insert_Handler, - }, - { - MethodName: "List", - Handler: _Licenses_List_Handler, - }, - { - MethodName: "SetIamPolicy", - Handler: _Licenses_SetIamPolicy_Handler, - }, - { - MethodName: "TestIamPermissions", - Handler: _Licenses_TestIamPermissions_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} - -// MachineImagesClient is the client API for MachineImages service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type MachineImagesClient interface { - // Deletes the specified machine image. Deleting a machine image is permanent and cannot be undone. - Delete(ctx context.Context, in *DeleteMachineImageRequest, opts ...grpc.CallOption) (*Operation, error) - // Returns the specified machine image. - Get(ctx context.Context, in *GetMachineImageRequest, opts ...grpc.CallOption) (*MachineImage, error) - // Gets the access control policy for a resource. May be empty if no such policy or resource exists. - GetIamPolicy(ctx context.Context, in *GetIamPolicyMachineImageRequest, opts ...grpc.CallOption) (*Policy, error) - // Creates a machine image in the specified project using the data that is included in the request. If you are creating a new machine image to update an existing instance, your new machine image should use the same network or, if applicable, the same subnetwork as the original instance. - Insert(ctx context.Context, in *InsertMachineImageRequest, opts ...grpc.CallOption) (*Operation, error) - // Retrieves a list of machine images that are contained within the specified project. - List(ctx context.Context, in *ListMachineImagesRequest, opts ...grpc.CallOption) (*MachineImageList, error) - // Sets the access control policy on the specified resource. Replaces any existing policy. - SetIamPolicy(ctx context.Context, in *SetIamPolicyMachineImageRequest, opts ...grpc.CallOption) (*Policy, error) - // Returns permissions that a caller has on the specified resource. - TestIamPermissions(ctx context.Context, in *TestIamPermissionsMachineImageRequest, opts ...grpc.CallOption) (*TestPermissionsResponse, error) -} - -type machineImagesClient struct { - cc grpc.ClientConnInterface -} - -func NewMachineImagesClient(cc grpc.ClientConnInterface) MachineImagesClient { - return &machineImagesClient{cc} -} - -func (c *machineImagesClient) Delete(ctx context.Context, in *DeleteMachineImageRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.MachineImages/Delete", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *machineImagesClient) Get(ctx context.Context, in *GetMachineImageRequest, opts ...grpc.CallOption) (*MachineImage, error) { - out := new(MachineImage) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.MachineImages/Get", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *machineImagesClient) GetIamPolicy(ctx context.Context, in *GetIamPolicyMachineImageRequest, opts ...grpc.CallOption) (*Policy, error) { - out := new(Policy) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.MachineImages/GetIamPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *machineImagesClient) Insert(ctx context.Context, in *InsertMachineImageRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.MachineImages/Insert", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *machineImagesClient) List(ctx context.Context, in *ListMachineImagesRequest, opts ...grpc.CallOption) (*MachineImageList, error) { - out := new(MachineImageList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.MachineImages/List", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *machineImagesClient) SetIamPolicy(ctx context.Context, in *SetIamPolicyMachineImageRequest, opts ...grpc.CallOption) (*Policy, error) { - out := new(Policy) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.MachineImages/SetIamPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *machineImagesClient) TestIamPermissions(ctx context.Context, in *TestIamPermissionsMachineImageRequest, opts ...grpc.CallOption) (*TestPermissionsResponse, error) { - out := new(TestPermissionsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.MachineImages/TestIamPermissions", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// MachineImagesServer is the server API for MachineImages service. -type MachineImagesServer interface { - // Deletes the specified machine image. Deleting a machine image is permanent and cannot be undone. - Delete(context.Context, *DeleteMachineImageRequest) (*Operation, error) - // Returns the specified machine image. - Get(context.Context, *GetMachineImageRequest) (*MachineImage, error) - // Gets the access control policy for a resource. May be empty if no such policy or resource exists. - GetIamPolicy(context.Context, *GetIamPolicyMachineImageRequest) (*Policy, error) - // Creates a machine image in the specified project using the data that is included in the request. If you are creating a new machine image to update an existing instance, your new machine image should use the same network or, if applicable, the same subnetwork as the original instance. - Insert(context.Context, *InsertMachineImageRequest) (*Operation, error) - // Retrieves a list of machine images that are contained within the specified project. - List(context.Context, *ListMachineImagesRequest) (*MachineImageList, error) - // Sets the access control policy on the specified resource. Replaces any existing policy. - SetIamPolicy(context.Context, *SetIamPolicyMachineImageRequest) (*Policy, error) - // Returns permissions that a caller has on the specified resource. - TestIamPermissions(context.Context, *TestIamPermissionsMachineImageRequest) (*TestPermissionsResponse, error) -} - -// UnimplementedMachineImagesServer can be embedded to have forward compatible implementations. -type UnimplementedMachineImagesServer struct { -} - -func (*UnimplementedMachineImagesServer) Delete(context.Context, *DeleteMachineImageRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") -} -func (*UnimplementedMachineImagesServer) Get(context.Context, *GetMachineImageRequest) (*MachineImage, error) { - return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") -} -func (*UnimplementedMachineImagesServer) GetIamPolicy(context.Context, *GetIamPolicyMachineImageRequest) (*Policy, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetIamPolicy not implemented") -} -func (*UnimplementedMachineImagesServer) Insert(context.Context, *InsertMachineImageRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Insert not implemented") -} -func (*UnimplementedMachineImagesServer) List(context.Context, *ListMachineImagesRequest) (*MachineImageList, error) { - return nil, status.Errorf(codes.Unimplemented, "method List not implemented") -} -func (*UnimplementedMachineImagesServer) SetIamPolicy(context.Context, *SetIamPolicyMachineImageRequest) (*Policy, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetIamPolicy not implemented") -} -func (*UnimplementedMachineImagesServer) TestIamPermissions(context.Context, *TestIamPermissionsMachineImageRequest) (*TestPermissionsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method TestIamPermissions not implemented") -} - -func RegisterMachineImagesServer(s *grpc.Server, srv MachineImagesServer) { - s.RegisterService(&_MachineImages_serviceDesc, srv) -} - -func _MachineImages_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteMachineImageRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MachineImagesServer).Delete(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.MachineImages/Delete", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MachineImagesServer).Delete(ctx, req.(*DeleteMachineImageRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _MachineImages_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetMachineImageRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MachineImagesServer).Get(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.MachineImages/Get", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MachineImagesServer).Get(ctx, req.(*GetMachineImageRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _MachineImages_GetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetIamPolicyMachineImageRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MachineImagesServer).GetIamPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.MachineImages/GetIamPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MachineImagesServer).GetIamPolicy(ctx, req.(*GetIamPolicyMachineImageRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _MachineImages_Insert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(InsertMachineImageRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MachineImagesServer).Insert(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.MachineImages/Insert", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MachineImagesServer).Insert(ctx, req.(*InsertMachineImageRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _MachineImages_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListMachineImagesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MachineImagesServer).List(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.MachineImages/List", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MachineImagesServer).List(ctx, req.(*ListMachineImagesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _MachineImages_SetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetIamPolicyMachineImageRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MachineImagesServer).SetIamPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.MachineImages/SetIamPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MachineImagesServer).SetIamPolicy(ctx, req.(*SetIamPolicyMachineImageRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _MachineImages_TestIamPermissions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(TestIamPermissionsMachineImageRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MachineImagesServer).TestIamPermissions(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.MachineImages/TestIamPermissions", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MachineImagesServer).TestIamPermissions(ctx, req.(*TestIamPermissionsMachineImageRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _MachineImages_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.MachineImages", - HandlerType: (*MachineImagesServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "Delete", - Handler: _MachineImages_Delete_Handler, - }, - { - MethodName: "Get", - Handler: _MachineImages_Get_Handler, - }, - { - MethodName: "GetIamPolicy", - Handler: _MachineImages_GetIamPolicy_Handler, - }, - { - MethodName: "Insert", - Handler: _MachineImages_Insert_Handler, - }, - { - MethodName: "List", - Handler: _MachineImages_List_Handler, - }, - { - MethodName: "SetIamPolicy", - Handler: _MachineImages_SetIamPolicy_Handler, - }, - { - MethodName: "TestIamPermissions", - Handler: _MachineImages_TestIamPermissions_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} - -// MachineTypesClient is the client API for MachineTypes service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type MachineTypesClient interface { - // Retrieves an aggregated list of machine types. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. - AggregatedList(ctx context.Context, in *AggregatedListMachineTypesRequest, opts ...grpc.CallOption) (*MachineTypeAggregatedList, error) - // Returns the specified machine type. - Get(ctx context.Context, in *GetMachineTypeRequest, opts ...grpc.CallOption) (*MachineType, error) - // Retrieves a list of machine types available to the specified project. - List(ctx context.Context, in *ListMachineTypesRequest, opts ...grpc.CallOption) (*MachineTypeList, error) -} - -type machineTypesClient struct { - cc grpc.ClientConnInterface -} - -func NewMachineTypesClient(cc grpc.ClientConnInterface) MachineTypesClient { - return &machineTypesClient{cc} -} - -func (c *machineTypesClient) AggregatedList(ctx context.Context, in *AggregatedListMachineTypesRequest, opts ...grpc.CallOption) (*MachineTypeAggregatedList, error) { - out := new(MachineTypeAggregatedList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.MachineTypes/AggregatedList", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *machineTypesClient) Get(ctx context.Context, in *GetMachineTypeRequest, opts ...grpc.CallOption) (*MachineType, error) { - out := new(MachineType) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.MachineTypes/Get", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *machineTypesClient) List(ctx context.Context, in *ListMachineTypesRequest, opts ...grpc.CallOption) (*MachineTypeList, error) { - out := new(MachineTypeList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.MachineTypes/List", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// MachineTypesServer is the server API for MachineTypes service. -type MachineTypesServer interface { - // Retrieves an aggregated list of machine types. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. - AggregatedList(context.Context, *AggregatedListMachineTypesRequest) (*MachineTypeAggregatedList, error) - // Returns the specified machine type. - Get(context.Context, *GetMachineTypeRequest) (*MachineType, error) - // Retrieves a list of machine types available to the specified project. - List(context.Context, *ListMachineTypesRequest) (*MachineTypeList, error) -} - -// UnimplementedMachineTypesServer can be embedded to have forward compatible implementations. -type UnimplementedMachineTypesServer struct { -} - -func (*UnimplementedMachineTypesServer) AggregatedList(context.Context, *AggregatedListMachineTypesRequest) (*MachineTypeAggregatedList, error) { - return nil, status.Errorf(codes.Unimplemented, "method AggregatedList not implemented") -} -func (*UnimplementedMachineTypesServer) Get(context.Context, *GetMachineTypeRequest) (*MachineType, error) { - return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") -} -func (*UnimplementedMachineTypesServer) List(context.Context, *ListMachineTypesRequest) (*MachineTypeList, error) { - return nil, status.Errorf(codes.Unimplemented, "method List not implemented") -} - -func RegisterMachineTypesServer(s *grpc.Server, srv MachineTypesServer) { - s.RegisterService(&_MachineTypes_serviceDesc, srv) -} - -func _MachineTypes_AggregatedList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AggregatedListMachineTypesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MachineTypesServer).AggregatedList(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.MachineTypes/AggregatedList", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MachineTypesServer).AggregatedList(ctx, req.(*AggregatedListMachineTypesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _MachineTypes_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetMachineTypeRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MachineTypesServer).Get(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.MachineTypes/Get", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MachineTypesServer).Get(ctx, req.(*GetMachineTypeRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _MachineTypes_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListMachineTypesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MachineTypesServer).List(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.MachineTypes/List", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MachineTypesServer).List(ctx, req.(*ListMachineTypesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _MachineTypes_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.MachineTypes", - HandlerType: (*MachineTypesServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "AggregatedList", - Handler: _MachineTypes_AggregatedList_Handler, - }, - { - MethodName: "Get", - Handler: _MachineTypes_Get_Handler, - }, - { - MethodName: "List", - Handler: _MachineTypes_List_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} - -// NetworkAttachmentsClient is the client API for NetworkAttachments service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type NetworkAttachmentsClient interface { - // Retrieves the list of all NetworkAttachment resources, regional and global, available to the specified project. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. - AggregatedList(ctx context.Context, in *AggregatedListNetworkAttachmentsRequest, opts ...grpc.CallOption) (*NetworkAttachmentAggregatedList, error) - // Deletes the specified NetworkAttachment in the given scope - Delete(ctx context.Context, in *DeleteNetworkAttachmentRequest, opts ...grpc.CallOption) (*Operation, error) - // Returns the specified NetworkAttachment resource in the given scope. - Get(ctx context.Context, in *GetNetworkAttachmentRequest, opts ...grpc.CallOption) (*NetworkAttachment, error) - // Gets the access control policy for a resource. May be empty if no such policy or resource exists. - GetIamPolicy(ctx context.Context, in *GetIamPolicyNetworkAttachmentRequest, opts ...grpc.CallOption) (*Policy, error) - // Creates a NetworkAttachment in the specified project in the given scope using the parameters that are included in the request. - Insert(ctx context.Context, in *InsertNetworkAttachmentRequest, opts ...grpc.CallOption) (*Operation, error) - // Lists the NetworkAttachments for a project in the given scope. - List(ctx context.Context, in *ListNetworkAttachmentsRequest, opts ...grpc.CallOption) (*NetworkAttachmentList, error) - // Patches the specified NetworkAttachment resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules. - Patch(ctx context.Context, in *PatchNetworkAttachmentRequest, opts ...grpc.CallOption) (*Operation, error) - // Sets the access control policy on the specified resource. Replaces any existing policy. - SetIamPolicy(ctx context.Context, in *SetIamPolicyNetworkAttachmentRequest, opts ...grpc.CallOption) (*Policy, error) - // Returns permissions that a caller has on the specified resource. - TestIamPermissions(ctx context.Context, in *TestIamPermissionsNetworkAttachmentRequest, opts ...grpc.CallOption) (*TestPermissionsResponse, error) -} - -type networkAttachmentsClient struct { - cc grpc.ClientConnInterface -} - -func NewNetworkAttachmentsClient(cc grpc.ClientConnInterface) NetworkAttachmentsClient { - return &networkAttachmentsClient{cc} -} - -func (c *networkAttachmentsClient) AggregatedList(ctx context.Context, in *AggregatedListNetworkAttachmentsRequest, opts ...grpc.CallOption) (*NetworkAttachmentAggregatedList, error) { - out := new(NetworkAttachmentAggregatedList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.NetworkAttachments/AggregatedList", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *networkAttachmentsClient) Delete(ctx context.Context, in *DeleteNetworkAttachmentRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.NetworkAttachments/Delete", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *networkAttachmentsClient) Get(ctx context.Context, in *GetNetworkAttachmentRequest, opts ...grpc.CallOption) (*NetworkAttachment, error) { - out := new(NetworkAttachment) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.NetworkAttachments/Get", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *networkAttachmentsClient) GetIamPolicy(ctx context.Context, in *GetIamPolicyNetworkAttachmentRequest, opts ...grpc.CallOption) (*Policy, error) { - out := new(Policy) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.NetworkAttachments/GetIamPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *networkAttachmentsClient) Insert(ctx context.Context, in *InsertNetworkAttachmentRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.NetworkAttachments/Insert", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *networkAttachmentsClient) List(ctx context.Context, in *ListNetworkAttachmentsRequest, opts ...grpc.CallOption) (*NetworkAttachmentList, error) { - out := new(NetworkAttachmentList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.NetworkAttachments/List", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *networkAttachmentsClient) Patch(ctx context.Context, in *PatchNetworkAttachmentRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.NetworkAttachments/Patch", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *networkAttachmentsClient) SetIamPolicy(ctx context.Context, in *SetIamPolicyNetworkAttachmentRequest, opts ...grpc.CallOption) (*Policy, error) { - out := new(Policy) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.NetworkAttachments/SetIamPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *networkAttachmentsClient) TestIamPermissions(ctx context.Context, in *TestIamPermissionsNetworkAttachmentRequest, opts ...grpc.CallOption) (*TestPermissionsResponse, error) { - out := new(TestPermissionsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.NetworkAttachments/TestIamPermissions", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// NetworkAttachmentsServer is the server API for NetworkAttachments service. -type NetworkAttachmentsServer interface { - // Retrieves the list of all NetworkAttachment resources, regional and global, available to the specified project. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. - AggregatedList(context.Context, *AggregatedListNetworkAttachmentsRequest) (*NetworkAttachmentAggregatedList, error) - // Deletes the specified NetworkAttachment in the given scope - Delete(context.Context, *DeleteNetworkAttachmentRequest) (*Operation, error) - // Returns the specified NetworkAttachment resource in the given scope. - Get(context.Context, *GetNetworkAttachmentRequest) (*NetworkAttachment, error) - // Gets the access control policy for a resource. May be empty if no such policy or resource exists. - GetIamPolicy(context.Context, *GetIamPolicyNetworkAttachmentRequest) (*Policy, error) - // Creates a NetworkAttachment in the specified project in the given scope using the parameters that are included in the request. - Insert(context.Context, *InsertNetworkAttachmentRequest) (*Operation, error) - // Lists the NetworkAttachments for a project in the given scope. - List(context.Context, *ListNetworkAttachmentsRequest) (*NetworkAttachmentList, error) - // Patches the specified NetworkAttachment resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules. - Patch(context.Context, *PatchNetworkAttachmentRequest) (*Operation, error) - // Sets the access control policy on the specified resource. Replaces any existing policy. - SetIamPolicy(context.Context, *SetIamPolicyNetworkAttachmentRequest) (*Policy, error) - // Returns permissions that a caller has on the specified resource. - TestIamPermissions(context.Context, *TestIamPermissionsNetworkAttachmentRequest) (*TestPermissionsResponse, error) -} - -// UnimplementedNetworkAttachmentsServer can be embedded to have forward compatible implementations. -type UnimplementedNetworkAttachmentsServer struct { -} - -func (*UnimplementedNetworkAttachmentsServer) AggregatedList(context.Context, *AggregatedListNetworkAttachmentsRequest) (*NetworkAttachmentAggregatedList, error) { - return nil, status.Errorf(codes.Unimplemented, "method AggregatedList not implemented") -} -func (*UnimplementedNetworkAttachmentsServer) Delete(context.Context, *DeleteNetworkAttachmentRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") -} -func (*UnimplementedNetworkAttachmentsServer) Get(context.Context, *GetNetworkAttachmentRequest) (*NetworkAttachment, error) { - return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") -} -func (*UnimplementedNetworkAttachmentsServer) GetIamPolicy(context.Context, *GetIamPolicyNetworkAttachmentRequest) (*Policy, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetIamPolicy not implemented") -} -func (*UnimplementedNetworkAttachmentsServer) Insert(context.Context, *InsertNetworkAttachmentRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Insert not implemented") -} -func (*UnimplementedNetworkAttachmentsServer) List(context.Context, *ListNetworkAttachmentsRequest) (*NetworkAttachmentList, error) { - return nil, status.Errorf(codes.Unimplemented, "method List not implemented") -} -func (*UnimplementedNetworkAttachmentsServer) Patch(context.Context, *PatchNetworkAttachmentRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Patch not implemented") -} -func (*UnimplementedNetworkAttachmentsServer) SetIamPolicy(context.Context, *SetIamPolicyNetworkAttachmentRequest) (*Policy, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetIamPolicy not implemented") -} -func (*UnimplementedNetworkAttachmentsServer) TestIamPermissions(context.Context, *TestIamPermissionsNetworkAttachmentRequest) (*TestPermissionsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method TestIamPermissions not implemented") -} - -func RegisterNetworkAttachmentsServer(s *grpc.Server, srv NetworkAttachmentsServer) { - s.RegisterService(&_NetworkAttachments_serviceDesc, srv) -} - -func _NetworkAttachments_AggregatedList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AggregatedListNetworkAttachmentsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NetworkAttachmentsServer).AggregatedList(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.NetworkAttachments/AggregatedList", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NetworkAttachmentsServer).AggregatedList(ctx, req.(*AggregatedListNetworkAttachmentsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _NetworkAttachments_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteNetworkAttachmentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NetworkAttachmentsServer).Delete(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.NetworkAttachments/Delete", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NetworkAttachmentsServer).Delete(ctx, req.(*DeleteNetworkAttachmentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _NetworkAttachments_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetNetworkAttachmentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NetworkAttachmentsServer).Get(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.NetworkAttachments/Get", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NetworkAttachmentsServer).Get(ctx, req.(*GetNetworkAttachmentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _NetworkAttachments_GetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetIamPolicyNetworkAttachmentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NetworkAttachmentsServer).GetIamPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.NetworkAttachments/GetIamPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NetworkAttachmentsServer).GetIamPolicy(ctx, req.(*GetIamPolicyNetworkAttachmentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _NetworkAttachments_Insert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(InsertNetworkAttachmentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NetworkAttachmentsServer).Insert(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.NetworkAttachments/Insert", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NetworkAttachmentsServer).Insert(ctx, req.(*InsertNetworkAttachmentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _NetworkAttachments_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListNetworkAttachmentsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NetworkAttachmentsServer).List(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.NetworkAttachments/List", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NetworkAttachmentsServer).List(ctx, req.(*ListNetworkAttachmentsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _NetworkAttachments_Patch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PatchNetworkAttachmentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NetworkAttachmentsServer).Patch(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.NetworkAttachments/Patch", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NetworkAttachmentsServer).Patch(ctx, req.(*PatchNetworkAttachmentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _NetworkAttachments_SetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetIamPolicyNetworkAttachmentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NetworkAttachmentsServer).SetIamPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.NetworkAttachments/SetIamPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NetworkAttachmentsServer).SetIamPolicy(ctx, req.(*SetIamPolicyNetworkAttachmentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _NetworkAttachments_TestIamPermissions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(TestIamPermissionsNetworkAttachmentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NetworkAttachmentsServer).TestIamPermissions(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.NetworkAttachments/TestIamPermissions", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NetworkAttachmentsServer).TestIamPermissions(ctx, req.(*TestIamPermissionsNetworkAttachmentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _NetworkAttachments_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.NetworkAttachments", - HandlerType: (*NetworkAttachmentsServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "AggregatedList", - Handler: _NetworkAttachments_AggregatedList_Handler, - }, - { - MethodName: "Delete", - Handler: _NetworkAttachments_Delete_Handler, - }, - { - MethodName: "Get", - Handler: _NetworkAttachments_Get_Handler, - }, - { - MethodName: "GetIamPolicy", - Handler: _NetworkAttachments_GetIamPolicy_Handler, - }, - { - MethodName: "Insert", - Handler: _NetworkAttachments_Insert_Handler, - }, - { - MethodName: "List", - Handler: _NetworkAttachments_List_Handler, - }, - { - MethodName: "Patch", - Handler: _NetworkAttachments_Patch_Handler, - }, - { - MethodName: "SetIamPolicy", - Handler: _NetworkAttachments_SetIamPolicy_Handler, - }, - { - MethodName: "TestIamPermissions", - Handler: _NetworkAttachments_TestIamPermissions_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} - -// NetworkEdgeSecurityServicesClient is the client API for NetworkEdgeSecurityServices service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type NetworkEdgeSecurityServicesClient interface { - // Retrieves the list of all NetworkEdgeSecurityService resources available to the specified project. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. - AggregatedList(ctx context.Context, in *AggregatedListNetworkEdgeSecurityServicesRequest, opts ...grpc.CallOption) (*NetworkEdgeSecurityServiceAggregatedList, error) - // Deletes the specified service. - Delete(ctx context.Context, in *DeleteNetworkEdgeSecurityServiceRequest, opts ...grpc.CallOption) (*Operation, error) - // Gets a specified NetworkEdgeSecurityService. - Get(ctx context.Context, in *GetNetworkEdgeSecurityServiceRequest, opts ...grpc.CallOption) (*NetworkEdgeSecurityService, error) - // Creates a new service in the specified project using the data included in the request. - Insert(ctx context.Context, in *InsertNetworkEdgeSecurityServiceRequest, opts ...grpc.CallOption) (*Operation, error) - // Patches the specified policy with the data included in the request. - Patch(ctx context.Context, in *PatchNetworkEdgeSecurityServiceRequest, opts ...grpc.CallOption) (*Operation, error) -} - -type networkEdgeSecurityServicesClient struct { - cc grpc.ClientConnInterface -} - -func NewNetworkEdgeSecurityServicesClient(cc grpc.ClientConnInterface) NetworkEdgeSecurityServicesClient { - return &networkEdgeSecurityServicesClient{cc} -} - -func (c *networkEdgeSecurityServicesClient) AggregatedList(ctx context.Context, in *AggregatedListNetworkEdgeSecurityServicesRequest, opts ...grpc.CallOption) (*NetworkEdgeSecurityServiceAggregatedList, error) { - out := new(NetworkEdgeSecurityServiceAggregatedList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.NetworkEdgeSecurityServices/AggregatedList", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *networkEdgeSecurityServicesClient) Delete(ctx context.Context, in *DeleteNetworkEdgeSecurityServiceRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.NetworkEdgeSecurityServices/Delete", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *networkEdgeSecurityServicesClient) Get(ctx context.Context, in *GetNetworkEdgeSecurityServiceRequest, opts ...grpc.CallOption) (*NetworkEdgeSecurityService, error) { - out := new(NetworkEdgeSecurityService) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.NetworkEdgeSecurityServices/Get", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *networkEdgeSecurityServicesClient) Insert(ctx context.Context, in *InsertNetworkEdgeSecurityServiceRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.NetworkEdgeSecurityServices/Insert", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *networkEdgeSecurityServicesClient) Patch(ctx context.Context, in *PatchNetworkEdgeSecurityServiceRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.NetworkEdgeSecurityServices/Patch", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// NetworkEdgeSecurityServicesServer is the server API for NetworkEdgeSecurityServices service. -type NetworkEdgeSecurityServicesServer interface { - // Retrieves the list of all NetworkEdgeSecurityService resources available to the specified project. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. - AggregatedList(context.Context, *AggregatedListNetworkEdgeSecurityServicesRequest) (*NetworkEdgeSecurityServiceAggregatedList, error) - // Deletes the specified service. - Delete(context.Context, *DeleteNetworkEdgeSecurityServiceRequest) (*Operation, error) - // Gets a specified NetworkEdgeSecurityService. - Get(context.Context, *GetNetworkEdgeSecurityServiceRequest) (*NetworkEdgeSecurityService, error) - // Creates a new service in the specified project using the data included in the request. - Insert(context.Context, *InsertNetworkEdgeSecurityServiceRequest) (*Operation, error) - // Patches the specified policy with the data included in the request. - Patch(context.Context, *PatchNetworkEdgeSecurityServiceRequest) (*Operation, error) -} - -// UnimplementedNetworkEdgeSecurityServicesServer can be embedded to have forward compatible implementations. -type UnimplementedNetworkEdgeSecurityServicesServer struct { -} - -func (*UnimplementedNetworkEdgeSecurityServicesServer) AggregatedList(context.Context, *AggregatedListNetworkEdgeSecurityServicesRequest) (*NetworkEdgeSecurityServiceAggregatedList, error) { - return nil, status.Errorf(codes.Unimplemented, "method AggregatedList not implemented") -} -func (*UnimplementedNetworkEdgeSecurityServicesServer) Delete(context.Context, *DeleteNetworkEdgeSecurityServiceRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") -} -func (*UnimplementedNetworkEdgeSecurityServicesServer) Get(context.Context, *GetNetworkEdgeSecurityServiceRequest) (*NetworkEdgeSecurityService, error) { - return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") -} -func (*UnimplementedNetworkEdgeSecurityServicesServer) Insert(context.Context, *InsertNetworkEdgeSecurityServiceRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Insert not implemented") -} -func (*UnimplementedNetworkEdgeSecurityServicesServer) Patch(context.Context, *PatchNetworkEdgeSecurityServiceRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Patch not implemented") -} - -func RegisterNetworkEdgeSecurityServicesServer(s *grpc.Server, srv NetworkEdgeSecurityServicesServer) { - s.RegisterService(&_NetworkEdgeSecurityServices_serviceDesc, srv) -} - -func _NetworkEdgeSecurityServices_AggregatedList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AggregatedListNetworkEdgeSecurityServicesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NetworkEdgeSecurityServicesServer).AggregatedList(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.NetworkEdgeSecurityServices/AggregatedList", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NetworkEdgeSecurityServicesServer).AggregatedList(ctx, req.(*AggregatedListNetworkEdgeSecurityServicesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _NetworkEdgeSecurityServices_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteNetworkEdgeSecurityServiceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NetworkEdgeSecurityServicesServer).Delete(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.NetworkEdgeSecurityServices/Delete", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NetworkEdgeSecurityServicesServer).Delete(ctx, req.(*DeleteNetworkEdgeSecurityServiceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _NetworkEdgeSecurityServices_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetNetworkEdgeSecurityServiceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NetworkEdgeSecurityServicesServer).Get(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.NetworkEdgeSecurityServices/Get", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NetworkEdgeSecurityServicesServer).Get(ctx, req.(*GetNetworkEdgeSecurityServiceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _NetworkEdgeSecurityServices_Insert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(InsertNetworkEdgeSecurityServiceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NetworkEdgeSecurityServicesServer).Insert(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.NetworkEdgeSecurityServices/Insert", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NetworkEdgeSecurityServicesServer).Insert(ctx, req.(*InsertNetworkEdgeSecurityServiceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _NetworkEdgeSecurityServices_Patch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PatchNetworkEdgeSecurityServiceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NetworkEdgeSecurityServicesServer).Patch(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.NetworkEdgeSecurityServices/Patch", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NetworkEdgeSecurityServicesServer).Patch(ctx, req.(*PatchNetworkEdgeSecurityServiceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _NetworkEdgeSecurityServices_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.NetworkEdgeSecurityServices", - HandlerType: (*NetworkEdgeSecurityServicesServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "AggregatedList", - Handler: _NetworkEdgeSecurityServices_AggregatedList_Handler, - }, - { - MethodName: "Delete", - Handler: _NetworkEdgeSecurityServices_Delete_Handler, - }, - { - MethodName: "Get", - Handler: _NetworkEdgeSecurityServices_Get_Handler, - }, - { - MethodName: "Insert", - Handler: _NetworkEdgeSecurityServices_Insert_Handler, - }, - { - MethodName: "Patch", - Handler: _NetworkEdgeSecurityServices_Patch_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} - -// NetworkEndpointGroupsClient is the client API for NetworkEndpointGroups service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type NetworkEndpointGroupsClient interface { - // Retrieves the list of network endpoint groups and sorts them by zone. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. - AggregatedList(ctx context.Context, in *AggregatedListNetworkEndpointGroupsRequest, opts ...grpc.CallOption) (*NetworkEndpointGroupAggregatedList, error) - // Attach a list of network endpoints to the specified network endpoint group. - AttachNetworkEndpoints(ctx context.Context, in *AttachNetworkEndpointsNetworkEndpointGroupRequest, opts ...grpc.CallOption) (*Operation, error) - // Deletes the specified network endpoint group. The network endpoints in the NEG and the VM instances they belong to are not terminated when the NEG is deleted. Note that the NEG cannot be deleted if there are backend services referencing it. - Delete(ctx context.Context, in *DeleteNetworkEndpointGroupRequest, opts ...grpc.CallOption) (*Operation, error) - // Detach a list of network endpoints from the specified network endpoint group. - DetachNetworkEndpoints(ctx context.Context, in *DetachNetworkEndpointsNetworkEndpointGroupRequest, opts ...grpc.CallOption) (*Operation, error) - // Returns the specified network endpoint group. - Get(ctx context.Context, in *GetNetworkEndpointGroupRequest, opts ...grpc.CallOption) (*NetworkEndpointGroup, error) - // Creates a network endpoint group in the specified project using the parameters that are included in the request. - Insert(ctx context.Context, in *InsertNetworkEndpointGroupRequest, opts ...grpc.CallOption) (*Operation, error) - // Retrieves the list of network endpoint groups that are located in the specified project and zone. - List(ctx context.Context, in *ListNetworkEndpointGroupsRequest, opts ...grpc.CallOption) (*NetworkEndpointGroupList, error) - // Lists the network endpoints in the specified network endpoint group. - ListNetworkEndpoints(ctx context.Context, in *ListNetworkEndpointsNetworkEndpointGroupsRequest, opts ...grpc.CallOption) (*NetworkEndpointGroupsListNetworkEndpoints, error) - // Returns permissions that a caller has on the specified resource. - TestIamPermissions(ctx context.Context, in *TestIamPermissionsNetworkEndpointGroupRequest, opts ...grpc.CallOption) (*TestPermissionsResponse, error) -} - -type networkEndpointGroupsClient struct { - cc grpc.ClientConnInterface -} - -func NewNetworkEndpointGroupsClient(cc grpc.ClientConnInterface) NetworkEndpointGroupsClient { - return &networkEndpointGroupsClient{cc} -} - -func (c *networkEndpointGroupsClient) AggregatedList(ctx context.Context, in *AggregatedListNetworkEndpointGroupsRequest, opts ...grpc.CallOption) (*NetworkEndpointGroupAggregatedList, error) { - out := new(NetworkEndpointGroupAggregatedList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.NetworkEndpointGroups/AggregatedList", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *networkEndpointGroupsClient) AttachNetworkEndpoints(ctx context.Context, in *AttachNetworkEndpointsNetworkEndpointGroupRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.NetworkEndpointGroups/AttachNetworkEndpoints", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *networkEndpointGroupsClient) Delete(ctx context.Context, in *DeleteNetworkEndpointGroupRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.NetworkEndpointGroups/Delete", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *networkEndpointGroupsClient) DetachNetworkEndpoints(ctx context.Context, in *DetachNetworkEndpointsNetworkEndpointGroupRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.NetworkEndpointGroups/DetachNetworkEndpoints", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *networkEndpointGroupsClient) Get(ctx context.Context, in *GetNetworkEndpointGroupRequest, opts ...grpc.CallOption) (*NetworkEndpointGroup, error) { - out := new(NetworkEndpointGroup) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.NetworkEndpointGroups/Get", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *networkEndpointGroupsClient) Insert(ctx context.Context, in *InsertNetworkEndpointGroupRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.NetworkEndpointGroups/Insert", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *networkEndpointGroupsClient) List(ctx context.Context, in *ListNetworkEndpointGroupsRequest, opts ...grpc.CallOption) (*NetworkEndpointGroupList, error) { - out := new(NetworkEndpointGroupList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.NetworkEndpointGroups/List", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *networkEndpointGroupsClient) ListNetworkEndpoints(ctx context.Context, in *ListNetworkEndpointsNetworkEndpointGroupsRequest, opts ...grpc.CallOption) (*NetworkEndpointGroupsListNetworkEndpoints, error) { - out := new(NetworkEndpointGroupsListNetworkEndpoints) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.NetworkEndpointGroups/ListNetworkEndpoints", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *networkEndpointGroupsClient) TestIamPermissions(ctx context.Context, in *TestIamPermissionsNetworkEndpointGroupRequest, opts ...grpc.CallOption) (*TestPermissionsResponse, error) { - out := new(TestPermissionsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.NetworkEndpointGroups/TestIamPermissions", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// NetworkEndpointGroupsServer is the server API for NetworkEndpointGroups service. -type NetworkEndpointGroupsServer interface { - // Retrieves the list of network endpoint groups and sorts them by zone. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. - AggregatedList(context.Context, *AggregatedListNetworkEndpointGroupsRequest) (*NetworkEndpointGroupAggregatedList, error) - // Attach a list of network endpoints to the specified network endpoint group. - AttachNetworkEndpoints(context.Context, *AttachNetworkEndpointsNetworkEndpointGroupRequest) (*Operation, error) - // Deletes the specified network endpoint group. The network endpoints in the NEG and the VM instances they belong to are not terminated when the NEG is deleted. Note that the NEG cannot be deleted if there are backend services referencing it. - Delete(context.Context, *DeleteNetworkEndpointGroupRequest) (*Operation, error) - // Detach a list of network endpoints from the specified network endpoint group. - DetachNetworkEndpoints(context.Context, *DetachNetworkEndpointsNetworkEndpointGroupRequest) (*Operation, error) - // Returns the specified network endpoint group. - Get(context.Context, *GetNetworkEndpointGroupRequest) (*NetworkEndpointGroup, error) - // Creates a network endpoint group in the specified project using the parameters that are included in the request. - Insert(context.Context, *InsertNetworkEndpointGroupRequest) (*Operation, error) - // Retrieves the list of network endpoint groups that are located in the specified project and zone. - List(context.Context, *ListNetworkEndpointGroupsRequest) (*NetworkEndpointGroupList, error) - // Lists the network endpoints in the specified network endpoint group. - ListNetworkEndpoints(context.Context, *ListNetworkEndpointsNetworkEndpointGroupsRequest) (*NetworkEndpointGroupsListNetworkEndpoints, error) - // Returns permissions that a caller has on the specified resource. - TestIamPermissions(context.Context, *TestIamPermissionsNetworkEndpointGroupRequest) (*TestPermissionsResponse, error) -} - -// UnimplementedNetworkEndpointGroupsServer can be embedded to have forward compatible implementations. -type UnimplementedNetworkEndpointGroupsServer struct { -} - -func (*UnimplementedNetworkEndpointGroupsServer) AggregatedList(context.Context, *AggregatedListNetworkEndpointGroupsRequest) (*NetworkEndpointGroupAggregatedList, error) { - return nil, status.Errorf(codes.Unimplemented, "method AggregatedList not implemented") -} -func (*UnimplementedNetworkEndpointGroupsServer) AttachNetworkEndpoints(context.Context, *AttachNetworkEndpointsNetworkEndpointGroupRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method AttachNetworkEndpoints not implemented") -} -func (*UnimplementedNetworkEndpointGroupsServer) Delete(context.Context, *DeleteNetworkEndpointGroupRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") -} -func (*UnimplementedNetworkEndpointGroupsServer) DetachNetworkEndpoints(context.Context, *DetachNetworkEndpointsNetworkEndpointGroupRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method DetachNetworkEndpoints not implemented") -} -func (*UnimplementedNetworkEndpointGroupsServer) Get(context.Context, *GetNetworkEndpointGroupRequest) (*NetworkEndpointGroup, error) { - return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") -} -func (*UnimplementedNetworkEndpointGroupsServer) Insert(context.Context, *InsertNetworkEndpointGroupRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Insert not implemented") -} -func (*UnimplementedNetworkEndpointGroupsServer) List(context.Context, *ListNetworkEndpointGroupsRequest) (*NetworkEndpointGroupList, error) { - return nil, status.Errorf(codes.Unimplemented, "method List not implemented") -} -func (*UnimplementedNetworkEndpointGroupsServer) ListNetworkEndpoints(context.Context, *ListNetworkEndpointsNetworkEndpointGroupsRequest) (*NetworkEndpointGroupsListNetworkEndpoints, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListNetworkEndpoints not implemented") -} -func (*UnimplementedNetworkEndpointGroupsServer) TestIamPermissions(context.Context, *TestIamPermissionsNetworkEndpointGroupRequest) (*TestPermissionsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method TestIamPermissions not implemented") -} - -func RegisterNetworkEndpointGroupsServer(s *grpc.Server, srv NetworkEndpointGroupsServer) { - s.RegisterService(&_NetworkEndpointGroups_serviceDesc, srv) -} - -func _NetworkEndpointGroups_AggregatedList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AggregatedListNetworkEndpointGroupsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NetworkEndpointGroupsServer).AggregatedList(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.NetworkEndpointGroups/AggregatedList", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NetworkEndpointGroupsServer).AggregatedList(ctx, req.(*AggregatedListNetworkEndpointGroupsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _NetworkEndpointGroups_AttachNetworkEndpoints_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AttachNetworkEndpointsNetworkEndpointGroupRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NetworkEndpointGroupsServer).AttachNetworkEndpoints(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.NetworkEndpointGroups/AttachNetworkEndpoints", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NetworkEndpointGroupsServer).AttachNetworkEndpoints(ctx, req.(*AttachNetworkEndpointsNetworkEndpointGroupRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _NetworkEndpointGroups_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteNetworkEndpointGroupRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NetworkEndpointGroupsServer).Delete(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.NetworkEndpointGroups/Delete", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NetworkEndpointGroupsServer).Delete(ctx, req.(*DeleteNetworkEndpointGroupRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _NetworkEndpointGroups_DetachNetworkEndpoints_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DetachNetworkEndpointsNetworkEndpointGroupRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NetworkEndpointGroupsServer).DetachNetworkEndpoints(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.NetworkEndpointGroups/DetachNetworkEndpoints", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NetworkEndpointGroupsServer).DetachNetworkEndpoints(ctx, req.(*DetachNetworkEndpointsNetworkEndpointGroupRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _NetworkEndpointGroups_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetNetworkEndpointGroupRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NetworkEndpointGroupsServer).Get(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.NetworkEndpointGroups/Get", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NetworkEndpointGroupsServer).Get(ctx, req.(*GetNetworkEndpointGroupRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _NetworkEndpointGroups_Insert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(InsertNetworkEndpointGroupRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NetworkEndpointGroupsServer).Insert(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.NetworkEndpointGroups/Insert", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NetworkEndpointGroupsServer).Insert(ctx, req.(*InsertNetworkEndpointGroupRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _NetworkEndpointGroups_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListNetworkEndpointGroupsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NetworkEndpointGroupsServer).List(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.NetworkEndpointGroups/List", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NetworkEndpointGroupsServer).List(ctx, req.(*ListNetworkEndpointGroupsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _NetworkEndpointGroups_ListNetworkEndpoints_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListNetworkEndpointsNetworkEndpointGroupsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NetworkEndpointGroupsServer).ListNetworkEndpoints(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.NetworkEndpointGroups/ListNetworkEndpoints", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NetworkEndpointGroupsServer).ListNetworkEndpoints(ctx, req.(*ListNetworkEndpointsNetworkEndpointGroupsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _NetworkEndpointGroups_TestIamPermissions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(TestIamPermissionsNetworkEndpointGroupRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NetworkEndpointGroupsServer).TestIamPermissions(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.NetworkEndpointGroups/TestIamPermissions", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NetworkEndpointGroupsServer).TestIamPermissions(ctx, req.(*TestIamPermissionsNetworkEndpointGroupRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _NetworkEndpointGroups_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.NetworkEndpointGroups", - HandlerType: (*NetworkEndpointGroupsServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "AggregatedList", - Handler: _NetworkEndpointGroups_AggregatedList_Handler, - }, - { - MethodName: "AttachNetworkEndpoints", - Handler: _NetworkEndpointGroups_AttachNetworkEndpoints_Handler, - }, - { - MethodName: "Delete", - Handler: _NetworkEndpointGroups_Delete_Handler, - }, - { - MethodName: "DetachNetworkEndpoints", - Handler: _NetworkEndpointGroups_DetachNetworkEndpoints_Handler, - }, - { - MethodName: "Get", - Handler: _NetworkEndpointGroups_Get_Handler, - }, - { - MethodName: "Insert", - Handler: _NetworkEndpointGroups_Insert_Handler, - }, - { - MethodName: "List", - Handler: _NetworkEndpointGroups_List_Handler, - }, - { - MethodName: "ListNetworkEndpoints", - Handler: _NetworkEndpointGroups_ListNetworkEndpoints_Handler, - }, - { - MethodName: "TestIamPermissions", - Handler: _NetworkEndpointGroups_TestIamPermissions_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} - -// NetworkFirewallPoliciesClient is the client API for NetworkFirewallPolicies service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type NetworkFirewallPoliciesClient interface { - // Inserts an association for the specified firewall policy. - AddAssociation(ctx context.Context, in *AddAssociationNetworkFirewallPolicyRequest, opts ...grpc.CallOption) (*Operation, error) - // Inserts a rule into a firewall policy. - AddRule(ctx context.Context, in *AddRuleNetworkFirewallPolicyRequest, opts ...grpc.CallOption) (*Operation, error) - // Copies rules to the specified firewall policy. - CloneRules(ctx context.Context, in *CloneRulesNetworkFirewallPolicyRequest, opts ...grpc.CallOption) (*Operation, error) - // Deletes the specified policy. - Delete(ctx context.Context, in *DeleteNetworkFirewallPolicyRequest, opts ...grpc.CallOption) (*Operation, error) - // Returns the specified network firewall policy. - Get(ctx context.Context, in *GetNetworkFirewallPolicyRequest, opts ...grpc.CallOption) (*FirewallPolicy, error) - // Gets an association with the specified name. - GetAssociation(ctx context.Context, in *GetAssociationNetworkFirewallPolicyRequest, opts ...grpc.CallOption) (*FirewallPolicyAssociation, error) - // Gets the access control policy for a resource. May be empty if no such policy or resource exists. - GetIamPolicy(ctx context.Context, in *GetIamPolicyNetworkFirewallPolicyRequest, opts ...grpc.CallOption) (*Policy, error) - // Gets a rule of the specified priority. - GetRule(ctx context.Context, in *GetRuleNetworkFirewallPolicyRequest, opts ...grpc.CallOption) (*FirewallPolicyRule, error) - // Creates a new policy in the specified project using the data included in the request. - Insert(ctx context.Context, in *InsertNetworkFirewallPolicyRequest, opts ...grpc.CallOption) (*Operation, error) - // Lists all the policies that have been configured for the specified project. - List(ctx context.Context, in *ListNetworkFirewallPoliciesRequest, opts ...grpc.CallOption) (*FirewallPolicyList, error) - // Patches the specified policy with the data included in the request. - Patch(ctx context.Context, in *PatchNetworkFirewallPolicyRequest, opts ...grpc.CallOption) (*Operation, error) - // Patches a rule of the specified priority. - PatchRule(ctx context.Context, in *PatchRuleNetworkFirewallPolicyRequest, opts ...grpc.CallOption) (*Operation, error) - // Removes an association for the specified firewall policy. - RemoveAssociation(ctx context.Context, in *RemoveAssociationNetworkFirewallPolicyRequest, opts ...grpc.CallOption) (*Operation, error) - // Deletes a rule of the specified priority. - RemoveRule(ctx context.Context, in *RemoveRuleNetworkFirewallPolicyRequest, opts ...grpc.CallOption) (*Operation, error) - // Sets the access control policy on the specified resource. Replaces any existing policy. - SetIamPolicy(ctx context.Context, in *SetIamPolicyNetworkFirewallPolicyRequest, opts ...grpc.CallOption) (*Policy, error) - // Returns permissions that a caller has on the specified resource. - TestIamPermissions(ctx context.Context, in *TestIamPermissionsNetworkFirewallPolicyRequest, opts ...grpc.CallOption) (*TestPermissionsResponse, error) -} - -type networkFirewallPoliciesClient struct { - cc grpc.ClientConnInterface -} - -func NewNetworkFirewallPoliciesClient(cc grpc.ClientConnInterface) NetworkFirewallPoliciesClient { - return &networkFirewallPoliciesClient{cc} -} - -func (c *networkFirewallPoliciesClient) AddAssociation(ctx context.Context, in *AddAssociationNetworkFirewallPolicyRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.NetworkFirewallPolicies/AddAssociation", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *networkFirewallPoliciesClient) AddRule(ctx context.Context, in *AddRuleNetworkFirewallPolicyRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.NetworkFirewallPolicies/AddRule", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *networkFirewallPoliciesClient) CloneRules(ctx context.Context, in *CloneRulesNetworkFirewallPolicyRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.NetworkFirewallPolicies/CloneRules", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *networkFirewallPoliciesClient) Delete(ctx context.Context, in *DeleteNetworkFirewallPolicyRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.NetworkFirewallPolicies/Delete", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *networkFirewallPoliciesClient) Get(ctx context.Context, in *GetNetworkFirewallPolicyRequest, opts ...grpc.CallOption) (*FirewallPolicy, error) { - out := new(FirewallPolicy) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.NetworkFirewallPolicies/Get", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *networkFirewallPoliciesClient) GetAssociation(ctx context.Context, in *GetAssociationNetworkFirewallPolicyRequest, opts ...grpc.CallOption) (*FirewallPolicyAssociation, error) { - out := new(FirewallPolicyAssociation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.NetworkFirewallPolicies/GetAssociation", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *networkFirewallPoliciesClient) GetIamPolicy(ctx context.Context, in *GetIamPolicyNetworkFirewallPolicyRequest, opts ...grpc.CallOption) (*Policy, error) { - out := new(Policy) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.NetworkFirewallPolicies/GetIamPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *networkFirewallPoliciesClient) GetRule(ctx context.Context, in *GetRuleNetworkFirewallPolicyRequest, opts ...grpc.CallOption) (*FirewallPolicyRule, error) { - out := new(FirewallPolicyRule) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.NetworkFirewallPolicies/GetRule", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *networkFirewallPoliciesClient) Insert(ctx context.Context, in *InsertNetworkFirewallPolicyRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.NetworkFirewallPolicies/Insert", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *networkFirewallPoliciesClient) List(ctx context.Context, in *ListNetworkFirewallPoliciesRequest, opts ...grpc.CallOption) (*FirewallPolicyList, error) { - out := new(FirewallPolicyList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.NetworkFirewallPolicies/List", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *networkFirewallPoliciesClient) Patch(ctx context.Context, in *PatchNetworkFirewallPolicyRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.NetworkFirewallPolicies/Patch", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *networkFirewallPoliciesClient) PatchRule(ctx context.Context, in *PatchRuleNetworkFirewallPolicyRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.NetworkFirewallPolicies/PatchRule", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *networkFirewallPoliciesClient) RemoveAssociation(ctx context.Context, in *RemoveAssociationNetworkFirewallPolicyRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.NetworkFirewallPolicies/RemoveAssociation", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *networkFirewallPoliciesClient) RemoveRule(ctx context.Context, in *RemoveRuleNetworkFirewallPolicyRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.NetworkFirewallPolicies/RemoveRule", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *networkFirewallPoliciesClient) SetIamPolicy(ctx context.Context, in *SetIamPolicyNetworkFirewallPolicyRequest, opts ...grpc.CallOption) (*Policy, error) { - out := new(Policy) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.NetworkFirewallPolicies/SetIamPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *networkFirewallPoliciesClient) TestIamPermissions(ctx context.Context, in *TestIamPermissionsNetworkFirewallPolicyRequest, opts ...grpc.CallOption) (*TestPermissionsResponse, error) { - out := new(TestPermissionsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.NetworkFirewallPolicies/TestIamPermissions", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// NetworkFirewallPoliciesServer is the server API for NetworkFirewallPolicies service. -type NetworkFirewallPoliciesServer interface { - // Inserts an association for the specified firewall policy. - AddAssociation(context.Context, *AddAssociationNetworkFirewallPolicyRequest) (*Operation, error) - // Inserts a rule into a firewall policy. - AddRule(context.Context, *AddRuleNetworkFirewallPolicyRequest) (*Operation, error) - // Copies rules to the specified firewall policy. - CloneRules(context.Context, *CloneRulesNetworkFirewallPolicyRequest) (*Operation, error) - // Deletes the specified policy. - Delete(context.Context, *DeleteNetworkFirewallPolicyRequest) (*Operation, error) - // Returns the specified network firewall policy. - Get(context.Context, *GetNetworkFirewallPolicyRequest) (*FirewallPolicy, error) - // Gets an association with the specified name. - GetAssociation(context.Context, *GetAssociationNetworkFirewallPolicyRequest) (*FirewallPolicyAssociation, error) - // Gets the access control policy for a resource. May be empty if no such policy or resource exists. - GetIamPolicy(context.Context, *GetIamPolicyNetworkFirewallPolicyRequest) (*Policy, error) - // Gets a rule of the specified priority. - GetRule(context.Context, *GetRuleNetworkFirewallPolicyRequest) (*FirewallPolicyRule, error) - // Creates a new policy in the specified project using the data included in the request. - Insert(context.Context, *InsertNetworkFirewallPolicyRequest) (*Operation, error) - // Lists all the policies that have been configured for the specified project. - List(context.Context, *ListNetworkFirewallPoliciesRequest) (*FirewallPolicyList, error) - // Patches the specified policy with the data included in the request. - Patch(context.Context, *PatchNetworkFirewallPolicyRequest) (*Operation, error) - // Patches a rule of the specified priority. - PatchRule(context.Context, *PatchRuleNetworkFirewallPolicyRequest) (*Operation, error) - // Removes an association for the specified firewall policy. - RemoveAssociation(context.Context, *RemoveAssociationNetworkFirewallPolicyRequest) (*Operation, error) - // Deletes a rule of the specified priority. - RemoveRule(context.Context, *RemoveRuleNetworkFirewallPolicyRequest) (*Operation, error) - // Sets the access control policy on the specified resource. Replaces any existing policy. - SetIamPolicy(context.Context, *SetIamPolicyNetworkFirewallPolicyRequest) (*Policy, error) - // Returns permissions that a caller has on the specified resource. - TestIamPermissions(context.Context, *TestIamPermissionsNetworkFirewallPolicyRequest) (*TestPermissionsResponse, error) -} - -// UnimplementedNetworkFirewallPoliciesServer can be embedded to have forward compatible implementations. -type UnimplementedNetworkFirewallPoliciesServer struct { -} - -func (*UnimplementedNetworkFirewallPoliciesServer) AddAssociation(context.Context, *AddAssociationNetworkFirewallPolicyRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method AddAssociation not implemented") -} -func (*UnimplementedNetworkFirewallPoliciesServer) AddRule(context.Context, *AddRuleNetworkFirewallPolicyRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method AddRule not implemented") -} -func (*UnimplementedNetworkFirewallPoliciesServer) CloneRules(context.Context, *CloneRulesNetworkFirewallPolicyRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method CloneRules not implemented") -} -func (*UnimplementedNetworkFirewallPoliciesServer) Delete(context.Context, *DeleteNetworkFirewallPolicyRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") -} -func (*UnimplementedNetworkFirewallPoliciesServer) Get(context.Context, *GetNetworkFirewallPolicyRequest) (*FirewallPolicy, error) { - return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") -} -func (*UnimplementedNetworkFirewallPoliciesServer) GetAssociation(context.Context, *GetAssociationNetworkFirewallPolicyRequest) (*FirewallPolicyAssociation, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetAssociation not implemented") -} -func (*UnimplementedNetworkFirewallPoliciesServer) GetIamPolicy(context.Context, *GetIamPolicyNetworkFirewallPolicyRequest) (*Policy, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetIamPolicy not implemented") -} -func (*UnimplementedNetworkFirewallPoliciesServer) GetRule(context.Context, *GetRuleNetworkFirewallPolicyRequest) (*FirewallPolicyRule, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetRule not implemented") -} -func (*UnimplementedNetworkFirewallPoliciesServer) Insert(context.Context, *InsertNetworkFirewallPolicyRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Insert not implemented") -} -func (*UnimplementedNetworkFirewallPoliciesServer) List(context.Context, *ListNetworkFirewallPoliciesRequest) (*FirewallPolicyList, error) { - return nil, status.Errorf(codes.Unimplemented, "method List not implemented") -} -func (*UnimplementedNetworkFirewallPoliciesServer) Patch(context.Context, *PatchNetworkFirewallPolicyRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Patch not implemented") -} -func (*UnimplementedNetworkFirewallPoliciesServer) PatchRule(context.Context, *PatchRuleNetworkFirewallPolicyRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method PatchRule not implemented") -} -func (*UnimplementedNetworkFirewallPoliciesServer) RemoveAssociation(context.Context, *RemoveAssociationNetworkFirewallPolicyRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method RemoveAssociation not implemented") -} -func (*UnimplementedNetworkFirewallPoliciesServer) RemoveRule(context.Context, *RemoveRuleNetworkFirewallPolicyRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method RemoveRule not implemented") -} -func (*UnimplementedNetworkFirewallPoliciesServer) SetIamPolicy(context.Context, *SetIamPolicyNetworkFirewallPolicyRequest) (*Policy, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetIamPolicy not implemented") -} -func (*UnimplementedNetworkFirewallPoliciesServer) TestIamPermissions(context.Context, *TestIamPermissionsNetworkFirewallPolicyRequest) (*TestPermissionsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method TestIamPermissions not implemented") -} - -func RegisterNetworkFirewallPoliciesServer(s *grpc.Server, srv NetworkFirewallPoliciesServer) { - s.RegisterService(&_NetworkFirewallPolicies_serviceDesc, srv) -} - -func _NetworkFirewallPolicies_AddAssociation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AddAssociationNetworkFirewallPolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NetworkFirewallPoliciesServer).AddAssociation(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.NetworkFirewallPolicies/AddAssociation", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NetworkFirewallPoliciesServer).AddAssociation(ctx, req.(*AddAssociationNetworkFirewallPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _NetworkFirewallPolicies_AddRule_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AddRuleNetworkFirewallPolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NetworkFirewallPoliciesServer).AddRule(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.NetworkFirewallPolicies/AddRule", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NetworkFirewallPoliciesServer).AddRule(ctx, req.(*AddRuleNetworkFirewallPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _NetworkFirewallPolicies_CloneRules_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CloneRulesNetworkFirewallPolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NetworkFirewallPoliciesServer).CloneRules(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.NetworkFirewallPolicies/CloneRules", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NetworkFirewallPoliciesServer).CloneRules(ctx, req.(*CloneRulesNetworkFirewallPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _NetworkFirewallPolicies_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteNetworkFirewallPolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NetworkFirewallPoliciesServer).Delete(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.NetworkFirewallPolicies/Delete", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NetworkFirewallPoliciesServer).Delete(ctx, req.(*DeleteNetworkFirewallPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _NetworkFirewallPolicies_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetNetworkFirewallPolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NetworkFirewallPoliciesServer).Get(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.NetworkFirewallPolicies/Get", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NetworkFirewallPoliciesServer).Get(ctx, req.(*GetNetworkFirewallPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _NetworkFirewallPolicies_GetAssociation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetAssociationNetworkFirewallPolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NetworkFirewallPoliciesServer).GetAssociation(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.NetworkFirewallPolicies/GetAssociation", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NetworkFirewallPoliciesServer).GetAssociation(ctx, req.(*GetAssociationNetworkFirewallPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _NetworkFirewallPolicies_GetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetIamPolicyNetworkFirewallPolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NetworkFirewallPoliciesServer).GetIamPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.NetworkFirewallPolicies/GetIamPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NetworkFirewallPoliciesServer).GetIamPolicy(ctx, req.(*GetIamPolicyNetworkFirewallPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _NetworkFirewallPolicies_GetRule_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetRuleNetworkFirewallPolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NetworkFirewallPoliciesServer).GetRule(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.NetworkFirewallPolicies/GetRule", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NetworkFirewallPoliciesServer).GetRule(ctx, req.(*GetRuleNetworkFirewallPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _NetworkFirewallPolicies_Insert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(InsertNetworkFirewallPolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NetworkFirewallPoliciesServer).Insert(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.NetworkFirewallPolicies/Insert", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NetworkFirewallPoliciesServer).Insert(ctx, req.(*InsertNetworkFirewallPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _NetworkFirewallPolicies_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListNetworkFirewallPoliciesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NetworkFirewallPoliciesServer).List(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.NetworkFirewallPolicies/List", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NetworkFirewallPoliciesServer).List(ctx, req.(*ListNetworkFirewallPoliciesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _NetworkFirewallPolicies_Patch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PatchNetworkFirewallPolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NetworkFirewallPoliciesServer).Patch(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.NetworkFirewallPolicies/Patch", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NetworkFirewallPoliciesServer).Patch(ctx, req.(*PatchNetworkFirewallPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _NetworkFirewallPolicies_PatchRule_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PatchRuleNetworkFirewallPolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NetworkFirewallPoliciesServer).PatchRule(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.NetworkFirewallPolicies/PatchRule", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NetworkFirewallPoliciesServer).PatchRule(ctx, req.(*PatchRuleNetworkFirewallPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _NetworkFirewallPolicies_RemoveAssociation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RemoveAssociationNetworkFirewallPolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NetworkFirewallPoliciesServer).RemoveAssociation(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.NetworkFirewallPolicies/RemoveAssociation", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NetworkFirewallPoliciesServer).RemoveAssociation(ctx, req.(*RemoveAssociationNetworkFirewallPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _NetworkFirewallPolicies_RemoveRule_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RemoveRuleNetworkFirewallPolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NetworkFirewallPoliciesServer).RemoveRule(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.NetworkFirewallPolicies/RemoveRule", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NetworkFirewallPoliciesServer).RemoveRule(ctx, req.(*RemoveRuleNetworkFirewallPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _NetworkFirewallPolicies_SetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetIamPolicyNetworkFirewallPolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NetworkFirewallPoliciesServer).SetIamPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.NetworkFirewallPolicies/SetIamPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NetworkFirewallPoliciesServer).SetIamPolicy(ctx, req.(*SetIamPolicyNetworkFirewallPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _NetworkFirewallPolicies_TestIamPermissions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(TestIamPermissionsNetworkFirewallPolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NetworkFirewallPoliciesServer).TestIamPermissions(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.NetworkFirewallPolicies/TestIamPermissions", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NetworkFirewallPoliciesServer).TestIamPermissions(ctx, req.(*TestIamPermissionsNetworkFirewallPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _NetworkFirewallPolicies_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.NetworkFirewallPolicies", - HandlerType: (*NetworkFirewallPoliciesServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "AddAssociation", - Handler: _NetworkFirewallPolicies_AddAssociation_Handler, - }, - { - MethodName: "AddRule", - Handler: _NetworkFirewallPolicies_AddRule_Handler, - }, - { - MethodName: "CloneRules", - Handler: _NetworkFirewallPolicies_CloneRules_Handler, - }, - { - MethodName: "Delete", - Handler: _NetworkFirewallPolicies_Delete_Handler, - }, - { - MethodName: "Get", - Handler: _NetworkFirewallPolicies_Get_Handler, - }, - { - MethodName: "GetAssociation", - Handler: _NetworkFirewallPolicies_GetAssociation_Handler, - }, - { - MethodName: "GetIamPolicy", - Handler: _NetworkFirewallPolicies_GetIamPolicy_Handler, - }, - { - MethodName: "GetRule", - Handler: _NetworkFirewallPolicies_GetRule_Handler, - }, - { - MethodName: "Insert", - Handler: _NetworkFirewallPolicies_Insert_Handler, - }, - { - MethodName: "List", - Handler: _NetworkFirewallPolicies_List_Handler, - }, - { - MethodName: "Patch", - Handler: _NetworkFirewallPolicies_Patch_Handler, - }, - { - MethodName: "PatchRule", - Handler: _NetworkFirewallPolicies_PatchRule_Handler, - }, - { - MethodName: "RemoveAssociation", - Handler: _NetworkFirewallPolicies_RemoveAssociation_Handler, - }, - { - MethodName: "RemoveRule", - Handler: _NetworkFirewallPolicies_RemoveRule_Handler, - }, - { - MethodName: "SetIamPolicy", - Handler: _NetworkFirewallPolicies_SetIamPolicy_Handler, - }, - { - MethodName: "TestIamPermissions", - Handler: _NetworkFirewallPolicies_TestIamPermissions_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} - -// NetworksClient is the client API for Networks service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type NetworksClient interface { - // Adds a peering to the specified network. - AddPeering(ctx context.Context, in *AddPeeringNetworkRequest, opts ...grpc.CallOption) (*Operation, error) - // Deletes the specified network. - Delete(ctx context.Context, in *DeleteNetworkRequest, opts ...grpc.CallOption) (*Operation, error) - // Returns the specified network. - Get(ctx context.Context, in *GetNetworkRequest, opts ...grpc.CallOption) (*Network, error) - // Returns the effective firewalls on a given network. - GetEffectiveFirewalls(ctx context.Context, in *GetEffectiveFirewallsNetworkRequest, opts ...grpc.CallOption) (*NetworksGetEffectiveFirewallsResponse, error) - // Creates a network in the specified project using the data included in the request. - Insert(ctx context.Context, in *InsertNetworkRequest, opts ...grpc.CallOption) (*Operation, error) - // Retrieves the list of networks available to the specified project. - List(ctx context.Context, in *ListNetworksRequest, opts ...grpc.CallOption) (*NetworkList, error) - // Lists the peering routes exchanged over peering connection. - ListPeeringRoutes(ctx context.Context, in *ListPeeringRoutesNetworksRequest, opts ...grpc.CallOption) (*ExchangedPeeringRoutesList, error) - // Patches the specified network with the data included in the request. Only the following fields can be modified: routingConfig.routingMode. - Patch(ctx context.Context, in *PatchNetworkRequest, opts ...grpc.CallOption) (*Operation, error) - // Removes a peering from the specified network. - RemovePeering(ctx context.Context, in *RemovePeeringNetworkRequest, opts ...grpc.CallOption) (*Operation, error) - // Switches the network mode from auto subnet mode to custom subnet mode. - SwitchToCustomMode(ctx context.Context, in *SwitchToCustomModeNetworkRequest, opts ...grpc.CallOption) (*Operation, error) - // Updates the specified network peering with the data included in the request. You can only modify the NetworkPeering.export_custom_routes field and the NetworkPeering.import_custom_routes field. - UpdatePeering(ctx context.Context, in *UpdatePeeringNetworkRequest, opts ...grpc.CallOption) (*Operation, error) -} - -type networksClient struct { - cc grpc.ClientConnInterface -} - -func NewNetworksClient(cc grpc.ClientConnInterface) NetworksClient { - return &networksClient{cc} -} - -func (c *networksClient) AddPeering(ctx context.Context, in *AddPeeringNetworkRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Networks/AddPeering", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *networksClient) Delete(ctx context.Context, in *DeleteNetworkRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Networks/Delete", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *networksClient) Get(ctx context.Context, in *GetNetworkRequest, opts ...grpc.CallOption) (*Network, error) { - out := new(Network) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Networks/Get", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *networksClient) GetEffectiveFirewalls(ctx context.Context, in *GetEffectiveFirewallsNetworkRequest, opts ...grpc.CallOption) (*NetworksGetEffectiveFirewallsResponse, error) { - out := new(NetworksGetEffectiveFirewallsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Networks/GetEffectiveFirewalls", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *networksClient) Insert(ctx context.Context, in *InsertNetworkRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Networks/Insert", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *networksClient) List(ctx context.Context, in *ListNetworksRequest, opts ...grpc.CallOption) (*NetworkList, error) { - out := new(NetworkList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Networks/List", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *networksClient) ListPeeringRoutes(ctx context.Context, in *ListPeeringRoutesNetworksRequest, opts ...grpc.CallOption) (*ExchangedPeeringRoutesList, error) { - out := new(ExchangedPeeringRoutesList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Networks/ListPeeringRoutes", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *networksClient) Patch(ctx context.Context, in *PatchNetworkRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Networks/Patch", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *networksClient) RemovePeering(ctx context.Context, in *RemovePeeringNetworkRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Networks/RemovePeering", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *networksClient) SwitchToCustomMode(ctx context.Context, in *SwitchToCustomModeNetworkRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Networks/SwitchToCustomMode", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *networksClient) UpdatePeering(ctx context.Context, in *UpdatePeeringNetworkRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Networks/UpdatePeering", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// NetworksServer is the server API for Networks service. -type NetworksServer interface { - // Adds a peering to the specified network. - AddPeering(context.Context, *AddPeeringNetworkRequest) (*Operation, error) - // Deletes the specified network. - Delete(context.Context, *DeleteNetworkRequest) (*Operation, error) - // Returns the specified network. - Get(context.Context, *GetNetworkRequest) (*Network, error) - // Returns the effective firewalls on a given network. - GetEffectiveFirewalls(context.Context, *GetEffectiveFirewallsNetworkRequest) (*NetworksGetEffectiveFirewallsResponse, error) - // Creates a network in the specified project using the data included in the request. - Insert(context.Context, *InsertNetworkRequest) (*Operation, error) - // Retrieves the list of networks available to the specified project. - List(context.Context, *ListNetworksRequest) (*NetworkList, error) - // Lists the peering routes exchanged over peering connection. - ListPeeringRoutes(context.Context, *ListPeeringRoutesNetworksRequest) (*ExchangedPeeringRoutesList, error) - // Patches the specified network with the data included in the request. Only the following fields can be modified: routingConfig.routingMode. - Patch(context.Context, *PatchNetworkRequest) (*Operation, error) - // Removes a peering from the specified network. - RemovePeering(context.Context, *RemovePeeringNetworkRequest) (*Operation, error) - // Switches the network mode from auto subnet mode to custom subnet mode. - SwitchToCustomMode(context.Context, *SwitchToCustomModeNetworkRequest) (*Operation, error) - // Updates the specified network peering with the data included in the request. You can only modify the NetworkPeering.export_custom_routes field and the NetworkPeering.import_custom_routes field. - UpdatePeering(context.Context, *UpdatePeeringNetworkRequest) (*Operation, error) -} - -// UnimplementedNetworksServer can be embedded to have forward compatible implementations. -type UnimplementedNetworksServer struct { -} - -func (*UnimplementedNetworksServer) AddPeering(context.Context, *AddPeeringNetworkRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method AddPeering not implemented") -} -func (*UnimplementedNetworksServer) Delete(context.Context, *DeleteNetworkRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") -} -func (*UnimplementedNetworksServer) Get(context.Context, *GetNetworkRequest) (*Network, error) { - return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") -} -func (*UnimplementedNetworksServer) GetEffectiveFirewalls(context.Context, *GetEffectiveFirewallsNetworkRequest) (*NetworksGetEffectiveFirewallsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetEffectiveFirewalls not implemented") -} -func (*UnimplementedNetworksServer) Insert(context.Context, *InsertNetworkRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Insert not implemented") -} -func (*UnimplementedNetworksServer) List(context.Context, *ListNetworksRequest) (*NetworkList, error) { - return nil, status.Errorf(codes.Unimplemented, "method List not implemented") -} -func (*UnimplementedNetworksServer) ListPeeringRoutes(context.Context, *ListPeeringRoutesNetworksRequest) (*ExchangedPeeringRoutesList, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListPeeringRoutes not implemented") -} -func (*UnimplementedNetworksServer) Patch(context.Context, *PatchNetworkRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Patch not implemented") -} -func (*UnimplementedNetworksServer) RemovePeering(context.Context, *RemovePeeringNetworkRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method RemovePeering not implemented") -} -func (*UnimplementedNetworksServer) SwitchToCustomMode(context.Context, *SwitchToCustomModeNetworkRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SwitchToCustomMode not implemented") -} -func (*UnimplementedNetworksServer) UpdatePeering(context.Context, *UpdatePeeringNetworkRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdatePeering not implemented") -} - -func RegisterNetworksServer(s *grpc.Server, srv NetworksServer) { - s.RegisterService(&_Networks_serviceDesc, srv) -} - -func _Networks_AddPeering_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AddPeeringNetworkRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NetworksServer).AddPeering(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Networks/AddPeering", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NetworksServer).AddPeering(ctx, req.(*AddPeeringNetworkRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Networks_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteNetworkRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NetworksServer).Delete(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Networks/Delete", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NetworksServer).Delete(ctx, req.(*DeleteNetworkRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Networks_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetNetworkRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NetworksServer).Get(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Networks/Get", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NetworksServer).Get(ctx, req.(*GetNetworkRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Networks_GetEffectiveFirewalls_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetEffectiveFirewallsNetworkRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NetworksServer).GetEffectiveFirewalls(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Networks/GetEffectiveFirewalls", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NetworksServer).GetEffectiveFirewalls(ctx, req.(*GetEffectiveFirewallsNetworkRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Networks_Insert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(InsertNetworkRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NetworksServer).Insert(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Networks/Insert", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NetworksServer).Insert(ctx, req.(*InsertNetworkRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Networks_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListNetworksRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NetworksServer).List(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Networks/List", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NetworksServer).List(ctx, req.(*ListNetworksRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Networks_ListPeeringRoutes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListPeeringRoutesNetworksRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NetworksServer).ListPeeringRoutes(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Networks/ListPeeringRoutes", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NetworksServer).ListPeeringRoutes(ctx, req.(*ListPeeringRoutesNetworksRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Networks_Patch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PatchNetworkRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NetworksServer).Patch(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Networks/Patch", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NetworksServer).Patch(ctx, req.(*PatchNetworkRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Networks_RemovePeering_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RemovePeeringNetworkRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NetworksServer).RemovePeering(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Networks/RemovePeering", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NetworksServer).RemovePeering(ctx, req.(*RemovePeeringNetworkRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Networks_SwitchToCustomMode_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SwitchToCustomModeNetworkRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NetworksServer).SwitchToCustomMode(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Networks/SwitchToCustomMode", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NetworksServer).SwitchToCustomMode(ctx, req.(*SwitchToCustomModeNetworkRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Networks_UpdatePeering_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdatePeeringNetworkRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NetworksServer).UpdatePeering(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Networks/UpdatePeering", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NetworksServer).UpdatePeering(ctx, req.(*UpdatePeeringNetworkRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _Networks_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.Networks", - HandlerType: (*NetworksServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "AddPeering", - Handler: _Networks_AddPeering_Handler, - }, - { - MethodName: "Delete", - Handler: _Networks_Delete_Handler, - }, - { - MethodName: "Get", - Handler: _Networks_Get_Handler, - }, - { - MethodName: "GetEffectiveFirewalls", - Handler: _Networks_GetEffectiveFirewalls_Handler, - }, - { - MethodName: "Insert", - Handler: _Networks_Insert_Handler, - }, - { - MethodName: "List", - Handler: _Networks_List_Handler, - }, - { - MethodName: "ListPeeringRoutes", - Handler: _Networks_ListPeeringRoutes_Handler, - }, - { - MethodName: "Patch", - Handler: _Networks_Patch_Handler, - }, - { - MethodName: "RemovePeering", - Handler: _Networks_RemovePeering_Handler, - }, - { - MethodName: "SwitchToCustomMode", - Handler: _Networks_SwitchToCustomMode_Handler, - }, - { - MethodName: "UpdatePeering", - Handler: _Networks_UpdatePeering_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} - -// NodeGroupsClient is the client API for NodeGroups service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type NodeGroupsClient interface { - // Adds specified number of nodes to the node group. - AddNodes(ctx context.Context, in *AddNodesNodeGroupRequest, opts ...grpc.CallOption) (*Operation, error) - // Retrieves an aggregated list of node groups. Note: use nodeGroups.listNodes for more details about each group. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. - AggregatedList(ctx context.Context, in *AggregatedListNodeGroupsRequest, opts ...grpc.CallOption) (*NodeGroupAggregatedList, error) - // Deletes the specified NodeGroup resource. - Delete(ctx context.Context, in *DeleteNodeGroupRequest, opts ...grpc.CallOption) (*Operation, error) - // Deletes specified nodes from the node group. - DeleteNodes(ctx context.Context, in *DeleteNodesNodeGroupRequest, opts ...grpc.CallOption) (*Operation, error) - // Returns the specified NodeGroup. Get a list of available NodeGroups by making a list() request. Note: the "nodes" field should not be used. Use nodeGroups.listNodes instead. - Get(ctx context.Context, in *GetNodeGroupRequest, opts ...grpc.CallOption) (*NodeGroup, error) - // Gets the access control policy for a resource. May be empty if no such policy or resource exists. - GetIamPolicy(ctx context.Context, in *GetIamPolicyNodeGroupRequest, opts ...grpc.CallOption) (*Policy, error) - // Creates a NodeGroup resource in the specified project using the data included in the request. - Insert(ctx context.Context, in *InsertNodeGroupRequest, opts ...grpc.CallOption) (*Operation, error) - // Retrieves a list of node groups available to the specified project. Note: use nodeGroups.listNodes for more details about each group. - List(ctx context.Context, in *ListNodeGroupsRequest, opts ...grpc.CallOption) (*NodeGroupList, error) - // Lists nodes in the node group. - ListNodes(ctx context.Context, in *ListNodesNodeGroupsRequest, opts ...grpc.CallOption) (*NodeGroupsListNodes, error) - // Updates the specified node group. - Patch(ctx context.Context, in *PatchNodeGroupRequest, opts ...grpc.CallOption) (*Operation, error) - // Perform maintenance on a subset of nodes in the node group. - PerformMaintenance(ctx context.Context, in *PerformMaintenanceNodeGroupRequest, opts ...grpc.CallOption) (*Operation, error) - // Sets the access control policy on the specified resource. Replaces any existing policy. - SetIamPolicy(ctx context.Context, in *SetIamPolicyNodeGroupRequest, opts ...grpc.CallOption) (*Policy, error) - // Updates the node template of the node group. - SetNodeTemplate(ctx context.Context, in *SetNodeTemplateNodeGroupRequest, opts ...grpc.CallOption) (*Operation, error) - // Simulates maintenance event on specified nodes from the node group. - SimulateMaintenanceEvent(ctx context.Context, in *SimulateMaintenanceEventNodeGroupRequest, opts ...grpc.CallOption) (*Operation, error) - // Returns permissions that a caller has on the specified resource. - TestIamPermissions(ctx context.Context, in *TestIamPermissionsNodeGroupRequest, opts ...grpc.CallOption) (*TestPermissionsResponse, error) -} - -type nodeGroupsClient struct { - cc grpc.ClientConnInterface -} - -func NewNodeGroupsClient(cc grpc.ClientConnInterface) NodeGroupsClient { - return &nodeGroupsClient{cc} -} - -func (c *nodeGroupsClient) AddNodes(ctx context.Context, in *AddNodesNodeGroupRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.NodeGroups/AddNodes", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *nodeGroupsClient) AggregatedList(ctx context.Context, in *AggregatedListNodeGroupsRequest, opts ...grpc.CallOption) (*NodeGroupAggregatedList, error) { - out := new(NodeGroupAggregatedList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.NodeGroups/AggregatedList", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *nodeGroupsClient) Delete(ctx context.Context, in *DeleteNodeGroupRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.NodeGroups/Delete", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *nodeGroupsClient) DeleteNodes(ctx context.Context, in *DeleteNodesNodeGroupRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.NodeGroups/DeleteNodes", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *nodeGroupsClient) Get(ctx context.Context, in *GetNodeGroupRequest, opts ...grpc.CallOption) (*NodeGroup, error) { - out := new(NodeGroup) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.NodeGroups/Get", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *nodeGroupsClient) GetIamPolicy(ctx context.Context, in *GetIamPolicyNodeGroupRequest, opts ...grpc.CallOption) (*Policy, error) { - out := new(Policy) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.NodeGroups/GetIamPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *nodeGroupsClient) Insert(ctx context.Context, in *InsertNodeGroupRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.NodeGroups/Insert", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *nodeGroupsClient) List(ctx context.Context, in *ListNodeGroupsRequest, opts ...grpc.CallOption) (*NodeGroupList, error) { - out := new(NodeGroupList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.NodeGroups/List", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *nodeGroupsClient) ListNodes(ctx context.Context, in *ListNodesNodeGroupsRequest, opts ...grpc.CallOption) (*NodeGroupsListNodes, error) { - out := new(NodeGroupsListNodes) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.NodeGroups/ListNodes", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *nodeGroupsClient) Patch(ctx context.Context, in *PatchNodeGroupRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.NodeGroups/Patch", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *nodeGroupsClient) PerformMaintenance(ctx context.Context, in *PerformMaintenanceNodeGroupRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.NodeGroups/PerformMaintenance", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *nodeGroupsClient) SetIamPolicy(ctx context.Context, in *SetIamPolicyNodeGroupRequest, opts ...grpc.CallOption) (*Policy, error) { - out := new(Policy) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.NodeGroups/SetIamPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *nodeGroupsClient) SetNodeTemplate(ctx context.Context, in *SetNodeTemplateNodeGroupRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.NodeGroups/SetNodeTemplate", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *nodeGroupsClient) SimulateMaintenanceEvent(ctx context.Context, in *SimulateMaintenanceEventNodeGroupRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.NodeGroups/SimulateMaintenanceEvent", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *nodeGroupsClient) TestIamPermissions(ctx context.Context, in *TestIamPermissionsNodeGroupRequest, opts ...grpc.CallOption) (*TestPermissionsResponse, error) { - out := new(TestPermissionsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.NodeGroups/TestIamPermissions", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// NodeGroupsServer is the server API for NodeGroups service. -type NodeGroupsServer interface { - // Adds specified number of nodes to the node group. - AddNodes(context.Context, *AddNodesNodeGroupRequest) (*Operation, error) - // Retrieves an aggregated list of node groups. Note: use nodeGroups.listNodes for more details about each group. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. - AggregatedList(context.Context, *AggregatedListNodeGroupsRequest) (*NodeGroupAggregatedList, error) - // Deletes the specified NodeGroup resource. - Delete(context.Context, *DeleteNodeGroupRequest) (*Operation, error) - // Deletes specified nodes from the node group. - DeleteNodes(context.Context, *DeleteNodesNodeGroupRequest) (*Operation, error) - // Returns the specified NodeGroup. Get a list of available NodeGroups by making a list() request. Note: the "nodes" field should not be used. Use nodeGroups.listNodes instead. - Get(context.Context, *GetNodeGroupRequest) (*NodeGroup, error) - // Gets the access control policy for a resource. May be empty if no such policy or resource exists. - GetIamPolicy(context.Context, *GetIamPolicyNodeGroupRequest) (*Policy, error) - // Creates a NodeGroup resource in the specified project using the data included in the request. - Insert(context.Context, *InsertNodeGroupRequest) (*Operation, error) - // Retrieves a list of node groups available to the specified project. Note: use nodeGroups.listNodes for more details about each group. - List(context.Context, *ListNodeGroupsRequest) (*NodeGroupList, error) - // Lists nodes in the node group. - ListNodes(context.Context, *ListNodesNodeGroupsRequest) (*NodeGroupsListNodes, error) - // Updates the specified node group. - Patch(context.Context, *PatchNodeGroupRequest) (*Operation, error) - // Perform maintenance on a subset of nodes in the node group. - PerformMaintenance(context.Context, *PerformMaintenanceNodeGroupRequest) (*Operation, error) - // Sets the access control policy on the specified resource. Replaces any existing policy. - SetIamPolicy(context.Context, *SetIamPolicyNodeGroupRequest) (*Policy, error) - // Updates the node template of the node group. - SetNodeTemplate(context.Context, *SetNodeTemplateNodeGroupRequest) (*Operation, error) - // Simulates maintenance event on specified nodes from the node group. - SimulateMaintenanceEvent(context.Context, *SimulateMaintenanceEventNodeGroupRequest) (*Operation, error) - // Returns permissions that a caller has on the specified resource. - TestIamPermissions(context.Context, *TestIamPermissionsNodeGroupRequest) (*TestPermissionsResponse, error) -} - -// UnimplementedNodeGroupsServer can be embedded to have forward compatible implementations. -type UnimplementedNodeGroupsServer struct { -} - -func (*UnimplementedNodeGroupsServer) AddNodes(context.Context, *AddNodesNodeGroupRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method AddNodes not implemented") -} -func (*UnimplementedNodeGroupsServer) AggregatedList(context.Context, *AggregatedListNodeGroupsRequest) (*NodeGroupAggregatedList, error) { - return nil, status.Errorf(codes.Unimplemented, "method AggregatedList not implemented") -} -func (*UnimplementedNodeGroupsServer) Delete(context.Context, *DeleteNodeGroupRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") -} -func (*UnimplementedNodeGroupsServer) DeleteNodes(context.Context, *DeleteNodesNodeGroupRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteNodes not implemented") -} -func (*UnimplementedNodeGroupsServer) Get(context.Context, *GetNodeGroupRequest) (*NodeGroup, error) { - return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") -} -func (*UnimplementedNodeGroupsServer) GetIamPolicy(context.Context, *GetIamPolicyNodeGroupRequest) (*Policy, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetIamPolicy not implemented") -} -func (*UnimplementedNodeGroupsServer) Insert(context.Context, *InsertNodeGroupRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Insert not implemented") -} -func (*UnimplementedNodeGroupsServer) List(context.Context, *ListNodeGroupsRequest) (*NodeGroupList, error) { - return nil, status.Errorf(codes.Unimplemented, "method List not implemented") -} -func (*UnimplementedNodeGroupsServer) ListNodes(context.Context, *ListNodesNodeGroupsRequest) (*NodeGroupsListNodes, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListNodes not implemented") -} -func (*UnimplementedNodeGroupsServer) Patch(context.Context, *PatchNodeGroupRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Patch not implemented") -} -func (*UnimplementedNodeGroupsServer) PerformMaintenance(context.Context, *PerformMaintenanceNodeGroupRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method PerformMaintenance not implemented") -} -func (*UnimplementedNodeGroupsServer) SetIamPolicy(context.Context, *SetIamPolicyNodeGroupRequest) (*Policy, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetIamPolicy not implemented") -} -func (*UnimplementedNodeGroupsServer) SetNodeTemplate(context.Context, *SetNodeTemplateNodeGroupRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetNodeTemplate not implemented") -} -func (*UnimplementedNodeGroupsServer) SimulateMaintenanceEvent(context.Context, *SimulateMaintenanceEventNodeGroupRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SimulateMaintenanceEvent not implemented") -} -func (*UnimplementedNodeGroupsServer) TestIamPermissions(context.Context, *TestIamPermissionsNodeGroupRequest) (*TestPermissionsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method TestIamPermissions not implemented") -} - -func RegisterNodeGroupsServer(s *grpc.Server, srv NodeGroupsServer) { - s.RegisterService(&_NodeGroups_serviceDesc, srv) -} - -func _NodeGroups_AddNodes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AddNodesNodeGroupRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NodeGroupsServer).AddNodes(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.NodeGroups/AddNodes", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NodeGroupsServer).AddNodes(ctx, req.(*AddNodesNodeGroupRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _NodeGroups_AggregatedList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AggregatedListNodeGroupsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NodeGroupsServer).AggregatedList(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.NodeGroups/AggregatedList", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NodeGroupsServer).AggregatedList(ctx, req.(*AggregatedListNodeGroupsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _NodeGroups_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteNodeGroupRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NodeGroupsServer).Delete(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.NodeGroups/Delete", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NodeGroupsServer).Delete(ctx, req.(*DeleteNodeGroupRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _NodeGroups_DeleteNodes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteNodesNodeGroupRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NodeGroupsServer).DeleteNodes(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.NodeGroups/DeleteNodes", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NodeGroupsServer).DeleteNodes(ctx, req.(*DeleteNodesNodeGroupRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _NodeGroups_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetNodeGroupRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NodeGroupsServer).Get(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.NodeGroups/Get", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NodeGroupsServer).Get(ctx, req.(*GetNodeGroupRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _NodeGroups_GetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetIamPolicyNodeGroupRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NodeGroupsServer).GetIamPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.NodeGroups/GetIamPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NodeGroupsServer).GetIamPolicy(ctx, req.(*GetIamPolicyNodeGroupRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _NodeGroups_Insert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(InsertNodeGroupRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NodeGroupsServer).Insert(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.NodeGroups/Insert", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NodeGroupsServer).Insert(ctx, req.(*InsertNodeGroupRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _NodeGroups_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListNodeGroupsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NodeGroupsServer).List(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.NodeGroups/List", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NodeGroupsServer).List(ctx, req.(*ListNodeGroupsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _NodeGroups_ListNodes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListNodesNodeGroupsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NodeGroupsServer).ListNodes(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.NodeGroups/ListNodes", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NodeGroupsServer).ListNodes(ctx, req.(*ListNodesNodeGroupsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _NodeGroups_Patch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PatchNodeGroupRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NodeGroupsServer).Patch(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.NodeGroups/Patch", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NodeGroupsServer).Patch(ctx, req.(*PatchNodeGroupRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _NodeGroups_PerformMaintenance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PerformMaintenanceNodeGroupRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NodeGroupsServer).PerformMaintenance(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.NodeGroups/PerformMaintenance", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NodeGroupsServer).PerformMaintenance(ctx, req.(*PerformMaintenanceNodeGroupRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _NodeGroups_SetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetIamPolicyNodeGroupRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NodeGroupsServer).SetIamPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.NodeGroups/SetIamPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NodeGroupsServer).SetIamPolicy(ctx, req.(*SetIamPolicyNodeGroupRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _NodeGroups_SetNodeTemplate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetNodeTemplateNodeGroupRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NodeGroupsServer).SetNodeTemplate(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.NodeGroups/SetNodeTemplate", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NodeGroupsServer).SetNodeTemplate(ctx, req.(*SetNodeTemplateNodeGroupRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _NodeGroups_SimulateMaintenanceEvent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SimulateMaintenanceEventNodeGroupRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NodeGroupsServer).SimulateMaintenanceEvent(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.NodeGroups/SimulateMaintenanceEvent", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NodeGroupsServer).SimulateMaintenanceEvent(ctx, req.(*SimulateMaintenanceEventNodeGroupRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _NodeGroups_TestIamPermissions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(TestIamPermissionsNodeGroupRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NodeGroupsServer).TestIamPermissions(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.NodeGroups/TestIamPermissions", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NodeGroupsServer).TestIamPermissions(ctx, req.(*TestIamPermissionsNodeGroupRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _NodeGroups_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.NodeGroups", - HandlerType: (*NodeGroupsServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "AddNodes", - Handler: _NodeGroups_AddNodes_Handler, - }, - { - MethodName: "AggregatedList", - Handler: _NodeGroups_AggregatedList_Handler, - }, - { - MethodName: "Delete", - Handler: _NodeGroups_Delete_Handler, - }, - { - MethodName: "DeleteNodes", - Handler: _NodeGroups_DeleteNodes_Handler, - }, - { - MethodName: "Get", - Handler: _NodeGroups_Get_Handler, - }, - { - MethodName: "GetIamPolicy", - Handler: _NodeGroups_GetIamPolicy_Handler, - }, - { - MethodName: "Insert", - Handler: _NodeGroups_Insert_Handler, - }, - { - MethodName: "List", - Handler: _NodeGroups_List_Handler, - }, - { - MethodName: "ListNodes", - Handler: _NodeGroups_ListNodes_Handler, - }, - { - MethodName: "Patch", - Handler: _NodeGroups_Patch_Handler, - }, - { - MethodName: "PerformMaintenance", - Handler: _NodeGroups_PerformMaintenance_Handler, - }, - { - MethodName: "SetIamPolicy", - Handler: _NodeGroups_SetIamPolicy_Handler, - }, - { - MethodName: "SetNodeTemplate", - Handler: _NodeGroups_SetNodeTemplate_Handler, - }, - { - MethodName: "SimulateMaintenanceEvent", - Handler: _NodeGroups_SimulateMaintenanceEvent_Handler, - }, - { - MethodName: "TestIamPermissions", - Handler: _NodeGroups_TestIamPermissions_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} - -// NodeTemplatesClient is the client API for NodeTemplates service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type NodeTemplatesClient interface { - // Retrieves an aggregated list of node templates. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. - AggregatedList(ctx context.Context, in *AggregatedListNodeTemplatesRequest, opts ...grpc.CallOption) (*NodeTemplateAggregatedList, error) - // Deletes the specified NodeTemplate resource. - Delete(ctx context.Context, in *DeleteNodeTemplateRequest, opts ...grpc.CallOption) (*Operation, error) - // Returns the specified node template. - Get(ctx context.Context, in *GetNodeTemplateRequest, opts ...grpc.CallOption) (*NodeTemplate, error) - // Gets the access control policy for a resource. May be empty if no such policy or resource exists. - GetIamPolicy(ctx context.Context, in *GetIamPolicyNodeTemplateRequest, opts ...grpc.CallOption) (*Policy, error) - // Creates a NodeTemplate resource in the specified project using the data included in the request. - Insert(ctx context.Context, in *InsertNodeTemplateRequest, opts ...grpc.CallOption) (*Operation, error) - // Retrieves a list of node templates available to the specified project. - List(ctx context.Context, in *ListNodeTemplatesRequest, opts ...grpc.CallOption) (*NodeTemplateList, error) - // Sets the access control policy on the specified resource. Replaces any existing policy. - SetIamPolicy(ctx context.Context, in *SetIamPolicyNodeTemplateRequest, opts ...grpc.CallOption) (*Policy, error) - // Returns permissions that a caller has on the specified resource. - TestIamPermissions(ctx context.Context, in *TestIamPermissionsNodeTemplateRequest, opts ...grpc.CallOption) (*TestPermissionsResponse, error) -} - -type nodeTemplatesClient struct { - cc grpc.ClientConnInterface -} - -func NewNodeTemplatesClient(cc grpc.ClientConnInterface) NodeTemplatesClient { - return &nodeTemplatesClient{cc} -} - -func (c *nodeTemplatesClient) AggregatedList(ctx context.Context, in *AggregatedListNodeTemplatesRequest, opts ...grpc.CallOption) (*NodeTemplateAggregatedList, error) { - out := new(NodeTemplateAggregatedList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.NodeTemplates/AggregatedList", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *nodeTemplatesClient) Delete(ctx context.Context, in *DeleteNodeTemplateRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.NodeTemplates/Delete", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *nodeTemplatesClient) Get(ctx context.Context, in *GetNodeTemplateRequest, opts ...grpc.CallOption) (*NodeTemplate, error) { - out := new(NodeTemplate) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.NodeTemplates/Get", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *nodeTemplatesClient) GetIamPolicy(ctx context.Context, in *GetIamPolicyNodeTemplateRequest, opts ...grpc.CallOption) (*Policy, error) { - out := new(Policy) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.NodeTemplates/GetIamPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *nodeTemplatesClient) Insert(ctx context.Context, in *InsertNodeTemplateRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.NodeTemplates/Insert", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *nodeTemplatesClient) List(ctx context.Context, in *ListNodeTemplatesRequest, opts ...grpc.CallOption) (*NodeTemplateList, error) { - out := new(NodeTemplateList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.NodeTemplates/List", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *nodeTemplatesClient) SetIamPolicy(ctx context.Context, in *SetIamPolicyNodeTemplateRequest, opts ...grpc.CallOption) (*Policy, error) { - out := new(Policy) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.NodeTemplates/SetIamPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *nodeTemplatesClient) TestIamPermissions(ctx context.Context, in *TestIamPermissionsNodeTemplateRequest, opts ...grpc.CallOption) (*TestPermissionsResponse, error) { - out := new(TestPermissionsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.NodeTemplates/TestIamPermissions", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// NodeTemplatesServer is the server API for NodeTemplates service. -type NodeTemplatesServer interface { - // Retrieves an aggregated list of node templates. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. - AggregatedList(context.Context, *AggregatedListNodeTemplatesRequest) (*NodeTemplateAggregatedList, error) - // Deletes the specified NodeTemplate resource. - Delete(context.Context, *DeleteNodeTemplateRequest) (*Operation, error) - // Returns the specified node template. - Get(context.Context, *GetNodeTemplateRequest) (*NodeTemplate, error) - // Gets the access control policy for a resource. May be empty if no such policy or resource exists. - GetIamPolicy(context.Context, *GetIamPolicyNodeTemplateRequest) (*Policy, error) - // Creates a NodeTemplate resource in the specified project using the data included in the request. - Insert(context.Context, *InsertNodeTemplateRequest) (*Operation, error) - // Retrieves a list of node templates available to the specified project. - List(context.Context, *ListNodeTemplatesRequest) (*NodeTemplateList, error) - // Sets the access control policy on the specified resource. Replaces any existing policy. - SetIamPolicy(context.Context, *SetIamPolicyNodeTemplateRequest) (*Policy, error) - // Returns permissions that a caller has on the specified resource. - TestIamPermissions(context.Context, *TestIamPermissionsNodeTemplateRequest) (*TestPermissionsResponse, error) -} - -// UnimplementedNodeTemplatesServer can be embedded to have forward compatible implementations. -type UnimplementedNodeTemplatesServer struct { -} - -func (*UnimplementedNodeTemplatesServer) AggregatedList(context.Context, *AggregatedListNodeTemplatesRequest) (*NodeTemplateAggregatedList, error) { - return nil, status.Errorf(codes.Unimplemented, "method AggregatedList not implemented") -} -func (*UnimplementedNodeTemplatesServer) Delete(context.Context, *DeleteNodeTemplateRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") -} -func (*UnimplementedNodeTemplatesServer) Get(context.Context, *GetNodeTemplateRequest) (*NodeTemplate, error) { - return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") -} -func (*UnimplementedNodeTemplatesServer) GetIamPolicy(context.Context, *GetIamPolicyNodeTemplateRequest) (*Policy, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetIamPolicy not implemented") -} -func (*UnimplementedNodeTemplatesServer) Insert(context.Context, *InsertNodeTemplateRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Insert not implemented") -} -func (*UnimplementedNodeTemplatesServer) List(context.Context, *ListNodeTemplatesRequest) (*NodeTemplateList, error) { - return nil, status.Errorf(codes.Unimplemented, "method List not implemented") -} -func (*UnimplementedNodeTemplatesServer) SetIamPolicy(context.Context, *SetIamPolicyNodeTemplateRequest) (*Policy, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetIamPolicy not implemented") -} -func (*UnimplementedNodeTemplatesServer) TestIamPermissions(context.Context, *TestIamPermissionsNodeTemplateRequest) (*TestPermissionsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method TestIamPermissions not implemented") -} - -func RegisterNodeTemplatesServer(s *grpc.Server, srv NodeTemplatesServer) { - s.RegisterService(&_NodeTemplates_serviceDesc, srv) -} - -func _NodeTemplates_AggregatedList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AggregatedListNodeTemplatesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NodeTemplatesServer).AggregatedList(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.NodeTemplates/AggregatedList", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NodeTemplatesServer).AggregatedList(ctx, req.(*AggregatedListNodeTemplatesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _NodeTemplates_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteNodeTemplateRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NodeTemplatesServer).Delete(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.NodeTemplates/Delete", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NodeTemplatesServer).Delete(ctx, req.(*DeleteNodeTemplateRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _NodeTemplates_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetNodeTemplateRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NodeTemplatesServer).Get(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.NodeTemplates/Get", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NodeTemplatesServer).Get(ctx, req.(*GetNodeTemplateRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _NodeTemplates_GetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetIamPolicyNodeTemplateRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NodeTemplatesServer).GetIamPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.NodeTemplates/GetIamPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NodeTemplatesServer).GetIamPolicy(ctx, req.(*GetIamPolicyNodeTemplateRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _NodeTemplates_Insert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(InsertNodeTemplateRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NodeTemplatesServer).Insert(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.NodeTemplates/Insert", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NodeTemplatesServer).Insert(ctx, req.(*InsertNodeTemplateRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _NodeTemplates_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListNodeTemplatesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NodeTemplatesServer).List(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.NodeTemplates/List", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NodeTemplatesServer).List(ctx, req.(*ListNodeTemplatesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _NodeTemplates_SetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetIamPolicyNodeTemplateRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NodeTemplatesServer).SetIamPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.NodeTemplates/SetIamPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NodeTemplatesServer).SetIamPolicy(ctx, req.(*SetIamPolicyNodeTemplateRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _NodeTemplates_TestIamPermissions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(TestIamPermissionsNodeTemplateRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NodeTemplatesServer).TestIamPermissions(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.NodeTemplates/TestIamPermissions", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NodeTemplatesServer).TestIamPermissions(ctx, req.(*TestIamPermissionsNodeTemplateRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _NodeTemplates_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.NodeTemplates", - HandlerType: (*NodeTemplatesServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "AggregatedList", - Handler: _NodeTemplates_AggregatedList_Handler, - }, - { - MethodName: "Delete", - Handler: _NodeTemplates_Delete_Handler, - }, - { - MethodName: "Get", - Handler: _NodeTemplates_Get_Handler, - }, - { - MethodName: "GetIamPolicy", - Handler: _NodeTemplates_GetIamPolicy_Handler, - }, - { - MethodName: "Insert", - Handler: _NodeTemplates_Insert_Handler, - }, - { - MethodName: "List", - Handler: _NodeTemplates_List_Handler, - }, - { - MethodName: "SetIamPolicy", - Handler: _NodeTemplates_SetIamPolicy_Handler, - }, - { - MethodName: "TestIamPermissions", - Handler: _NodeTemplates_TestIamPermissions_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} - -// NodeTypesClient is the client API for NodeTypes service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type NodeTypesClient interface { - // Retrieves an aggregated list of node types. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. - AggregatedList(ctx context.Context, in *AggregatedListNodeTypesRequest, opts ...grpc.CallOption) (*NodeTypeAggregatedList, error) - // Returns the specified node type. - Get(ctx context.Context, in *GetNodeTypeRequest, opts ...grpc.CallOption) (*NodeType, error) - // Retrieves a list of node types available to the specified project. - List(ctx context.Context, in *ListNodeTypesRequest, opts ...grpc.CallOption) (*NodeTypeList, error) -} - -type nodeTypesClient struct { - cc grpc.ClientConnInterface -} - -func NewNodeTypesClient(cc grpc.ClientConnInterface) NodeTypesClient { - return &nodeTypesClient{cc} -} - -func (c *nodeTypesClient) AggregatedList(ctx context.Context, in *AggregatedListNodeTypesRequest, opts ...grpc.CallOption) (*NodeTypeAggregatedList, error) { - out := new(NodeTypeAggregatedList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.NodeTypes/AggregatedList", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *nodeTypesClient) Get(ctx context.Context, in *GetNodeTypeRequest, opts ...grpc.CallOption) (*NodeType, error) { - out := new(NodeType) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.NodeTypes/Get", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *nodeTypesClient) List(ctx context.Context, in *ListNodeTypesRequest, opts ...grpc.CallOption) (*NodeTypeList, error) { - out := new(NodeTypeList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.NodeTypes/List", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// NodeTypesServer is the server API for NodeTypes service. -type NodeTypesServer interface { - // Retrieves an aggregated list of node types. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. - AggregatedList(context.Context, *AggregatedListNodeTypesRequest) (*NodeTypeAggregatedList, error) - // Returns the specified node type. - Get(context.Context, *GetNodeTypeRequest) (*NodeType, error) - // Retrieves a list of node types available to the specified project. - List(context.Context, *ListNodeTypesRequest) (*NodeTypeList, error) -} - -// UnimplementedNodeTypesServer can be embedded to have forward compatible implementations. -type UnimplementedNodeTypesServer struct { -} - -func (*UnimplementedNodeTypesServer) AggregatedList(context.Context, *AggregatedListNodeTypesRequest) (*NodeTypeAggregatedList, error) { - return nil, status.Errorf(codes.Unimplemented, "method AggregatedList not implemented") -} -func (*UnimplementedNodeTypesServer) Get(context.Context, *GetNodeTypeRequest) (*NodeType, error) { - return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") -} -func (*UnimplementedNodeTypesServer) List(context.Context, *ListNodeTypesRequest) (*NodeTypeList, error) { - return nil, status.Errorf(codes.Unimplemented, "method List not implemented") -} - -func RegisterNodeTypesServer(s *grpc.Server, srv NodeTypesServer) { - s.RegisterService(&_NodeTypes_serviceDesc, srv) -} - -func _NodeTypes_AggregatedList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AggregatedListNodeTypesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NodeTypesServer).AggregatedList(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.NodeTypes/AggregatedList", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NodeTypesServer).AggregatedList(ctx, req.(*AggregatedListNodeTypesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _NodeTypes_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetNodeTypeRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NodeTypesServer).Get(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.NodeTypes/Get", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NodeTypesServer).Get(ctx, req.(*GetNodeTypeRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _NodeTypes_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListNodeTypesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NodeTypesServer).List(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.NodeTypes/List", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NodeTypesServer).List(ctx, req.(*ListNodeTypesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _NodeTypes_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.NodeTypes", - HandlerType: (*NodeTypesServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "AggregatedList", - Handler: _NodeTypes_AggregatedList_Handler, - }, - { - MethodName: "Get", - Handler: _NodeTypes_Get_Handler, - }, - { - MethodName: "List", - Handler: _NodeTypes_List_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} - -// PacketMirroringsClient is the client API for PacketMirrorings service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type PacketMirroringsClient interface { - // Retrieves an aggregated list of packetMirrorings. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. - AggregatedList(ctx context.Context, in *AggregatedListPacketMirroringsRequest, opts ...grpc.CallOption) (*PacketMirroringAggregatedList, error) - // Deletes the specified PacketMirroring resource. - Delete(ctx context.Context, in *DeletePacketMirroringRequest, opts ...grpc.CallOption) (*Operation, error) - // Returns the specified PacketMirroring resource. - Get(ctx context.Context, in *GetPacketMirroringRequest, opts ...grpc.CallOption) (*PacketMirroring, error) - // Creates a PacketMirroring resource in the specified project and region using the data included in the request. - Insert(ctx context.Context, in *InsertPacketMirroringRequest, opts ...grpc.CallOption) (*Operation, error) - // Retrieves a list of PacketMirroring resources available to the specified project and region. - List(ctx context.Context, in *ListPacketMirroringsRequest, opts ...grpc.CallOption) (*PacketMirroringList, error) - // Patches the specified PacketMirroring resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules. - Patch(ctx context.Context, in *PatchPacketMirroringRequest, opts ...grpc.CallOption) (*Operation, error) - // Returns permissions that a caller has on the specified resource. - TestIamPermissions(ctx context.Context, in *TestIamPermissionsPacketMirroringRequest, opts ...grpc.CallOption) (*TestPermissionsResponse, error) -} - -type packetMirroringsClient struct { - cc grpc.ClientConnInterface -} - -func NewPacketMirroringsClient(cc grpc.ClientConnInterface) PacketMirroringsClient { - return &packetMirroringsClient{cc} -} - -func (c *packetMirroringsClient) AggregatedList(ctx context.Context, in *AggregatedListPacketMirroringsRequest, opts ...grpc.CallOption) (*PacketMirroringAggregatedList, error) { - out := new(PacketMirroringAggregatedList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.PacketMirrorings/AggregatedList", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *packetMirroringsClient) Delete(ctx context.Context, in *DeletePacketMirroringRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.PacketMirrorings/Delete", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *packetMirroringsClient) Get(ctx context.Context, in *GetPacketMirroringRequest, opts ...grpc.CallOption) (*PacketMirroring, error) { - out := new(PacketMirroring) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.PacketMirrorings/Get", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *packetMirroringsClient) Insert(ctx context.Context, in *InsertPacketMirroringRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.PacketMirrorings/Insert", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *packetMirroringsClient) List(ctx context.Context, in *ListPacketMirroringsRequest, opts ...grpc.CallOption) (*PacketMirroringList, error) { - out := new(PacketMirroringList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.PacketMirrorings/List", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *packetMirroringsClient) Patch(ctx context.Context, in *PatchPacketMirroringRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.PacketMirrorings/Patch", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *packetMirroringsClient) TestIamPermissions(ctx context.Context, in *TestIamPermissionsPacketMirroringRequest, opts ...grpc.CallOption) (*TestPermissionsResponse, error) { - out := new(TestPermissionsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.PacketMirrorings/TestIamPermissions", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// PacketMirroringsServer is the server API for PacketMirrorings service. -type PacketMirroringsServer interface { - // Retrieves an aggregated list of packetMirrorings. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. - AggregatedList(context.Context, *AggregatedListPacketMirroringsRequest) (*PacketMirroringAggregatedList, error) - // Deletes the specified PacketMirroring resource. - Delete(context.Context, *DeletePacketMirroringRequest) (*Operation, error) - // Returns the specified PacketMirroring resource. - Get(context.Context, *GetPacketMirroringRequest) (*PacketMirroring, error) - // Creates a PacketMirroring resource in the specified project and region using the data included in the request. - Insert(context.Context, *InsertPacketMirroringRequest) (*Operation, error) - // Retrieves a list of PacketMirroring resources available to the specified project and region. - List(context.Context, *ListPacketMirroringsRequest) (*PacketMirroringList, error) - // Patches the specified PacketMirroring resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules. - Patch(context.Context, *PatchPacketMirroringRequest) (*Operation, error) - // Returns permissions that a caller has on the specified resource. - TestIamPermissions(context.Context, *TestIamPermissionsPacketMirroringRequest) (*TestPermissionsResponse, error) -} - -// UnimplementedPacketMirroringsServer can be embedded to have forward compatible implementations. -type UnimplementedPacketMirroringsServer struct { -} - -func (*UnimplementedPacketMirroringsServer) AggregatedList(context.Context, *AggregatedListPacketMirroringsRequest) (*PacketMirroringAggregatedList, error) { - return nil, status.Errorf(codes.Unimplemented, "method AggregatedList not implemented") -} -func (*UnimplementedPacketMirroringsServer) Delete(context.Context, *DeletePacketMirroringRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") -} -func (*UnimplementedPacketMirroringsServer) Get(context.Context, *GetPacketMirroringRequest) (*PacketMirroring, error) { - return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") -} -func (*UnimplementedPacketMirroringsServer) Insert(context.Context, *InsertPacketMirroringRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Insert not implemented") -} -func (*UnimplementedPacketMirroringsServer) List(context.Context, *ListPacketMirroringsRequest) (*PacketMirroringList, error) { - return nil, status.Errorf(codes.Unimplemented, "method List not implemented") -} -func (*UnimplementedPacketMirroringsServer) Patch(context.Context, *PatchPacketMirroringRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Patch not implemented") -} -func (*UnimplementedPacketMirroringsServer) TestIamPermissions(context.Context, *TestIamPermissionsPacketMirroringRequest) (*TestPermissionsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method TestIamPermissions not implemented") -} - -func RegisterPacketMirroringsServer(s *grpc.Server, srv PacketMirroringsServer) { - s.RegisterService(&_PacketMirrorings_serviceDesc, srv) -} - -func _PacketMirrorings_AggregatedList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AggregatedListPacketMirroringsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(PacketMirroringsServer).AggregatedList(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.PacketMirrorings/AggregatedList", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(PacketMirroringsServer).AggregatedList(ctx, req.(*AggregatedListPacketMirroringsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _PacketMirrorings_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeletePacketMirroringRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(PacketMirroringsServer).Delete(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.PacketMirrorings/Delete", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(PacketMirroringsServer).Delete(ctx, req.(*DeletePacketMirroringRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _PacketMirrorings_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetPacketMirroringRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(PacketMirroringsServer).Get(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.PacketMirrorings/Get", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(PacketMirroringsServer).Get(ctx, req.(*GetPacketMirroringRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _PacketMirrorings_Insert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(InsertPacketMirroringRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(PacketMirroringsServer).Insert(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.PacketMirrorings/Insert", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(PacketMirroringsServer).Insert(ctx, req.(*InsertPacketMirroringRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _PacketMirrorings_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListPacketMirroringsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(PacketMirroringsServer).List(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.PacketMirrorings/List", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(PacketMirroringsServer).List(ctx, req.(*ListPacketMirroringsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _PacketMirrorings_Patch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PatchPacketMirroringRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(PacketMirroringsServer).Patch(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.PacketMirrorings/Patch", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(PacketMirroringsServer).Patch(ctx, req.(*PatchPacketMirroringRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _PacketMirrorings_TestIamPermissions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(TestIamPermissionsPacketMirroringRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(PacketMirroringsServer).TestIamPermissions(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.PacketMirrorings/TestIamPermissions", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(PacketMirroringsServer).TestIamPermissions(ctx, req.(*TestIamPermissionsPacketMirroringRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _PacketMirrorings_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.PacketMirrorings", - HandlerType: (*PacketMirroringsServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "AggregatedList", - Handler: _PacketMirrorings_AggregatedList_Handler, - }, - { - MethodName: "Delete", - Handler: _PacketMirrorings_Delete_Handler, - }, - { - MethodName: "Get", - Handler: _PacketMirrorings_Get_Handler, - }, - { - MethodName: "Insert", - Handler: _PacketMirrorings_Insert_Handler, - }, - { - MethodName: "List", - Handler: _PacketMirrorings_List_Handler, - }, - { - MethodName: "Patch", - Handler: _PacketMirrorings_Patch_Handler, - }, - { - MethodName: "TestIamPermissions", - Handler: _PacketMirrorings_TestIamPermissions_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} - -// ProjectsClient is the client API for Projects service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type ProjectsClient interface { - // Disable this project as a shared VPC host project. - DisableXpnHost(ctx context.Context, in *DisableXpnHostProjectRequest, opts ...grpc.CallOption) (*Operation, error) - // Disable a service resource (also known as service project) associated with this host project. - DisableXpnResource(ctx context.Context, in *DisableXpnResourceProjectRequest, opts ...grpc.CallOption) (*Operation, error) - // Enable this project as a shared VPC host project. - EnableXpnHost(ctx context.Context, in *EnableXpnHostProjectRequest, opts ...grpc.CallOption) (*Operation, error) - // Enable service resource (a.k.a service project) for a host project, so that subnets in the host project can be used by instances in the service project. - EnableXpnResource(ctx context.Context, in *EnableXpnResourceProjectRequest, opts ...grpc.CallOption) (*Operation, error) - // Returns the specified Project resource. To decrease latency for this method, you can optionally omit any unneeded information from the response by using a field mask. This practice is especially recommended for unused quota information (the `quotas` field). To exclude one or more fields, set your request's `fields` query parameter to only include the fields you need. For example, to only include the `id` and `selfLink` fields, add the query parameter `?fields=id,selfLink` to your request. - Get(ctx context.Context, in *GetProjectRequest, opts ...grpc.CallOption) (*Project, error) - // Gets the shared VPC host project that this project links to. May be empty if no link exists. - GetXpnHost(ctx context.Context, in *GetXpnHostProjectRequest, opts ...grpc.CallOption) (*Project, error) - // Gets service resources (a.k.a service project) associated with this host project. - GetXpnResources(ctx context.Context, in *GetXpnResourcesProjectsRequest, opts ...grpc.CallOption) (*ProjectsGetXpnResources, error) - // Lists all shared VPC host projects visible to the user in an organization. - ListXpnHosts(ctx context.Context, in *ListXpnHostsProjectsRequest, opts ...grpc.CallOption) (*XpnHostList, error) - // Moves a persistent disk from one zone to another. - MoveDisk(ctx context.Context, in *MoveDiskProjectRequest, opts ...grpc.CallOption) (*Operation, error) - // Moves an instance and its attached persistent disks from one zone to another. *Note*: Moving VMs or disks by using this method might cause unexpected behavior. For more information, see the [known issue](/compute/docs/troubleshooting/known-issues#moving_vms_or_disks_using_the_moveinstance_api_or_the_causes_unexpected_behavior). [Deprecated] This method is deprecated. See [moving instance across zones](/compute/docs/instances/moving-instance-across-zones) instead. - MoveInstance(ctx context.Context, in *MoveInstanceProjectRequest, opts ...grpc.CallOption) (*Operation, error) - // Sets the Cloud Armor tier of the project. To set ENTERPRISE or above the billing account of the project must be subscribed to Cloud Armor Enterprise. See Subscribing to Cloud Armor Enterprise for more information. - SetCloudArmorTier(ctx context.Context, in *SetCloudArmorTierProjectRequest, opts ...grpc.CallOption) (*Operation, error) - // Sets metadata common to all instances within the specified project using the data included in the request. - SetCommonInstanceMetadata(ctx context.Context, in *SetCommonInstanceMetadataProjectRequest, opts ...grpc.CallOption) (*Operation, error) - // Sets the default network tier of the project. The default network tier is used when an address/forwardingRule/instance is created without specifying the network tier field. - SetDefaultNetworkTier(ctx context.Context, in *SetDefaultNetworkTierProjectRequest, opts ...grpc.CallOption) (*Operation, error) - // Enables the usage export feature and sets the usage export bucket where reports are stored. If you provide an empty request body using this method, the usage export feature will be disabled. - SetUsageExportBucket(ctx context.Context, in *SetUsageExportBucketProjectRequest, opts ...grpc.CallOption) (*Operation, error) -} - -type projectsClient struct { - cc grpc.ClientConnInterface -} - -func NewProjectsClient(cc grpc.ClientConnInterface) ProjectsClient { - return &projectsClient{cc} -} - -func (c *projectsClient) DisableXpnHost(ctx context.Context, in *DisableXpnHostProjectRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Projects/DisableXpnHost", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *projectsClient) DisableXpnResource(ctx context.Context, in *DisableXpnResourceProjectRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Projects/DisableXpnResource", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *projectsClient) EnableXpnHost(ctx context.Context, in *EnableXpnHostProjectRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Projects/EnableXpnHost", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *projectsClient) EnableXpnResource(ctx context.Context, in *EnableXpnResourceProjectRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Projects/EnableXpnResource", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *projectsClient) Get(ctx context.Context, in *GetProjectRequest, opts ...grpc.CallOption) (*Project, error) { - out := new(Project) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Projects/Get", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *projectsClient) GetXpnHost(ctx context.Context, in *GetXpnHostProjectRequest, opts ...grpc.CallOption) (*Project, error) { - out := new(Project) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Projects/GetXpnHost", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *projectsClient) GetXpnResources(ctx context.Context, in *GetXpnResourcesProjectsRequest, opts ...grpc.CallOption) (*ProjectsGetXpnResources, error) { - out := new(ProjectsGetXpnResources) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Projects/GetXpnResources", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *projectsClient) ListXpnHosts(ctx context.Context, in *ListXpnHostsProjectsRequest, opts ...grpc.CallOption) (*XpnHostList, error) { - out := new(XpnHostList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Projects/ListXpnHosts", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *projectsClient) MoveDisk(ctx context.Context, in *MoveDiskProjectRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Projects/MoveDisk", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *projectsClient) MoveInstance(ctx context.Context, in *MoveInstanceProjectRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Projects/MoveInstance", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *projectsClient) SetCloudArmorTier(ctx context.Context, in *SetCloudArmorTierProjectRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Projects/SetCloudArmorTier", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *projectsClient) SetCommonInstanceMetadata(ctx context.Context, in *SetCommonInstanceMetadataProjectRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Projects/SetCommonInstanceMetadata", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *projectsClient) SetDefaultNetworkTier(ctx context.Context, in *SetDefaultNetworkTierProjectRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Projects/SetDefaultNetworkTier", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *projectsClient) SetUsageExportBucket(ctx context.Context, in *SetUsageExportBucketProjectRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Projects/SetUsageExportBucket", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// ProjectsServer is the server API for Projects service. -type ProjectsServer interface { - // Disable this project as a shared VPC host project. - DisableXpnHost(context.Context, *DisableXpnHostProjectRequest) (*Operation, error) - // Disable a service resource (also known as service project) associated with this host project. - DisableXpnResource(context.Context, *DisableXpnResourceProjectRequest) (*Operation, error) - // Enable this project as a shared VPC host project. - EnableXpnHost(context.Context, *EnableXpnHostProjectRequest) (*Operation, error) - // Enable service resource (a.k.a service project) for a host project, so that subnets in the host project can be used by instances in the service project. - EnableXpnResource(context.Context, *EnableXpnResourceProjectRequest) (*Operation, error) - // Returns the specified Project resource. To decrease latency for this method, you can optionally omit any unneeded information from the response by using a field mask. This practice is especially recommended for unused quota information (the `quotas` field). To exclude one or more fields, set your request's `fields` query parameter to only include the fields you need. For example, to only include the `id` and `selfLink` fields, add the query parameter `?fields=id,selfLink` to your request. - Get(context.Context, *GetProjectRequest) (*Project, error) - // Gets the shared VPC host project that this project links to. May be empty if no link exists. - GetXpnHost(context.Context, *GetXpnHostProjectRequest) (*Project, error) - // Gets service resources (a.k.a service project) associated with this host project. - GetXpnResources(context.Context, *GetXpnResourcesProjectsRequest) (*ProjectsGetXpnResources, error) - // Lists all shared VPC host projects visible to the user in an organization. - ListXpnHosts(context.Context, *ListXpnHostsProjectsRequest) (*XpnHostList, error) - // Moves a persistent disk from one zone to another. - MoveDisk(context.Context, *MoveDiskProjectRequest) (*Operation, error) - // Moves an instance and its attached persistent disks from one zone to another. *Note*: Moving VMs or disks by using this method might cause unexpected behavior. For more information, see the [known issue](/compute/docs/troubleshooting/known-issues#moving_vms_or_disks_using_the_moveinstance_api_or_the_causes_unexpected_behavior). [Deprecated] This method is deprecated. See [moving instance across zones](/compute/docs/instances/moving-instance-across-zones) instead. - MoveInstance(context.Context, *MoveInstanceProjectRequest) (*Operation, error) - // Sets the Cloud Armor tier of the project. To set ENTERPRISE or above the billing account of the project must be subscribed to Cloud Armor Enterprise. See Subscribing to Cloud Armor Enterprise for more information. - SetCloudArmorTier(context.Context, *SetCloudArmorTierProjectRequest) (*Operation, error) - // Sets metadata common to all instances within the specified project using the data included in the request. - SetCommonInstanceMetadata(context.Context, *SetCommonInstanceMetadataProjectRequest) (*Operation, error) - // Sets the default network tier of the project. The default network tier is used when an address/forwardingRule/instance is created without specifying the network tier field. - SetDefaultNetworkTier(context.Context, *SetDefaultNetworkTierProjectRequest) (*Operation, error) - // Enables the usage export feature and sets the usage export bucket where reports are stored. If you provide an empty request body using this method, the usage export feature will be disabled. - SetUsageExportBucket(context.Context, *SetUsageExportBucketProjectRequest) (*Operation, error) -} - -// UnimplementedProjectsServer can be embedded to have forward compatible implementations. -type UnimplementedProjectsServer struct { -} - -func (*UnimplementedProjectsServer) DisableXpnHost(context.Context, *DisableXpnHostProjectRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method DisableXpnHost not implemented") -} -func (*UnimplementedProjectsServer) DisableXpnResource(context.Context, *DisableXpnResourceProjectRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method DisableXpnResource not implemented") -} -func (*UnimplementedProjectsServer) EnableXpnHost(context.Context, *EnableXpnHostProjectRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method EnableXpnHost not implemented") -} -func (*UnimplementedProjectsServer) EnableXpnResource(context.Context, *EnableXpnResourceProjectRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method EnableXpnResource not implemented") -} -func (*UnimplementedProjectsServer) Get(context.Context, *GetProjectRequest) (*Project, error) { - return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") -} -func (*UnimplementedProjectsServer) GetXpnHost(context.Context, *GetXpnHostProjectRequest) (*Project, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetXpnHost not implemented") -} -func (*UnimplementedProjectsServer) GetXpnResources(context.Context, *GetXpnResourcesProjectsRequest) (*ProjectsGetXpnResources, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetXpnResources not implemented") -} -func (*UnimplementedProjectsServer) ListXpnHosts(context.Context, *ListXpnHostsProjectsRequest) (*XpnHostList, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListXpnHosts not implemented") -} -func (*UnimplementedProjectsServer) MoveDisk(context.Context, *MoveDiskProjectRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method MoveDisk not implemented") -} -func (*UnimplementedProjectsServer) MoveInstance(context.Context, *MoveInstanceProjectRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method MoveInstance not implemented") -} -func (*UnimplementedProjectsServer) SetCloudArmorTier(context.Context, *SetCloudArmorTierProjectRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetCloudArmorTier not implemented") -} -func (*UnimplementedProjectsServer) SetCommonInstanceMetadata(context.Context, *SetCommonInstanceMetadataProjectRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetCommonInstanceMetadata not implemented") -} -func (*UnimplementedProjectsServer) SetDefaultNetworkTier(context.Context, *SetDefaultNetworkTierProjectRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetDefaultNetworkTier not implemented") -} -func (*UnimplementedProjectsServer) SetUsageExportBucket(context.Context, *SetUsageExportBucketProjectRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetUsageExportBucket not implemented") -} - -func RegisterProjectsServer(s *grpc.Server, srv ProjectsServer) { - s.RegisterService(&_Projects_serviceDesc, srv) -} - -func _Projects_DisableXpnHost_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DisableXpnHostProjectRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ProjectsServer).DisableXpnHost(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Projects/DisableXpnHost", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ProjectsServer).DisableXpnHost(ctx, req.(*DisableXpnHostProjectRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Projects_DisableXpnResource_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DisableXpnResourceProjectRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ProjectsServer).DisableXpnResource(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Projects/DisableXpnResource", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ProjectsServer).DisableXpnResource(ctx, req.(*DisableXpnResourceProjectRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Projects_EnableXpnHost_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(EnableXpnHostProjectRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ProjectsServer).EnableXpnHost(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Projects/EnableXpnHost", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ProjectsServer).EnableXpnHost(ctx, req.(*EnableXpnHostProjectRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Projects_EnableXpnResource_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(EnableXpnResourceProjectRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ProjectsServer).EnableXpnResource(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Projects/EnableXpnResource", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ProjectsServer).EnableXpnResource(ctx, req.(*EnableXpnResourceProjectRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Projects_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetProjectRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ProjectsServer).Get(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Projects/Get", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ProjectsServer).Get(ctx, req.(*GetProjectRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Projects_GetXpnHost_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetXpnHostProjectRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ProjectsServer).GetXpnHost(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Projects/GetXpnHost", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ProjectsServer).GetXpnHost(ctx, req.(*GetXpnHostProjectRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Projects_GetXpnResources_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetXpnResourcesProjectsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ProjectsServer).GetXpnResources(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Projects/GetXpnResources", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ProjectsServer).GetXpnResources(ctx, req.(*GetXpnResourcesProjectsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Projects_ListXpnHosts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListXpnHostsProjectsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ProjectsServer).ListXpnHosts(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Projects/ListXpnHosts", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ProjectsServer).ListXpnHosts(ctx, req.(*ListXpnHostsProjectsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Projects_MoveDisk_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MoveDiskProjectRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ProjectsServer).MoveDisk(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Projects/MoveDisk", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ProjectsServer).MoveDisk(ctx, req.(*MoveDiskProjectRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Projects_MoveInstance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MoveInstanceProjectRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ProjectsServer).MoveInstance(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Projects/MoveInstance", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ProjectsServer).MoveInstance(ctx, req.(*MoveInstanceProjectRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Projects_SetCloudArmorTier_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetCloudArmorTierProjectRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ProjectsServer).SetCloudArmorTier(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Projects/SetCloudArmorTier", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ProjectsServer).SetCloudArmorTier(ctx, req.(*SetCloudArmorTierProjectRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Projects_SetCommonInstanceMetadata_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetCommonInstanceMetadataProjectRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ProjectsServer).SetCommonInstanceMetadata(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Projects/SetCommonInstanceMetadata", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ProjectsServer).SetCommonInstanceMetadata(ctx, req.(*SetCommonInstanceMetadataProjectRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Projects_SetDefaultNetworkTier_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetDefaultNetworkTierProjectRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ProjectsServer).SetDefaultNetworkTier(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Projects/SetDefaultNetworkTier", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ProjectsServer).SetDefaultNetworkTier(ctx, req.(*SetDefaultNetworkTierProjectRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Projects_SetUsageExportBucket_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetUsageExportBucketProjectRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ProjectsServer).SetUsageExportBucket(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Projects/SetUsageExportBucket", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ProjectsServer).SetUsageExportBucket(ctx, req.(*SetUsageExportBucketProjectRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _Projects_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.Projects", - HandlerType: (*ProjectsServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "DisableXpnHost", - Handler: _Projects_DisableXpnHost_Handler, - }, - { - MethodName: "DisableXpnResource", - Handler: _Projects_DisableXpnResource_Handler, - }, - { - MethodName: "EnableXpnHost", - Handler: _Projects_EnableXpnHost_Handler, - }, - { - MethodName: "EnableXpnResource", - Handler: _Projects_EnableXpnResource_Handler, - }, - { - MethodName: "Get", - Handler: _Projects_Get_Handler, - }, - { - MethodName: "GetXpnHost", - Handler: _Projects_GetXpnHost_Handler, - }, - { - MethodName: "GetXpnResources", - Handler: _Projects_GetXpnResources_Handler, - }, - { - MethodName: "ListXpnHosts", - Handler: _Projects_ListXpnHosts_Handler, - }, - { - MethodName: "MoveDisk", - Handler: _Projects_MoveDisk_Handler, - }, - { - MethodName: "MoveInstance", - Handler: _Projects_MoveInstance_Handler, - }, - { - MethodName: "SetCloudArmorTier", - Handler: _Projects_SetCloudArmorTier_Handler, - }, - { - MethodName: "SetCommonInstanceMetadata", - Handler: _Projects_SetCommonInstanceMetadata_Handler, - }, - { - MethodName: "SetDefaultNetworkTier", - Handler: _Projects_SetDefaultNetworkTier_Handler, - }, - { - MethodName: "SetUsageExportBucket", - Handler: _Projects_SetUsageExportBucket_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} - -// PublicAdvertisedPrefixesClient is the client API for PublicAdvertisedPrefixes service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type PublicAdvertisedPrefixesClient interface { - // Announces the specified PublicAdvertisedPrefix - Announce(ctx context.Context, in *AnnouncePublicAdvertisedPrefixeRequest, opts ...grpc.CallOption) (*Operation, error) - // Deletes the specified PublicAdvertisedPrefix - Delete(ctx context.Context, in *DeletePublicAdvertisedPrefixeRequest, opts ...grpc.CallOption) (*Operation, error) - // Returns the specified PublicAdvertisedPrefix resource. - Get(ctx context.Context, in *GetPublicAdvertisedPrefixeRequest, opts ...grpc.CallOption) (*PublicAdvertisedPrefix, error) - // Creates a PublicAdvertisedPrefix in the specified project using the parameters that are included in the request. - Insert(ctx context.Context, in *InsertPublicAdvertisedPrefixeRequest, opts ...grpc.CallOption) (*Operation, error) - // Lists the PublicAdvertisedPrefixes for a project. - List(ctx context.Context, in *ListPublicAdvertisedPrefixesRequest, opts ...grpc.CallOption) (*PublicAdvertisedPrefixList, error) - // Patches the specified Router resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules. - Patch(ctx context.Context, in *PatchPublicAdvertisedPrefixeRequest, opts ...grpc.CallOption) (*Operation, error) - // Withdraws the specified PublicAdvertisedPrefix - Withdraw(ctx context.Context, in *WithdrawPublicAdvertisedPrefixeRequest, opts ...grpc.CallOption) (*Operation, error) -} - -type publicAdvertisedPrefixesClient struct { - cc grpc.ClientConnInterface -} - -func NewPublicAdvertisedPrefixesClient(cc grpc.ClientConnInterface) PublicAdvertisedPrefixesClient { - return &publicAdvertisedPrefixesClient{cc} -} - -func (c *publicAdvertisedPrefixesClient) Announce(ctx context.Context, in *AnnouncePublicAdvertisedPrefixeRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.PublicAdvertisedPrefixes/Announce", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *publicAdvertisedPrefixesClient) Delete(ctx context.Context, in *DeletePublicAdvertisedPrefixeRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.PublicAdvertisedPrefixes/Delete", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *publicAdvertisedPrefixesClient) Get(ctx context.Context, in *GetPublicAdvertisedPrefixeRequest, opts ...grpc.CallOption) (*PublicAdvertisedPrefix, error) { - out := new(PublicAdvertisedPrefix) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.PublicAdvertisedPrefixes/Get", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *publicAdvertisedPrefixesClient) Insert(ctx context.Context, in *InsertPublicAdvertisedPrefixeRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.PublicAdvertisedPrefixes/Insert", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *publicAdvertisedPrefixesClient) List(ctx context.Context, in *ListPublicAdvertisedPrefixesRequest, opts ...grpc.CallOption) (*PublicAdvertisedPrefixList, error) { - out := new(PublicAdvertisedPrefixList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.PublicAdvertisedPrefixes/List", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *publicAdvertisedPrefixesClient) Patch(ctx context.Context, in *PatchPublicAdvertisedPrefixeRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.PublicAdvertisedPrefixes/Patch", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *publicAdvertisedPrefixesClient) Withdraw(ctx context.Context, in *WithdrawPublicAdvertisedPrefixeRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.PublicAdvertisedPrefixes/Withdraw", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// PublicAdvertisedPrefixesServer is the server API for PublicAdvertisedPrefixes service. -type PublicAdvertisedPrefixesServer interface { - // Announces the specified PublicAdvertisedPrefix - Announce(context.Context, *AnnouncePublicAdvertisedPrefixeRequest) (*Operation, error) - // Deletes the specified PublicAdvertisedPrefix - Delete(context.Context, *DeletePublicAdvertisedPrefixeRequest) (*Operation, error) - // Returns the specified PublicAdvertisedPrefix resource. - Get(context.Context, *GetPublicAdvertisedPrefixeRequest) (*PublicAdvertisedPrefix, error) - // Creates a PublicAdvertisedPrefix in the specified project using the parameters that are included in the request. - Insert(context.Context, *InsertPublicAdvertisedPrefixeRequest) (*Operation, error) - // Lists the PublicAdvertisedPrefixes for a project. - List(context.Context, *ListPublicAdvertisedPrefixesRequest) (*PublicAdvertisedPrefixList, error) - // Patches the specified Router resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules. - Patch(context.Context, *PatchPublicAdvertisedPrefixeRequest) (*Operation, error) - // Withdraws the specified PublicAdvertisedPrefix - Withdraw(context.Context, *WithdrawPublicAdvertisedPrefixeRequest) (*Operation, error) -} - -// UnimplementedPublicAdvertisedPrefixesServer can be embedded to have forward compatible implementations. -type UnimplementedPublicAdvertisedPrefixesServer struct { -} - -func (*UnimplementedPublicAdvertisedPrefixesServer) Announce(context.Context, *AnnouncePublicAdvertisedPrefixeRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Announce not implemented") -} -func (*UnimplementedPublicAdvertisedPrefixesServer) Delete(context.Context, *DeletePublicAdvertisedPrefixeRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") -} -func (*UnimplementedPublicAdvertisedPrefixesServer) Get(context.Context, *GetPublicAdvertisedPrefixeRequest) (*PublicAdvertisedPrefix, error) { - return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") -} -func (*UnimplementedPublicAdvertisedPrefixesServer) Insert(context.Context, *InsertPublicAdvertisedPrefixeRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Insert not implemented") -} -func (*UnimplementedPublicAdvertisedPrefixesServer) List(context.Context, *ListPublicAdvertisedPrefixesRequest) (*PublicAdvertisedPrefixList, error) { - return nil, status.Errorf(codes.Unimplemented, "method List not implemented") -} -func (*UnimplementedPublicAdvertisedPrefixesServer) Patch(context.Context, *PatchPublicAdvertisedPrefixeRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Patch not implemented") -} -func (*UnimplementedPublicAdvertisedPrefixesServer) Withdraw(context.Context, *WithdrawPublicAdvertisedPrefixeRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Withdraw not implemented") -} - -func RegisterPublicAdvertisedPrefixesServer(s *grpc.Server, srv PublicAdvertisedPrefixesServer) { - s.RegisterService(&_PublicAdvertisedPrefixes_serviceDesc, srv) -} - -func _PublicAdvertisedPrefixes_Announce_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AnnouncePublicAdvertisedPrefixeRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(PublicAdvertisedPrefixesServer).Announce(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.PublicAdvertisedPrefixes/Announce", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(PublicAdvertisedPrefixesServer).Announce(ctx, req.(*AnnouncePublicAdvertisedPrefixeRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _PublicAdvertisedPrefixes_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeletePublicAdvertisedPrefixeRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(PublicAdvertisedPrefixesServer).Delete(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.PublicAdvertisedPrefixes/Delete", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(PublicAdvertisedPrefixesServer).Delete(ctx, req.(*DeletePublicAdvertisedPrefixeRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _PublicAdvertisedPrefixes_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetPublicAdvertisedPrefixeRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(PublicAdvertisedPrefixesServer).Get(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.PublicAdvertisedPrefixes/Get", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(PublicAdvertisedPrefixesServer).Get(ctx, req.(*GetPublicAdvertisedPrefixeRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _PublicAdvertisedPrefixes_Insert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(InsertPublicAdvertisedPrefixeRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(PublicAdvertisedPrefixesServer).Insert(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.PublicAdvertisedPrefixes/Insert", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(PublicAdvertisedPrefixesServer).Insert(ctx, req.(*InsertPublicAdvertisedPrefixeRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _PublicAdvertisedPrefixes_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListPublicAdvertisedPrefixesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(PublicAdvertisedPrefixesServer).List(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.PublicAdvertisedPrefixes/List", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(PublicAdvertisedPrefixesServer).List(ctx, req.(*ListPublicAdvertisedPrefixesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _PublicAdvertisedPrefixes_Patch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PatchPublicAdvertisedPrefixeRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(PublicAdvertisedPrefixesServer).Patch(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.PublicAdvertisedPrefixes/Patch", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(PublicAdvertisedPrefixesServer).Patch(ctx, req.(*PatchPublicAdvertisedPrefixeRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _PublicAdvertisedPrefixes_Withdraw_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(WithdrawPublicAdvertisedPrefixeRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(PublicAdvertisedPrefixesServer).Withdraw(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.PublicAdvertisedPrefixes/Withdraw", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(PublicAdvertisedPrefixesServer).Withdraw(ctx, req.(*WithdrawPublicAdvertisedPrefixeRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _PublicAdvertisedPrefixes_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.PublicAdvertisedPrefixes", - HandlerType: (*PublicAdvertisedPrefixesServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "Announce", - Handler: _PublicAdvertisedPrefixes_Announce_Handler, - }, - { - MethodName: "Delete", - Handler: _PublicAdvertisedPrefixes_Delete_Handler, - }, - { - MethodName: "Get", - Handler: _PublicAdvertisedPrefixes_Get_Handler, - }, - { - MethodName: "Insert", - Handler: _PublicAdvertisedPrefixes_Insert_Handler, - }, - { - MethodName: "List", - Handler: _PublicAdvertisedPrefixes_List_Handler, - }, - { - MethodName: "Patch", - Handler: _PublicAdvertisedPrefixes_Patch_Handler, - }, - { - MethodName: "Withdraw", - Handler: _PublicAdvertisedPrefixes_Withdraw_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} - -// PublicDelegatedPrefixesClient is the client API for PublicDelegatedPrefixes service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type PublicDelegatedPrefixesClient interface { - // Lists all PublicDelegatedPrefix resources owned by the specific project across all scopes. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. - AggregatedList(ctx context.Context, in *AggregatedListPublicDelegatedPrefixesRequest, opts ...grpc.CallOption) (*PublicDelegatedPrefixAggregatedList, error) - // Announces the specified PublicDelegatedPrefix in the given region. - Announce(ctx context.Context, in *AnnouncePublicDelegatedPrefixeRequest, opts ...grpc.CallOption) (*Operation, error) - // Deletes the specified PublicDelegatedPrefix in the given region. - Delete(ctx context.Context, in *DeletePublicDelegatedPrefixeRequest, opts ...grpc.CallOption) (*Operation, error) - // Returns the specified PublicDelegatedPrefix resource in the given region. - Get(ctx context.Context, in *GetPublicDelegatedPrefixeRequest, opts ...grpc.CallOption) (*PublicDelegatedPrefix, error) - // Creates a PublicDelegatedPrefix in the specified project in the given region using the parameters that are included in the request. - Insert(ctx context.Context, in *InsertPublicDelegatedPrefixeRequest, opts ...grpc.CallOption) (*Operation, error) - // Lists the PublicDelegatedPrefixes for a project in the given region. - List(ctx context.Context, in *ListPublicDelegatedPrefixesRequest, opts ...grpc.CallOption) (*PublicDelegatedPrefixList, error) - // Patches the specified PublicDelegatedPrefix resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules. - Patch(ctx context.Context, in *PatchPublicDelegatedPrefixeRequest, opts ...grpc.CallOption) (*Operation, error) - // Withdraws the specified PublicDelegatedPrefix in the given region. - Withdraw(ctx context.Context, in *WithdrawPublicDelegatedPrefixeRequest, opts ...grpc.CallOption) (*Operation, error) -} - -type publicDelegatedPrefixesClient struct { - cc grpc.ClientConnInterface -} - -func NewPublicDelegatedPrefixesClient(cc grpc.ClientConnInterface) PublicDelegatedPrefixesClient { - return &publicDelegatedPrefixesClient{cc} -} - -func (c *publicDelegatedPrefixesClient) AggregatedList(ctx context.Context, in *AggregatedListPublicDelegatedPrefixesRequest, opts ...grpc.CallOption) (*PublicDelegatedPrefixAggregatedList, error) { - out := new(PublicDelegatedPrefixAggregatedList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.PublicDelegatedPrefixes/AggregatedList", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *publicDelegatedPrefixesClient) Announce(ctx context.Context, in *AnnouncePublicDelegatedPrefixeRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.PublicDelegatedPrefixes/Announce", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *publicDelegatedPrefixesClient) Delete(ctx context.Context, in *DeletePublicDelegatedPrefixeRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.PublicDelegatedPrefixes/Delete", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *publicDelegatedPrefixesClient) Get(ctx context.Context, in *GetPublicDelegatedPrefixeRequest, opts ...grpc.CallOption) (*PublicDelegatedPrefix, error) { - out := new(PublicDelegatedPrefix) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.PublicDelegatedPrefixes/Get", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *publicDelegatedPrefixesClient) Insert(ctx context.Context, in *InsertPublicDelegatedPrefixeRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.PublicDelegatedPrefixes/Insert", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *publicDelegatedPrefixesClient) List(ctx context.Context, in *ListPublicDelegatedPrefixesRequest, opts ...grpc.CallOption) (*PublicDelegatedPrefixList, error) { - out := new(PublicDelegatedPrefixList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.PublicDelegatedPrefixes/List", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *publicDelegatedPrefixesClient) Patch(ctx context.Context, in *PatchPublicDelegatedPrefixeRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.PublicDelegatedPrefixes/Patch", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *publicDelegatedPrefixesClient) Withdraw(ctx context.Context, in *WithdrawPublicDelegatedPrefixeRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.PublicDelegatedPrefixes/Withdraw", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// PublicDelegatedPrefixesServer is the server API for PublicDelegatedPrefixes service. -type PublicDelegatedPrefixesServer interface { - // Lists all PublicDelegatedPrefix resources owned by the specific project across all scopes. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. - AggregatedList(context.Context, *AggregatedListPublicDelegatedPrefixesRequest) (*PublicDelegatedPrefixAggregatedList, error) - // Announces the specified PublicDelegatedPrefix in the given region. - Announce(context.Context, *AnnouncePublicDelegatedPrefixeRequest) (*Operation, error) - // Deletes the specified PublicDelegatedPrefix in the given region. - Delete(context.Context, *DeletePublicDelegatedPrefixeRequest) (*Operation, error) - // Returns the specified PublicDelegatedPrefix resource in the given region. - Get(context.Context, *GetPublicDelegatedPrefixeRequest) (*PublicDelegatedPrefix, error) - // Creates a PublicDelegatedPrefix in the specified project in the given region using the parameters that are included in the request. - Insert(context.Context, *InsertPublicDelegatedPrefixeRequest) (*Operation, error) - // Lists the PublicDelegatedPrefixes for a project in the given region. - List(context.Context, *ListPublicDelegatedPrefixesRequest) (*PublicDelegatedPrefixList, error) - // Patches the specified PublicDelegatedPrefix resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules. - Patch(context.Context, *PatchPublicDelegatedPrefixeRequest) (*Operation, error) - // Withdraws the specified PublicDelegatedPrefix in the given region. - Withdraw(context.Context, *WithdrawPublicDelegatedPrefixeRequest) (*Operation, error) -} - -// UnimplementedPublicDelegatedPrefixesServer can be embedded to have forward compatible implementations. -type UnimplementedPublicDelegatedPrefixesServer struct { -} - -func (*UnimplementedPublicDelegatedPrefixesServer) AggregatedList(context.Context, *AggregatedListPublicDelegatedPrefixesRequest) (*PublicDelegatedPrefixAggregatedList, error) { - return nil, status.Errorf(codes.Unimplemented, "method AggregatedList not implemented") -} -func (*UnimplementedPublicDelegatedPrefixesServer) Announce(context.Context, *AnnouncePublicDelegatedPrefixeRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Announce not implemented") -} -func (*UnimplementedPublicDelegatedPrefixesServer) Delete(context.Context, *DeletePublicDelegatedPrefixeRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") -} -func (*UnimplementedPublicDelegatedPrefixesServer) Get(context.Context, *GetPublicDelegatedPrefixeRequest) (*PublicDelegatedPrefix, error) { - return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") -} -func (*UnimplementedPublicDelegatedPrefixesServer) Insert(context.Context, *InsertPublicDelegatedPrefixeRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Insert not implemented") -} -func (*UnimplementedPublicDelegatedPrefixesServer) List(context.Context, *ListPublicDelegatedPrefixesRequest) (*PublicDelegatedPrefixList, error) { - return nil, status.Errorf(codes.Unimplemented, "method List not implemented") -} -func (*UnimplementedPublicDelegatedPrefixesServer) Patch(context.Context, *PatchPublicDelegatedPrefixeRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Patch not implemented") -} -func (*UnimplementedPublicDelegatedPrefixesServer) Withdraw(context.Context, *WithdrawPublicDelegatedPrefixeRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Withdraw not implemented") -} - -func RegisterPublicDelegatedPrefixesServer(s *grpc.Server, srv PublicDelegatedPrefixesServer) { - s.RegisterService(&_PublicDelegatedPrefixes_serviceDesc, srv) -} - -func _PublicDelegatedPrefixes_AggregatedList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AggregatedListPublicDelegatedPrefixesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(PublicDelegatedPrefixesServer).AggregatedList(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.PublicDelegatedPrefixes/AggregatedList", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(PublicDelegatedPrefixesServer).AggregatedList(ctx, req.(*AggregatedListPublicDelegatedPrefixesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _PublicDelegatedPrefixes_Announce_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AnnouncePublicDelegatedPrefixeRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(PublicDelegatedPrefixesServer).Announce(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.PublicDelegatedPrefixes/Announce", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(PublicDelegatedPrefixesServer).Announce(ctx, req.(*AnnouncePublicDelegatedPrefixeRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _PublicDelegatedPrefixes_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeletePublicDelegatedPrefixeRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(PublicDelegatedPrefixesServer).Delete(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.PublicDelegatedPrefixes/Delete", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(PublicDelegatedPrefixesServer).Delete(ctx, req.(*DeletePublicDelegatedPrefixeRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _PublicDelegatedPrefixes_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetPublicDelegatedPrefixeRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(PublicDelegatedPrefixesServer).Get(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.PublicDelegatedPrefixes/Get", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(PublicDelegatedPrefixesServer).Get(ctx, req.(*GetPublicDelegatedPrefixeRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _PublicDelegatedPrefixes_Insert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(InsertPublicDelegatedPrefixeRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(PublicDelegatedPrefixesServer).Insert(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.PublicDelegatedPrefixes/Insert", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(PublicDelegatedPrefixesServer).Insert(ctx, req.(*InsertPublicDelegatedPrefixeRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _PublicDelegatedPrefixes_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListPublicDelegatedPrefixesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(PublicDelegatedPrefixesServer).List(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.PublicDelegatedPrefixes/List", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(PublicDelegatedPrefixesServer).List(ctx, req.(*ListPublicDelegatedPrefixesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _PublicDelegatedPrefixes_Patch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PatchPublicDelegatedPrefixeRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(PublicDelegatedPrefixesServer).Patch(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.PublicDelegatedPrefixes/Patch", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(PublicDelegatedPrefixesServer).Patch(ctx, req.(*PatchPublicDelegatedPrefixeRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _PublicDelegatedPrefixes_Withdraw_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(WithdrawPublicDelegatedPrefixeRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(PublicDelegatedPrefixesServer).Withdraw(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.PublicDelegatedPrefixes/Withdraw", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(PublicDelegatedPrefixesServer).Withdraw(ctx, req.(*WithdrawPublicDelegatedPrefixeRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _PublicDelegatedPrefixes_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.PublicDelegatedPrefixes", - HandlerType: (*PublicDelegatedPrefixesServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "AggregatedList", - Handler: _PublicDelegatedPrefixes_AggregatedList_Handler, - }, - { - MethodName: "Announce", - Handler: _PublicDelegatedPrefixes_Announce_Handler, - }, - { - MethodName: "Delete", - Handler: _PublicDelegatedPrefixes_Delete_Handler, - }, - { - MethodName: "Get", - Handler: _PublicDelegatedPrefixes_Get_Handler, - }, - { - MethodName: "Insert", - Handler: _PublicDelegatedPrefixes_Insert_Handler, - }, - { - MethodName: "List", - Handler: _PublicDelegatedPrefixes_List_Handler, - }, - { - MethodName: "Patch", - Handler: _PublicDelegatedPrefixes_Patch_Handler, - }, - { - MethodName: "Withdraw", - Handler: _PublicDelegatedPrefixes_Withdraw_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} - -// RegionAutoscalersClient is the client API for RegionAutoscalers service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type RegionAutoscalersClient interface { - // Deletes the specified autoscaler. - Delete(ctx context.Context, in *DeleteRegionAutoscalerRequest, opts ...grpc.CallOption) (*Operation, error) - // Returns the specified autoscaler. - Get(ctx context.Context, in *GetRegionAutoscalerRequest, opts ...grpc.CallOption) (*Autoscaler, error) - // Creates an autoscaler in the specified project using the data included in the request. - Insert(ctx context.Context, in *InsertRegionAutoscalerRequest, opts ...grpc.CallOption) (*Operation, error) - // Retrieves a list of autoscalers contained within the specified region. - List(ctx context.Context, in *ListRegionAutoscalersRequest, opts ...grpc.CallOption) (*RegionAutoscalerList, error) - // Updates an autoscaler in the specified project using the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. - Patch(ctx context.Context, in *PatchRegionAutoscalerRequest, opts ...grpc.CallOption) (*Operation, error) - // Updates an autoscaler in the specified project using the data included in the request. - Update(ctx context.Context, in *UpdateRegionAutoscalerRequest, opts ...grpc.CallOption) (*Operation, error) -} - -type regionAutoscalersClient struct { - cc grpc.ClientConnInterface -} - -func NewRegionAutoscalersClient(cc grpc.ClientConnInterface) RegionAutoscalersClient { - return ®ionAutoscalersClient{cc} -} - -func (c *regionAutoscalersClient) Delete(ctx context.Context, in *DeleteRegionAutoscalerRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionAutoscalers/Delete", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionAutoscalersClient) Get(ctx context.Context, in *GetRegionAutoscalerRequest, opts ...grpc.CallOption) (*Autoscaler, error) { - out := new(Autoscaler) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionAutoscalers/Get", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionAutoscalersClient) Insert(ctx context.Context, in *InsertRegionAutoscalerRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionAutoscalers/Insert", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionAutoscalersClient) List(ctx context.Context, in *ListRegionAutoscalersRequest, opts ...grpc.CallOption) (*RegionAutoscalerList, error) { - out := new(RegionAutoscalerList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionAutoscalers/List", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionAutoscalersClient) Patch(ctx context.Context, in *PatchRegionAutoscalerRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionAutoscalers/Patch", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionAutoscalersClient) Update(ctx context.Context, in *UpdateRegionAutoscalerRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionAutoscalers/Update", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// RegionAutoscalersServer is the server API for RegionAutoscalers service. -type RegionAutoscalersServer interface { - // Deletes the specified autoscaler. - Delete(context.Context, *DeleteRegionAutoscalerRequest) (*Operation, error) - // Returns the specified autoscaler. - Get(context.Context, *GetRegionAutoscalerRequest) (*Autoscaler, error) - // Creates an autoscaler in the specified project using the data included in the request. - Insert(context.Context, *InsertRegionAutoscalerRequest) (*Operation, error) - // Retrieves a list of autoscalers contained within the specified region. - List(context.Context, *ListRegionAutoscalersRequest) (*RegionAutoscalerList, error) - // Updates an autoscaler in the specified project using the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. - Patch(context.Context, *PatchRegionAutoscalerRequest) (*Operation, error) - // Updates an autoscaler in the specified project using the data included in the request. - Update(context.Context, *UpdateRegionAutoscalerRequest) (*Operation, error) -} - -// UnimplementedRegionAutoscalersServer can be embedded to have forward compatible implementations. -type UnimplementedRegionAutoscalersServer struct { -} - -func (*UnimplementedRegionAutoscalersServer) Delete(context.Context, *DeleteRegionAutoscalerRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") -} -func (*UnimplementedRegionAutoscalersServer) Get(context.Context, *GetRegionAutoscalerRequest) (*Autoscaler, error) { - return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") -} -func (*UnimplementedRegionAutoscalersServer) Insert(context.Context, *InsertRegionAutoscalerRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Insert not implemented") -} -func (*UnimplementedRegionAutoscalersServer) List(context.Context, *ListRegionAutoscalersRequest) (*RegionAutoscalerList, error) { - return nil, status.Errorf(codes.Unimplemented, "method List not implemented") -} -func (*UnimplementedRegionAutoscalersServer) Patch(context.Context, *PatchRegionAutoscalerRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Patch not implemented") -} -func (*UnimplementedRegionAutoscalersServer) Update(context.Context, *UpdateRegionAutoscalerRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Update not implemented") -} - -func RegisterRegionAutoscalersServer(s *grpc.Server, srv RegionAutoscalersServer) { - s.RegisterService(&_RegionAutoscalers_serviceDesc, srv) -} - -func _RegionAutoscalers_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteRegionAutoscalerRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionAutoscalersServer).Delete(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionAutoscalers/Delete", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionAutoscalersServer).Delete(ctx, req.(*DeleteRegionAutoscalerRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionAutoscalers_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetRegionAutoscalerRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionAutoscalersServer).Get(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionAutoscalers/Get", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionAutoscalersServer).Get(ctx, req.(*GetRegionAutoscalerRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionAutoscalers_Insert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(InsertRegionAutoscalerRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionAutoscalersServer).Insert(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionAutoscalers/Insert", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionAutoscalersServer).Insert(ctx, req.(*InsertRegionAutoscalerRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionAutoscalers_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListRegionAutoscalersRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionAutoscalersServer).List(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionAutoscalers/List", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionAutoscalersServer).List(ctx, req.(*ListRegionAutoscalersRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionAutoscalers_Patch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PatchRegionAutoscalerRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionAutoscalersServer).Patch(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionAutoscalers/Patch", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionAutoscalersServer).Patch(ctx, req.(*PatchRegionAutoscalerRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionAutoscalers_Update_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateRegionAutoscalerRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionAutoscalersServer).Update(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionAutoscalers/Update", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionAutoscalersServer).Update(ctx, req.(*UpdateRegionAutoscalerRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _RegionAutoscalers_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.RegionAutoscalers", - HandlerType: (*RegionAutoscalersServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "Delete", - Handler: _RegionAutoscalers_Delete_Handler, - }, - { - MethodName: "Get", - Handler: _RegionAutoscalers_Get_Handler, - }, - { - MethodName: "Insert", - Handler: _RegionAutoscalers_Insert_Handler, - }, - { - MethodName: "List", - Handler: _RegionAutoscalers_List_Handler, - }, - { - MethodName: "Patch", - Handler: _RegionAutoscalers_Patch_Handler, - }, - { - MethodName: "Update", - Handler: _RegionAutoscalers_Update_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} - -// RegionBackendServicesClient is the client API for RegionBackendServices service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type RegionBackendServicesClient interface { - // Deletes the specified regional BackendService resource. - Delete(ctx context.Context, in *DeleteRegionBackendServiceRequest, opts ...grpc.CallOption) (*Operation, error) - // Returns the specified regional BackendService resource. - Get(ctx context.Context, in *GetRegionBackendServiceRequest, opts ...grpc.CallOption) (*BackendService, error) - // Gets the most recent health check results for this regional BackendService. - GetHealth(ctx context.Context, in *GetHealthRegionBackendServiceRequest, opts ...grpc.CallOption) (*BackendServiceGroupHealth, error) - // Gets the access control policy for a resource. May be empty if no such policy or resource exists. - GetIamPolicy(ctx context.Context, in *GetIamPolicyRegionBackendServiceRequest, opts ...grpc.CallOption) (*Policy, error) - // Creates a regional BackendService resource in the specified project using the data included in the request. For more information, see Backend services overview. - Insert(ctx context.Context, in *InsertRegionBackendServiceRequest, opts ...grpc.CallOption) (*Operation, error) - // Retrieves the list of regional BackendService resources available to the specified project in the given region. - List(ctx context.Context, in *ListRegionBackendServicesRequest, opts ...grpc.CallOption) (*BackendServiceList, error) - // Retrieves an aggregated list of all usable backend services in the specified project in the given region. - ListUsable(ctx context.Context, in *ListUsableRegionBackendServicesRequest, opts ...grpc.CallOption) (*BackendServiceListUsable, error) - // Updates the specified regional BackendService resource with the data included in the request. For more information, see Understanding backend services This method supports PATCH semantics and uses the JSON merge patch format and processing rules. - Patch(ctx context.Context, in *PatchRegionBackendServiceRequest, opts ...grpc.CallOption) (*Operation, error) - // Sets the access control policy on the specified resource. Replaces any existing policy. - SetIamPolicy(ctx context.Context, in *SetIamPolicyRegionBackendServiceRequest, opts ...grpc.CallOption) (*Policy, error) - // Sets the Google Cloud Armor security policy for the specified backend service. For more information, see Google Cloud Armor Overview - SetSecurityPolicy(ctx context.Context, in *SetSecurityPolicyRegionBackendServiceRequest, opts ...grpc.CallOption) (*Operation, error) - // Returns permissions that a caller has on the specified resource. - TestIamPermissions(ctx context.Context, in *TestIamPermissionsRegionBackendServiceRequest, opts ...grpc.CallOption) (*TestPermissionsResponse, error) - // Updates the specified regional BackendService resource with the data included in the request. For more information, see Backend services overview . - Update(ctx context.Context, in *UpdateRegionBackendServiceRequest, opts ...grpc.CallOption) (*Operation, error) -} - -type regionBackendServicesClient struct { - cc grpc.ClientConnInterface -} - -func NewRegionBackendServicesClient(cc grpc.ClientConnInterface) RegionBackendServicesClient { - return ®ionBackendServicesClient{cc} -} - -func (c *regionBackendServicesClient) Delete(ctx context.Context, in *DeleteRegionBackendServiceRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionBackendServices/Delete", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionBackendServicesClient) Get(ctx context.Context, in *GetRegionBackendServiceRequest, opts ...grpc.CallOption) (*BackendService, error) { - out := new(BackendService) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionBackendServices/Get", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionBackendServicesClient) GetHealth(ctx context.Context, in *GetHealthRegionBackendServiceRequest, opts ...grpc.CallOption) (*BackendServiceGroupHealth, error) { - out := new(BackendServiceGroupHealth) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionBackendServices/GetHealth", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionBackendServicesClient) GetIamPolicy(ctx context.Context, in *GetIamPolicyRegionBackendServiceRequest, opts ...grpc.CallOption) (*Policy, error) { - out := new(Policy) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionBackendServices/GetIamPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionBackendServicesClient) Insert(ctx context.Context, in *InsertRegionBackendServiceRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionBackendServices/Insert", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionBackendServicesClient) List(ctx context.Context, in *ListRegionBackendServicesRequest, opts ...grpc.CallOption) (*BackendServiceList, error) { - out := new(BackendServiceList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionBackendServices/List", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionBackendServicesClient) ListUsable(ctx context.Context, in *ListUsableRegionBackendServicesRequest, opts ...grpc.CallOption) (*BackendServiceListUsable, error) { - out := new(BackendServiceListUsable) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionBackendServices/ListUsable", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionBackendServicesClient) Patch(ctx context.Context, in *PatchRegionBackendServiceRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionBackendServices/Patch", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionBackendServicesClient) SetIamPolicy(ctx context.Context, in *SetIamPolicyRegionBackendServiceRequest, opts ...grpc.CallOption) (*Policy, error) { - out := new(Policy) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionBackendServices/SetIamPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionBackendServicesClient) SetSecurityPolicy(ctx context.Context, in *SetSecurityPolicyRegionBackendServiceRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionBackendServices/SetSecurityPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionBackendServicesClient) TestIamPermissions(ctx context.Context, in *TestIamPermissionsRegionBackendServiceRequest, opts ...grpc.CallOption) (*TestPermissionsResponse, error) { - out := new(TestPermissionsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionBackendServices/TestIamPermissions", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionBackendServicesClient) Update(ctx context.Context, in *UpdateRegionBackendServiceRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionBackendServices/Update", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// RegionBackendServicesServer is the server API for RegionBackendServices service. -type RegionBackendServicesServer interface { - // Deletes the specified regional BackendService resource. - Delete(context.Context, *DeleteRegionBackendServiceRequest) (*Operation, error) - // Returns the specified regional BackendService resource. - Get(context.Context, *GetRegionBackendServiceRequest) (*BackendService, error) - // Gets the most recent health check results for this regional BackendService. - GetHealth(context.Context, *GetHealthRegionBackendServiceRequest) (*BackendServiceGroupHealth, error) - // Gets the access control policy for a resource. May be empty if no such policy or resource exists. - GetIamPolicy(context.Context, *GetIamPolicyRegionBackendServiceRequest) (*Policy, error) - // Creates a regional BackendService resource in the specified project using the data included in the request. For more information, see Backend services overview. - Insert(context.Context, *InsertRegionBackendServiceRequest) (*Operation, error) - // Retrieves the list of regional BackendService resources available to the specified project in the given region. - List(context.Context, *ListRegionBackendServicesRequest) (*BackendServiceList, error) - // Retrieves an aggregated list of all usable backend services in the specified project in the given region. - ListUsable(context.Context, *ListUsableRegionBackendServicesRequest) (*BackendServiceListUsable, error) - // Updates the specified regional BackendService resource with the data included in the request. For more information, see Understanding backend services This method supports PATCH semantics and uses the JSON merge patch format and processing rules. - Patch(context.Context, *PatchRegionBackendServiceRequest) (*Operation, error) - // Sets the access control policy on the specified resource. Replaces any existing policy. - SetIamPolicy(context.Context, *SetIamPolicyRegionBackendServiceRequest) (*Policy, error) - // Sets the Google Cloud Armor security policy for the specified backend service. For more information, see Google Cloud Armor Overview - SetSecurityPolicy(context.Context, *SetSecurityPolicyRegionBackendServiceRequest) (*Operation, error) - // Returns permissions that a caller has on the specified resource. - TestIamPermissions(context.Context, *TestIamPermissionsRegionBackendServiceRequest) (*TestPermissionsResponse, error) - // Updates the specified regional BackendService resource with the data included in the request. For more information, see Backend services overview . - Update(context.Context, *UpdateRegionBackendServiceRequest) (*Operation, error) -} - -// UnimplementedRegionBackendServicesServer can be embedded to have forward compatible implementations. -type UnimplementedRegionBackendServicesServer struct { -} - -func (*UnimplementedRegionBackendServicesServer) Delete(context.Context, *DeleteRegionBackendServiceRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") -} -func (*UnimplementedRegionBackendServicesServer) Get(context.Context, *GetRegionBackendServiceRequest) (*BackendService, error) { - return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") -} -func (*UnimplementedRegionBackendServicesServer) GetHealth(context.Context, *GetHealthRegionBackendServiceRequest) (*BackendServiceGroupHealth, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetHealth not implemented") -} -func (*UnimplementedRegionBackendServicesServer) GetIamPolicy(context.Context, *GetIamPolicyRegionBackendServiceRequest) (*Policy, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetIamPolicy not implemented") -} -func (*UnimplementedRegionBackendServicesServer) Insert(context.Context, *InsertRegionBackendServiceRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Insert not implemented") -} -func (*UnimplementedRegionBackendServicesServer) List(context.Context, *ListRegionBackendServicesRequest) (*BackendServiceList, error) { - return nil, status.Errorf(codes.Unimplemented, "method List not implemented") -} -func (*UnimplementedRegionBackendServicesServer) ListUsable(context.Context, *ListUsableRegionBackendServicesRequest) (*BackendServiceListUsable, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListUsable not implemented") -} -func (*UnimplementedRegionBackendServicesServer) Patch(context.Context, *PatchRegionBackendServiceRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Patch not implemented") -} -func (*UnimplementedRegionBackendServicesServer) SetIamPolicy(context.Context, *SetIamPolicyRegionBackendServiceRequest) (*Policy, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetIamPolicy not implemented") -} -func (*UnimplementedRegionBackendServicesServer) SetSecurityPolicy(context.Context, *SetSecurityPolicyRegionBackendServiceRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetSecurityPolicy not implemented") -} -func (*UnimplementedRegionBackendServicesServer) TestIamPermissions(context.Context, *TestIamPermissionsRegionBackendServiceRequest) (*TestPermissionsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method TestIamPermissions not implemented") -} -func (*UnimplementedRegionBackendServicesServer) Update(context.Context, *UpdateRegionBackendServiceRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Update not implemented") -} - -func RegisterRegionBackendServicesServer(s *grpc.Server, srv RegionBackendServicesServer) { - s.RegisterService(&_RegionBackendServices_serviceDesc, srv) -} - -func _RegionBackendServices_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteRegionBackendServiceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionBackendServicesServer).Delete(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionBackendServices/Delete", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionBackendServicesServer).Delete(ctx, req.(*DeleteRegionBackendServiceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionBackendServices_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetRegionBackendServiceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionBackendServicesServer).Get(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionBackendServices/Get", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionBackendServicesServer).Get(ctx, req.(*GetRegionBackendServiceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionBackendServices_GetHealth_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetHealthRegionBackendServiceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionBackendServicesServer).GetHealth(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionBackendServices/GetHealth", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionBackendServicesServer).GetHealth(ctx, req.(*GetHealthRegionBackendServiceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionBackendServices_GetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetIamPolicyRegionBackendServiceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionBackendServicesServer).GetIamPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionBackendServices/GetIamPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionBackendServicesServer).GetIamPolicy(ctx, req.(*GetIamPolicyRegionBackendServiceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionBackendServices_Insert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(InsertRegionBackendServiceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionBackendServicesServer).Insert(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionBackendServices/Insert", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionBackendServicesServer).Insert(ctx, req.(*InsertRegionBackendServiceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionBackendServices_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListRegionBackendServicesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionBackendServicesServer).List(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionBackendServices/List", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionBackendServicesServer).List(ctx, req.(*ListRegionBackendServicesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionBackendServices_ListUsable_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListUsableRegionBackendServicesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionBackendServicesServer).ListUsable(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionBackendServices/ListUsable", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionBackendServicesServer).ListUsable(ctx, req.(*ListUsableRegionBackendServicesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionBackendServices_Patch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PatchRegionBackendServiceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionBackendServicesServer).Patch(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionBackendServices/Patch", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionBackendServicesServer).Patch(ctx, req.(*PatchRegionBackendServiceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionBackendServices_SetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetIamPolicyRegionBackendServiceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionBackendServicesServer).SetIamPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionBackendServices/SetIamPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionBackendServicesServer).SetIamPolicy(ctx, req.(*SetIamPolicyRegionBackendServiceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionBackendServices_SetSecurityPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetSecurityPolicyRegionBackendServiceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionBackendServicesServer).SetSecurityPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionBackendServices/SetSecurityPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionBackendServicesServer).SetSecurityPolicy(ctx, req.(*SetSecurityPolicyRegionBackendServiceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionBackendServices_TestIamPermissions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(TestIamPermissionsRegionBackendServiceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionBackendServicesServer).TestIamPermissions(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionBackendServices/TestIamPermissions", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionBackendServicesServer).TestIamPermissions(ctx, req.(*TestIamPermissionsRegionBackendServiceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionBackendServices_Update_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateRegionBackendServiceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionBackendServicesServer).Update(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionBackendServices/Update", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionBackendServicesServer).Update(ctx, req.(*UpdateRegionBackendServiceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _RegionBackendServices_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.RegionBackendServices", - HandlerType: (*RegionBackendServicesServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "Delete", - Handler: _RegionBackendServices_Delete_Handler, - }, - { - MethodName: "Get", - Handler: _RegionBackendServices_Get_Handler, - }, - { - MethodName: "GetHealth", - Handler: _RegionBackendServices_GetHealth_Handler, - }, - { - MethodName: "GetIamPolicy", - Handler: _RegionBackendServices_GetIamPolicy_Handler, - }, - { - MethodName: "Insert", - Handler: _RegionBackendServices_Insert_Handler, - }, - { - MethodName: "List", - Handler: _RegionBackendServices_List_Handler, - }, - { - MethodName: "ListUsable", - Handler: _RegionBackendServices_ListUsable_Handler, - }, - { - MethodName: "Patch", - Handler: _RegionBackendServices_Patch_Handler, - }, - { - MethodName: "SetIamPolicy", - Handler: _RegionBackendServices_SetIamPolicy_Handler, - }, - { - MethodName: "SetSecurityPolicy", - Handler: _RegionBackendServices_SetSecurityPolicy_Handler, - }, - { - MethodName: "TestIamPermissions", - Handler: _RegionBackendServices_TestIamPermissions_Handler, - }, - { - MethodName: "Update", - Handler: _RegionBackendServices_Update_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} - -// RegionCommitmentsClient is the client API for RegionCommitments service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type RegionCommitmentsClient interface { - // Retrieves an aggregated list of commitments by region. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. - AggregatedList(ctx context.Context, in *AggregatedListRegionCommitmentsRequest, opts ...grpc.CallOption) (*CommitmentAggregatedList, error) - // Returns the specified commitment resource. - Get(ctx context.Context, in *GetRegionCommitmentRequest, opts ...grpc.CallOption) (*Commitment, error) - // Creates a commitment in the specified project using the data included in the request. - Insert(ctx context.Context, in *InsertRegionCommitmentRequest, opts ...grpc.CallOption) (*Operation, error) - // Retrieves a list of commitments contained within the specified region. - List(ctx context.Context, in *ListRegionCommitmentsRequest, opts ...grpc.CallOption) (*CommitmentList, error) - // Updates the specified commitment with the data included in the request. Update is performed only on selected fields included as part of update-mask. Only the following fields can be modified: auto_renew. - Update(ctx context.Context, in *UpdateRegionCommitmentRequest, opts ...grpc.CallOption) (*Operation, error) -} - -type regionCommitmentsClient struct { - cc grpc.ClientConnInterface -} - -func NewRegionCommitmentsClient(cc grpc.ClientConnInterface) RegionCommitmentsClient { - return ®ionCommitmentsClient{cc} -} - -func (c *regionCommitmentsClient) AggregatedList(ctx context.Context, in *AggregatedListRegionCommitmentsRequest, opts ...grpc.CallOption) (*CommitmentAggregatedList, error) { - out := new(CommitmentAggregatedList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionCommitments/AggregatedList", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionCommitmentsClient) Get(ctx context.Context, in *GetRegionCommitmentRequest, opts ...grpc.CallOption) (*Commitment, error) { - out := new(Commitment) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionCommitments/Get", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionCommitmentsClient) Insert(ctx context.Context, in *InsertRegionCommitmentRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionCommitments/Insert", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionCommitmentsClient) List(ctx context.Context, in *ListRegionCommitmentsRequest, opts ...grpc.CallOption) (*CommitmentList, error) { - out := new(CommitmentList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionCommitments/List", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionCommitmentsClient) Update(ctx context.Context, in *UpdateRegionCommitmentRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionCommitments/Update", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// RegionCommitmentsServer is the server API for RegionCommitments service. -type RegionCommitmentsServer interface { - // Retrieves an aggregated list of commitments by region. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. - AggregatedList(context.Context, *AggregatedListRegionCommitmentsRequest) (*CommitmentAggregatedList, error) - // Returns the specified commitment resource. - Get(context.Context, *GetRegionCommitmentRequest) (*Commitment, error) - // Creates a commitment in the specified project using the data included in the request. - Insert(context.Context, *InsertRegionCommitmentRequest) (*Operation, error) - // Retrieves a list of commitments contained within the specified region. - List(context.Context, *ListRegionCommitmentsRequest) (*CommitmentList, error) - // Updates the specified commitment with the data included in the request. Update is performed only on selected fields included as part of update-mask. Only the following fields can be modified: auto_renew. - Update(context.Context, *UpdateRegionCommitmentRequest) (*Operation, error) -} - -// UnimplementedRegionCommitmentsServer can be embedded to have forward compatible implementations. -type UnimplementedRegionCommitmentsServer struct { -} - -func (*UnimplementedRegionCommitmentsServer) AggregatedList(context.Context, *AggregatedListRegionCommitmentsRequest) (*CommitmentAggregatedList, error) { - return nil, status.Errorf(codes.Unimplemented, "method AggregatedList not implemented") -} -func (*UnimplementedRegionCommitmentsServer) Get(context.Context, *GetRegionCommitmentRequest) (*Commitment, error) { - return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") -} -func (*UnimplementedRegionCommitmentsServer) Insert(context.Context, *InsertRegionCommitmentRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Insert not implemented") -} -func (*UnimplementedRegionCommitmentsServer) List(context.Context, *ListRegionCommitmentsRequest) (*CommitmentList, error) { - return nil, status.Errorf(codes.Unimplemented, "method List not implemented") -} -func (*UnimplementedRegionCommitmentsServer) Update(context.Context, *UpdateRegionCommitmentRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Update not implemented") -} - -func RegisterRegionCommitmentsServer(s *grpc.Server, srv RegionCommitmentsServer) { - s.RegisterService(&_RegionCommitments_serviceDesc, srv) -} - -func _RegionCommitments_AggregatedList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AggregatedListRegionCommitmentsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionCommitmentsServer).AggregatedList(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionCommitments/AggregatedList", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionCommitmentsServer).AggregatedList(ctx, req.(*AggregatedListRegionCommitmentsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionCommitments_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetRegionCommitmentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionCommitmentsServer).Get(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionCommitments/Get", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionCommitmentsServer).Get(ctx, req.(*GetRegionCommitmentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionCommitments_Insert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(InsertRegionCommitmentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionCommitmentsServer).Insert(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionCommitments/Insert", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionCommitmentsServer).Insert(ctx, req.(*InsertRegionCommitmentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionCommitments_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListRegionCommitmentsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionCommitmentsServer).List(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionCommitments/List", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionCommitmentsServer).List(ctx, req.(*ListRegionCommitmentsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionCommitments_Update_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateRegionCommitmentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionCommitmentsServer).Update(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionCommitments/Update", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionCommitmentsServer).Update(ctx, req.(*UpdateRegionCommitmentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _RegionCommitments_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.RegionCommitments", - HandlerType: (*RegionCommitmentsServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "AggregatedList", - Handler: _RegionCommitments_AggregatedList_Handler, - }, - { - MethodName: "Get", - Handler: _RegionCommitments_Get_Handler, - }, - { - MethodName: "Insert", - Handler: _RegionCommitments_Insert_Handler, - }, - { - MethodName: "List", - Handler: _RegionCommitments_List_Handler, - }, - { - MethodName: "Update", - Handler: _RegionCommitments_Update_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} - -// RegionDiskTypesClient is the client API for RegionDiskTypes service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type RegionDiskTypesClient interface { - // Returns the specified regional disk type. - Get(ctx context.Context, in *GetRegionDiskTypeRequest, opts ...grpc.CallOption) (*DiskType, error) - // Retrieves a list of regional disk types available to the specified project. - List(ctx context.Context, in *ListRegionDiskTypesRequest, opts ...grpc.CallOption) (*RegionDiskTypeList, error) -} - -type regionDiskTypesClient struct { - cc grpc.ClientConnInterface -} - -func NewRegionDiskTypesClient(cc grpc.ClientConnInterface) RegionDiskTypesClient { - return ®ionDiskTypesClient{cc} -} - -func (c *regionDiskTypesClient) Get(ctx context.Context, in *GetRegionDiskTypeRequest, opts ...grpc.CallOption) (*DiskType, error) { - out := new(DiskType) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionDiskTypes/Get", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionDiskTypesClient) List(ctx context.Context, in *ListRegionDiskTypesRequest, opts ...grpc.CallOption) (*RegionDiskTypeList, error) { - out := new(RegionDiskTypeList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionDiskTypes/List", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// RegionDiskTypesServer is the server API for RegionDiskTypes service. -type RegionDiskTypesServer interface { - // Returns the specified regional disk type. - Get(context.Context, *GetRegionDiskTypeRequest) (*DiskType, error) - // Retrieves a list of regional disk types available to the specified project. - List(context.Context, *ListRegionDiskTypesRequest) (*RegionDiskTypeList, error) -} - -// UnimplementedRegionDiskTypesServer can be embedded to have forward compatible implementations. -type UnimplementedRegionDiskTypesServer struct { -} - -func (*UnimplementedRegionDiskTypesServer) Get(context.Context, *GetRegionDiskTypeRequest) (*DiskType, error) { - return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") -} -func (*UnimplementedRegionDiskTypesServer) List(context.Context, *ListRegionDiskTypesRequest) (*RegionDiskTypeList, error) { - return nil, status.Errorf(codes.Unimplemented, "method List not implemented") -} - -func RegisterRegionDiskTypesServer(s *grpc.Server, srv RegionDiskTypesServer) { - s.RegisterService(&_RegionDiskTypes_serviceDesc, srv) -} - -func _RegionDiskTypes_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetRegionDiskTypeRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionDiskTypesServer).Get(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionDiskTypes/Get", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionDiskTypesServer).Get(ctx, req.(*GetRegionDiskTypeRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionDiskTypes_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListRegionDiskTypesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionDiskTypesServer).List(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionDiskTypes/List", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionDiskTypesServer).List(ctx, req.(*ListRegionDiskTypesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _RegionDiskTypes_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.RegionDiskTypes", - HandlerType: (*RegionDiskTypesServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "Get", - Handler: _RegionDiskTypes_Get_Handler, - }, - { - MethodName: "List", - Handler: _RegionDiskTypes_List_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} - -// RegionDisksClient is the client API for RegionDisks service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type RegionDisksClient interface { - // Adds existing resource policies to a regional disk. You can only add one policy which will be applied to this disk for scheduling snapshot creation. - AddResourcePolicies(ctx context.Context, in *AddResourcePoliciesRegionDiskRequest, opts ...grpc.CallOption) (*Operation, error) - // Bulk create a set of disks. - BulkInsert(ctx context.Context, in *BulkInsertRegionDiskRequest, opts ...grpc.CallOption) (*Operation, error) - // Creates a snapshot of a specified persistent disk. For regular snapshot creation, consider using snapshots.insert instead, as that method supports more features, such as creating snapshots in a project different from the source disk project. - CreateSnapshot(ctx context.Context, in *CreateSnapshotRegionDiskRequest, opts ...grpc.CallOption) (*Operation, error) - // Deletes the specified regional persistent disk. Deleting a regional disk removes all the replicas of its data permanently and is irreversible. However, deleting a disk does not delete any snapshots previously made from the disk. You must separately delete snapshots. - Delete(ctx context.Context, in *DeleteRegionDiskRequest, opts ...grpc.CallOption) (*Operation, error) - // Returns a specified regional persistent disk. - Get(ctx context.Context, in *GetRegionDiskRequest, opts ...grpc.CallOption) (*Disk, error) - // Gets the access control policy for a resource. May be empty if no such policy or resource exists. - GetIamPolicy(ctx context.Context, in *GetIamPolicyRegionDiskRequest, opts ...grpc.CallOption) (*Policy, error) - // Creates a persistent regional disk in the specified project using the data included in the request. - Insert(ctx context.Context, in *InsertRegionDiskRequest, opts ...grpc.CallOption) (*Operation, error) - // Retrieves the list of persistent disks contained within the specified region. - List(ctx context.Context, in *ListRegionDisksRequest, opts ...grpc.CallOption) (*DiskList, error) - // Removes resource policies from a regional disk. - RemoveResourcePolicies(ctx context.Context, in *RemoveResourcePoliciesRegionDiskRequest, opts ...grpc.CallOption) (*Operation, error) - // Resizes the specified regional persistent disk. - Resize(ctx context.Context, in *ResizeRegionDiskRequest, opts ...grpc.CallOption) (*Operation, error) - // Sets the access control policy on the specified resource. Replaces any existing policy. - SetIamPolicy(ctx context.Context, in *SetIamPolicyRegionDiskRequest, opts ...grpc.CallOption) (*Policy, error) - // Sets the labels on the target regional disk. - SetLabels(ctx context.Context, in *SetLabelsRegionDiskRequest, opts ...grpc.CallOption) (*Operation, error) - // Starts asynchronous replication. Must be invoked on the primary disk. - StartAsyncReplication(ctx context.Context, in *StartAsyncReplicationRegionDiskRequest, opts ...grpc.CallOption) (*Operation, error) - // Stops asynchronous replication. Can be invoked either on the primary or on the secondary disk. - StopAsyncReplication(ctx context.Context, in *StopAsyncReplicationRegionDiskRequest, opts ...grpc.CallOption) (*Operation, error) - // Stops asynchronous replication for a consistency group of disks. Can be invoked either in the primary or secondary scope. - StopGroupAsyncReplication(ctx context.Context, in *StopGroupAsyncReplicationRegionDiskRequest, opts ...grpc.CallOption) (*Operation, error) - // Returns permissions that a caller has on the specified resource. - TestIamPermissions(ctx context.Context, in *TestIamPermissionsRegionDiskRequest, opts ...grpc.CallOption) (*TestPermissionsResponse, error) - // Update the specified disk with the data included in the request. Update is performed only on selected fields included as part of update-mask. Only the following fields can be modified: user_license. - Update(ctx context.Context, in *UpdateRegionDiskRequest, opts ...grpc.CallOption) (*Operation, error) -} - -type regionDisksClient struct { - cc grpc.ClientConnInterface -} - -func NewRegionDisksClient(cc grpc.ClientConnInterface) RegionDisksClient { - return ®ionDisksClient{cc} -} - -func (c *regionDisksClient) AddResourcePolicies(ctx context.Context, in *AddResourcePoliciesRegionDiskRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionDisks/AddResourcePolicies", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionDisksClient) BulkInsert(ctx context.Context, in *BulkInsertRegionDiskRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionDisks/BulkInsert", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionDisksClient) CreateSnapshot(ctx context.Context, in *CreateSnapshotRegionDiskRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionDisks/CreateSnapshot", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionDisksClient) Delete(ctx context.Context, in *DeleteRegionDiskRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionDisks/Delete", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionDisksClient) Get(ctx context.Context, in *GetRegionDiskRequest, opts ...grpc.CallOption) (*Disk, error) { - out := new(Disk) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionDisks/Get", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionDisksClient) GetIamPolicy(ctx context.Context, in *GetIamPolicyRegionDiskRequest, opts ...grpc.CallOption) (*Policy, error) { - out := new(Policy) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionDisks/GetIamPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionDisksClient) Insert(ctx context.Context, in *InsertRegionDiskRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionDisks/Insert", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionDisksClient) List(ctx context.Context, in *ListRegionDisksRequest, opts ...grpc.CallOption) (*DiskList, error) { - out := new(DiskList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionDisks/List", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionDisksClient) RemoveResourcePolicies(ctx context.Context, in *RemoveResourcePoliciesRegionDiskRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionDisks/RemoveResourcePolicies", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionDisksClient) Resize(ctx context.Context, in *ResizeRegionDiskRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionDisks/Resize", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionDisksClient) SetIamPolicy(ctx context.Context, in *SetIamPolicyRegionDiskRequest, opts ...grpc.CallOption) (*Policy, error) { - out := new(Policy) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionDisks/SetIamPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionDisksClient) SetLabels(ctx context.Context, in *SetLabelsRegionDiskRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionDisks/SetLabels", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionDisksClient) StartAsyncReplication(ctx context.Context, in *StartAsyncReplicationRegionDiskRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionDisks/StartAsyncReplication", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionDisksClient) StopAsyncReplication(ctx context.Context, in *StopAsyncReplicationRegionDiskRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionDisks/StopAsyncReplication", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionDisksClient) StopGroupAsyncReplication(ctx context.Context, in *StopGroupAsyncReplicationRegionDiskRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionDisks/StopGroupAsyncReplication", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionDisksClient) TestIamPermissions(ctx context.Context, in *TestIamPermissionsRegionDiskRequest, opts ...grpc.CallOption) (*TestPermissionsResponse, error) { - out := new(TestPermissionsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionDisks/TestIamPermissions", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionDisksClient) Update(ctx context.Context, in *UpdateRegionDiskRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionDisks/Update", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// RegionDisksServer is the server API for RegionDisks service. -type RegionDisksServer interface { - // Adds existing resource policies to a regional disk. You can only add one policy which will be applied to this disk for scheduling snapshot creation. - AddResourcePolicies(context.Context, *AddResourcePoliciesRegionDiskRequest) (*Operation, error) - // Bulk create a set of disks. - BulkInsert(context.Context, *BulkInsertRegionDiskRequest) (*Operation, error) - // Creates a snapshot of a specified persistent disk. For regular snapshot creation, consider using snapshots.insert instead, as that method supports more features, such as creating snapshots in a project different from the source disk project. - CreateSnapshot(context.Context, *CreateSnapshotRegionDiskRequest) (*Operation, error) - // Deletes the specified regional persistent disk. Deleting a regional disk removes all the replicas of its data permanently and is irreversible. However, deleting a disk does not delete any snapshots previously made from the disk. You must separately delete snapshots. - Delete(context.Context, *DeleteRegionDiskRequest) (*Operation, error) - // Returns a specified regional persistent disk. - Get(context.Context, *GetRegionDiskRequest) (*Disk, error) - // Gets the access control policy for a resource. May be empty if no such policy or resource exists. - GetIamPolicy(context.Context, *GetIamPolicyRegionDiskRequest) (*Policy, error) - // Creates a persistent regional disk in the specified project using the data included in the request. - Insert(context.Context, *InsertRegionDiskRequest) (*Operation, error) - // Retrieves the list of persistent disks contained within the specified region. - List(context.Context, *ListRegionDisksRequest) (*DiskList, error) - // Removes resource policies from a regional disk. - RemoveResourcePolicies(context.Context, *RemoveResourcePoliciesRegionDiskRequest) (*Operation, error) - // Resizes the specified regional persistent disk. - Resize(context.Context, *ResizeRegionDiskRequest) (*Operation, error) - // Sets the access control policy on the specified resource. Replaces any existing policy. - SetIamPolicy(context.Context, *SetIamPolicyRegionDiskRequest) (*Policy, error) - // Sets the labels on the target regional disk. - SetLabels(context.Context, *SetLabelsRegionDiskRequest) (*Operation, error) - // Starts asynchronous replication. Must be invoked on the primary disk. - StartAsyncReplication(context.Context, *StartAsyncReplicationRegionDiskRequest) (*Operation, error) - // Stops asynchronous replication. Can be invoked either on the primary or on the secondary disk. - StopAsyncReplication(context.Context, *StopAsyncReplicationRegionDiskRequest) (*Operation, error) - // Stops asynchronous replication for a consistency group of disks. Can be invoked either in the primary or secondary scope. - StopGroupAsyncReplication(context.Context, *StopGroupAsyncReplicationRegionDiskRequest) (*Operation, error) - // Returns permissions that a caller has on the specified resource. - TestIamPermissions(context.Context, *TestIamPermissionsRegionDiskRequest) (*TestPermissionsResponse, error) - // Update the specified disk with the data included in the request. Update is performed only on selected fields included as part of update-mask. Only the following fields can be modified: user_license. - Update(context.Context, *UpdateRegionDiskRequest) (*Operation, error) -} - -// UnimplementedRegionDisksServer can be embedded to have forward compatible implementations. -type UnimplementedRegionDisksServer struct { -} - -func (*UnimplementedRegionDisksServer) AddResourcePolicies(context.Context, *AddResourcePoliciesRegionDiskRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method AddResourcePolicies not implemented") -} -func (*UnimplementedRegionDisksServer) BulkInsert(context.Context, *BulkInsertRegionDiskRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method BulkInsert not implemented") -} -func (*UnimplementedRegionDisksServer) CreateSnapshot(context.Context, *CreateSnapshotRegionDiskRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateSnapshot not implemented") -} -func (*UnimplementedRegionDisksServer) Delete(context.Context, *DeleteRegionDiskRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") -} -func (*UnimplementedRegionDisksServer) Get(context.Context, *GetRegionDiskRequest) (*Disk, error) { - return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") -} -func (*UnimplementedRegionDisksServer) GetIamPolicy(context.Context, *GetIamPolicyRegionDiskRequest) (*Policy, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetIamPolicy not implemented") -} -func (*UnimplementedRegionDisksServer) Insert(context.Context, *InsertRegionDiskRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Insert not implemented") -} -func (*UnimplementedRegionDisksServer) List(context.Context, *ListRegionDisksRequest) (*DiskList, error) { - return nil, status.Errorf(codes.Unimplemented, "method List not implemented") -} -func (*UnimplementedRegionDisksServer) RemoveResourcePolicies(context.Context, *RemoveResourcePoliciesRegionDiskRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method RemoveResourcePolicies not implemented") -} -func (*UnimplementedRegionDisksServer) Resize(context.Context, *ResizeRegionDiskRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Resize not implemented") -} -func (*UnimplementedRegionDisksServer) SetIamPolicy(context.Context, *SetIamPolicyRegionDiskRequest) (*Policy, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetIamPolicy not implemented") -} -func (*UnimplementedRegionDisksServer) SetLabels(context.Context, *SetLabelsRegionDiskRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetLabels not implemented") -} -func (*UnimplementedRegionDisksServer) StartAsyncReplication(context.Context, *StartAsyncReplicationRegionDiskRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method StartAsyncReplication not implemented") -} -func (*UnimplementedRegionDisksServer) StopAsyncReplication(context.Context, *StopAsyncReplicationRegionDiskRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method StopAsyncReplication not implemented") -} -func (*UnimplementedRegionDisksServer) StopGroupAsyncReplication(context.Context, *StopGroupAsyncReplicationRegionDiskRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method StopGroupAsyncReplication not implemented") -} -func (*UnimplementedRegionDisksServer) TestIamPermissions(context.Context, *TestIamPermissionsRegionDiskRequest) (*TestPermissionsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method TestIamPermissions not implemented") -} -func (*UnimplementedRegionDisksServer) Update(context.Context, *UpdateRegionDiskRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Update not implemented") -} - -func RegisterRegionDisksServer(s *grpc.Server, srv RegionDisksServer) { - s.RegisterService(&_RegionDisks_serviceDesc, srv) -} - -func _RegionDisks_AddResourcePolicies_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AddResourcePoliciesRegionDiskRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionDisksServer).AddResourcePolicies(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionDisks/AddResourcePolicies", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionDisksServer).AddResourcePolicies(ctx, req.(*AddResourcePoliciesRegionDiskRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionDisks_BulkInsert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(BulkInsertRegionDiskRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionDisksServer).BulkInsert(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionDisks/BulkInsert", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionDisksServer).BulkInsert(ctx, req.(*BulkInsertRegionDiskRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionDisks_CreateSnapshot_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateSnapshotRegionDiskRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionDisksServer).CreateSnapshot(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionDisks/CreateSnapshot", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionDisksServer).CreateSnapshot(ctx, req.(*CreateSnapshotRegionDiskRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionDisks_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteRegionDiskRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionDisksServer).Delete(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionDisks/Delete", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionDisksServer).Delete(ctx, req.(*DeleteRegionDiskRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionDisks_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetRegionDiskRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionDisksServer).Get(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionDisks/Get", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionDisksServer).Get(ctx, req.(*GetRegionDiskRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionDisks_GetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetIamPolicyRegionDiskRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionDisksServer).GetIamPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionDisks/GetIamPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionDisksServer).GetIamPolicy(ctx, req.(*GetIamPolicyRegionDiskRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionDisks_Insert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(InsertRegionDiskRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionDisksServer).Insert(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionDisks/Insert", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionDisksServer).Insert(ctx, req.(*InsertRegionDiskRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionDisks_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListRegionDisksRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionDisksServer).List(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionDisks/List", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionDisksServer).List(ctx, req.(*ListRegionDisksRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionDisks_RemoveResourcePolicies_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RemoveResourcePoliciesRegionDiskRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionDisksServer).RemoveResourcePolicies(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionDisks/RemoveResourcePolicies", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionDisksServer).RemoveResourcePolicies(ctx, req.(*RemoveResourcePoliciesRegionDiskRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionDisks_Resize_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ResizeRegionDiskRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionDisksServer).Resize(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionDisks/Resize", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionDisksServer).Resize(ctx, req.(*ResizeRegionDiskRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionDisks_SetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetIamPolicyRegionDiskRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionDisksServer).SetIamPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionDisks/SetIamPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionDisksServer).SetIamPolicy(ctx, req.(*SetIamPolicyRegionDiskRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionDisks_SetLabels_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetLabelsRegionDiskRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionDisksServer).SetLabels(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionDisks/SetLabels", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionDisksServer).SetLabels(ctx, req.(*SetLabelsRegionDiskRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionDisks_StartAsyncReplication_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(StartAsyncReplicationRegionDiskRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionDisksServer).StartAsyncReplication(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionDisks/StartAsyncReplication", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionDisksServer).StartAsyncReplication(ctx, req.(*StartAsyncReplicationRegionDiskRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionDisks_StopAsyncReplication_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(StopAsyncReplicationRegionDiskRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionDisksServer).StopAsyncReplication(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionDisks/StopAsyncReplication", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionDisksServer).StopAsyncReplication(ctx, req.(*StopAsyncReplicationRegionDiskRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionDisks_StopGroupAsyncReplication_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(StopGroupAsyncReplicationRegionDiskRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionDisksServer).StopGroupAsyncReplication(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionDisks/StopGroupAsyncReplication", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionDisksServer).StopGroupAsyncReplication(ctx, req.(*StopGroupAsyncReplicationRegionDiskRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionDisks_TestIamPermissions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(TestIamPermissionsRegionDiskRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionDisksServer).TestIamPermissions(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionDisks/TestIamPermissions", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionDisksServer).TestIamPermissions(ctx, req.(*TestIamPermissionsRegionDiskRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionDisks_Update_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateRegionDiskRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionDisksServer).Update(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionDisks/Update", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionDisksServer).Update(ctx, req.(*UpdateRegionDiskRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _RegionDisks_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.RegionDisks", - HandlerType: (*RegionDisksServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "AddResourcePolicies", - Handler: _RegionDisks_AddResourcePolicies_Handler, - }, - { - MethodName: "BulkInsert", - Handler: _RegionDisks_BulkInsert_Handler, - }, - { - MethodName: "CreateSnapshot", - Handler: _RegionDisks_CreateSnapshot_Handler, - }, - { - MethodName: "Delete", - Handler: _RegionDisks_Delete_Handler, - }, - { - MethodName: "Get", - Handler: _RegionDisks_Get_Handler, - }, - { - MethodName: "GetIamPolicy", - Handler: _RegionDisks_GetIamPolicy_Handler, - }, - { - MethodName: "Insert", - Handler: _RegionDisks_Insert_Handler, - }, - { - MethodName: "List", - Handler: _RegionDisks_List_Handler, - }, - { - MethodName: "RemoveResourcePolicies", - Handler: _RegionDisks_RemoveResourcePolicies_Handler, - }, - { - MethodName: "Resize", - Handler: _RegionDisks_Resize_Handler, - }, - { - MethodName: "SetIamPolicy", - Handler: _RegionDisks_SetIamPolicy_Handler, - }, - { - MethodName: "SetLabels", - Handler: _RegionDisks_SetLabels_Handler, - }, - { - MethodName: "StartAsyncReplication", - Handler: _RegionDisks_StartAsyncReplication_Handler, - }, - { - MethodName: "StopAsyncReplication", - Handler: _RegionDisks_StopAsyncReplication_Handler, - }, - { - MethodName: "StopGroupAsyncReplication", - Handler: _RegionDisks_StopGroupAsyncReplication_Handler, - }, - { - MethodName: "TestIamPermissions", - Handler: _RegionDisks_TestIamPermissions_Handler, - }, - { - MethodName: "Update", - Handler: _RegionDisks_Update_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} - -// RegionHealthCheckServicesClient is the client API for RegionHealthCheckServices service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type RegionHealthCheckServicesClient interface { - // Deletes the specified regional HealthCheckService. - Delete(ctx context.Context, in *DeleteRegionHealthCheckServiceRequest, opts ...grpc.CallOption) (*Operation, error) - // Returns the specified regional HealthCheckService resource. - Get(ctx context.Context, in *GetRegionHealthCheckServiceRequest, opts ...grpc.CallOption) (*HealthCheckService, error) - // Creates a regional HealthCheckService resource in the specified project and region using the data included in the request. - Insert(ctx context.Context, in *InsertRegionHealthCheckServiceRequest, opts ...grpc.CallOption) (*Operation, error) - // Lists all the HealthCheckService resources that have been configured for the specified project in the given region. - List(ctx context.Context, in *ListRegionHealthCheckServicesRequest, opts ...grpc.CallOption) (*HealthCheckServicesList, error) - // Updates the specified regional HealthCheckService resource with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. - Patch(ctx context.Context, in *PatchRegionHealthCheckServiceRequest, opts ...grpc.CallOption) (*Operation, error) -} - -type regionHealthCheckServicesClient struct { - cc grpc.ClientConnInterface -} - -func NewRegionHealthCheckServicesClient(cc grpc.ClientConnInterface) RegionHealthCheckServicesClient { - return ®ionHealthCheckServicesClient{cc} -} - -func (c *regionHealthCheckServicesClient) Delete(ctx context.Context, in *DeleteRegionHealthCheckServiceRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionHealthCheckServices/Delete", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionHealthCheckServicesClient) Get(ctx context.Context, in *GetRegionHealthCheckServiceRequest, opts ...grpc.CallOption) (*HealthCheckService, error) { - out := new(HealthCheckService) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionHealthCheckServices/Get", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionHealthCheckServicesClient) Insert(ctx context.Context, in *InsertRegionHealthCheckServiceRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionHealthCheckServices/Insert", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionHealthCheckServicesClient) List(ctx context.Context, in *ListRegionHealthCheckServicesRequest, opts ...grpc.CallOption) (*HealthCheckServicesList, error) { - out := new(HealthCheckServicesList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionHealthCheckServices/List", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionHealthCheckServicesClient) Patch(ctx context.Context, in *PatchRegionHealthCheckServiceRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionHealthCheckServices/Patch", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// RegionHealthCheckServicesServer is the server API for RegionHealthCheckServices service. -type RegionHealthCheckServicesServer interface { - // Deletes the specified regional HealthCheckService. - Delete(context.Context, *DeleteRegionHealthCheckServiceRequest) (*Operation, error) - // Returns the specified regional HealthCheckService resource. - Get(context.Context, *GetRegionHealthCheckServiceRequest) (*HealthCheckService, error) - // Creates a regional HealthCheckService resource in the specified project and region using the data included in the request. - Insert(context.Context, *InsertRegionHealthCheckServiceRequest) (*Operation, error) - // Lists all the HealthCheckService resources that have been configured for the specified project in the given region. - List(context.Context, *ListRegionHealthCheckServicesRequest) (*HealthCheckServicesList, error) - // Updates the specified regional HealthCheckService resource with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. - Patch(context.Context, *PatchRegionHealthCheckServiceRequest) (*Operation, error) -} - -// UnimplementedRegionHealthCheckServicesServer can be embedded to have forward compatible implementations. -type UnimplementedRegionHealthCheckServicesServer struct { -} - -func (*UnimplementedRegionHealthCheckServicesServer) Delete(context.Context, *DeleteRegionHealthCheckServiceRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") -} -func (*UnimplementedRegionHealthCheckServicesServer) Get(context.Context, *GetRegionHealthCheckServiceRequest) (*HealthCheckService, error) { - return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") -} -func (*UnimplementedRegionHealthCheckServicesServer) Insert(context.Context, *InsertRegionHealthCheckServiceRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Insert not implemented") -} -func (*UnimplementedRegionHealthCheckServicesServer) List(context.Context, *ListRegionHealthCheckServicesRequest) (*HealthCheckServicesList, error) { - return nil, status.Errorf(codes.Unimplemented, "method List not implemented") -} -func (*UnimplementedRegionHealthCheckServicesServer) Patch(context.Context, *PatchRegionHealthCheckServiceRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Patch not implemented") -} - -func RegisterRegionHealthCheckServicesServer(s *grpc.Server, srv RegionHealthCheckServicesServer) { - s.RegisterService(&_RegionHealthCheckServices_serviceDesc, srv) -} - -func _RegionHealthCheckServices_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteRegionHealthCheckServiceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionHealthCheckServicesServer).Delete(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionHealthCheckServices/Delete", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionHealthCheckServicesServer).Delete(ctx, req.(*DeleteRegionHealthCheckServiceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionHealthCheckServices_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetRegionHealthCheckServiceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionHealthCheckServicesServer).Get(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionHealthCheckServices/Get", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionHealthCheckServicesServer).Get(ctx, req.(*GetRegionHealthCheckServiceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionHealthCheckServices_Insert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(InsertRegionHealthCheckServiceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionHealthCheckServicesServer).Insert(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionHealthCheckServices/Insert", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionHealthCheckServicesServer).Insert(ctx, req.(*InsertRegionHealthCheckServiceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionHealthCheckServices_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListRegionHealthCheckServicesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionHealthCheckServicesServer).List(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionHealthCheckServices/List", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionHealthCheckServicesServer).List(ctx, req.(*ListRegionHealthCheckServicesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionHealthCheckServices_Patch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PatchRegionHealthCheckServiceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionHealthCheckServicesServer).Patch(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionHealthCheckServices/Patch", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionHealthCheckServicesServer).Patch(ctx, req.(*PatchRegionHealthCheckServiceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _RegionHealthCheckServices_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.RegionHealthCheckServices", - HandlerType: (*RegionHealthCheckServicesServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "Delete", - Handler: _RegionHealthCheckServices_Delete_Handler, - }, - { - MethodName: "Get", - Handler: _RegionHealthCheckServices_Get_Handler, - }, - { - MethodName: "Insert", - Handler: _RegionHealthCheckServices_Insert_Handler, - }, - { - MethodName: "List", - Handler: _RegionHealthCheckServices_List_Handler, - }, - { - MethodName: "Patch", - Handler: _RegionHealthCheckServices_Patch_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} - -// RegionHealthChecksClient is the client API for RegionHealthChecks service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type RegionHealthChecksClient interface { - // Deletes the specified HealthCheck resource. - Delete(ctx context.Context, in *DeleteRegionHealthCheckRequest, opts ...grpc.CallOption) (*Operation, error) - // Returns the specified HealthCheck resource. - Get(ctx context.Context, in *GetRegionHealthCheckRequest, opts ...grpc.CallOption) (*HealthCheck, error) - // Creates a HealthCheck resource in the specified project using the data included in the request. - Insert(ctx context.Context, in *InsertRegionHealthCheckRequest, opts ...grpc.CallOption) (*Operation, error) - // Retrieves the list of HealthCheck resources available to the specified project. - List(ctx context.Context, in *ListRegionHealthChecksRequest, opts ...grpc.CallOption) (*HealthCheckList, error) - // Updates a HealthCheck resource in the specified project using the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. - Patch(ctx context.Context, in *PatchRegionHealthCheckRequest, opts ...grpc.CallOption) (*Operation, error) - // Updates a HealthCheck resource in the specified project using the data included in the request. - Update(ctx context.Context, in *UpdateRegionHealthCheckRequest, opts ...grpc.CallOption) (*Operation, error) -} - -type regionHealthChecksClient struct { - cc grpc.ClientConnInterface -} - -func NewRegionHealthChecksClient(cc grpc.ClientConnInterface) RegionHealthChecksClient { - return ®ionHealthChecksClient{cc} -} - -func (c *regionHealthChecksClient) Delete(ctx context.Context, in *DeleteRegionHealthCheckRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionHealthChecks/Delete", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionHealthChecksClient) Get(ctx context.Context, in *GetRegionHealthCheckRequest, opts ...grpc.CallOption) (*HealthCheck, error) { - out := new(HealthCheck) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionHealthChecks/Get", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionHealthChecksClient) Insert(ctx context.Context, in *InsertRegionHealthCheckRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionHealthChecks/Insert", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionHealthChecksClient) List(ctx context.Context, in *ListRegionHealthChecksRequest, opts ...grpc.CallOption) (*HealthCheckList, error) { - out := new(HealthCheckList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionHealthChecks/List", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionHealthChecksClient) Patch(ctx context.Context, in *PatchRegionHealthCheckRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionHealthChecks/Patch", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionHealthChecksClient) Update(ctx context.Context, in *UpdateRegionHealthCheckRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionHealthChecks/Update", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// RegionHealthChecksServer is the server API for RegionHealthChecks service. -type RegionHealthChecksServer interface { - // Deletes the specified HealthCheck resource. - Delete(context.Context, *DeleteRegionHealthCheckRequest) (*Operation, error) - // Returns the specified HealthCheck resource. - Get(context.Context, *GetRegionHealthCheckRequest) (*HealthCheck, error) - // Creates a HealthCheck resource in the specified project using the data included in the request. - Insert(context.Context, *InsertRegionHealthCheckRequest) (*Operation, error) - // Retrieves the list of HealthCheck resources available to the specified project. - List(context.Context, *ListRegionHealthChecksRequest) (*HealthCheckList, error) - // Updates a HealthCheck resource in the specified project using the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. - Patch(context.Context, *PatchRegionHealthCheckRequest) (*Operation, error) - // Updates a HealthCheck resource in the specified project using the data included in the request. - Update(context.Context, *UpdateRegionHealthCheckRequest) (*Operation, error) -} - -// UnimplementedRegionHealthChecksServer can be embedded to have forward compatible implementations. -type UnimplementedRegionHealthChecksServer struct { -} - -func (*UnimplementedRegionHealthChecksServer) Delete(context.Context, *DeleteRegionHealthCheckRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") -} -func (*UnimplementedRegionHealthChecksServer) Get(context.Context, *GetRegionHealthCheckRequest) (*HealthCheck, error) { - return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") -} -func (*UnimplementedRegionHealthChecksServer) Insert(context.Context, *InsertRegionHealthCheckRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Insert not implemented") -} -func (*UnimplementedRegionHealthChecksServer) List(context.Context, *ListRegionHealthChecksRequest) (*HealthCheckList, error) { - return nil, status.Errorf(codes.Unimplemented, "method List not implemented") -} -func (*UnimplementedRegionHealthChecksServer) Patch(context.Context, *PatchRegionHealthCheckRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Patch not implemented") -} -func (*UnimplementedRegionHealthChecksServer) Update(context.Context, *UpdateRegionHealthCheckRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Update not implemented") -} - -func RegisterRegionHealthChecksServer(s *grpc.Server, srv RegionHealthChecksServer) { - s.RegisterService(&_RegionHealthChecks_serviceDesc, srv) -} - -func _RegionHealthChecks_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteRegionHealthCheckRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionHealthChecksServer).Delete(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionHealthChecks/Delete", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionHealthChecksServer).Delete(ctx, req.(*DeleteRegionHealthCheckRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionHealthChecks_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetRegionHealthCheckRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionHealthChecksServer).Get(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionHealthChecks/Get", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionHealthChecksServer).Get(ctx, req.(*GetRegionHealthCheckRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionHealthChecks_Insert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(InsertRegionHealthCheckRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionHealthChecksServer).Insert(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionHealthChecks/Insert", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionHealthChecksServer).Insert(ctx, req.(*InsertRegionHealthCheckRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionHealthChecks_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListRegionHealthChecksRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionHealthChecksServer).List(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionHealthChecks/List", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionHealthChecksServer).List(ctx, req.(*ListRegionHealthChecksRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionHealthChecks_Patch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PatchRegionHealthCheckRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionHealthChecksServer).Patch(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionHealthChecks/Patch", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionHealthChecksServer).Patch(ctx, req.(*PatchRegionHealthCheckRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionHealthChecks_Update_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateRegionHealthCheckRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionHealthChecksServer).Update(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionHealthChecks/Update", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionHealthChecksServer).Update(ctx, req.(*UpdateRegionHealthCheckRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _RegionHealthChecks_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.RegionHealthChecks", - HandlerType: (*RegionHealthChecksServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "Delete", - Handler: _RegionHealthChecks_Delete_Handler, - }, - { - MethodName: "Get", - Handler: _RegionHealthChecks_Get_Handler, - }, - { - MethodName: "Insert", - Handler: _RegionHealthChecks_Insert_Handler, - }, - { - MethodName: "List", - Handler: _RegionHealthChecks_List_Handler, - }, - { - MethodName: "Patch", - Handler: _RegionHealthChecks_Patch_Handler, - }, - { - MethodName: "Update", - Handler: _RegionHealthChecks_Update_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} - -// RegionInstanceGroupManagersClient is the client API for RegionInstanceGroupManagers service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type RegionInstanceGroupManagersClient interface { - // Flags the specified instances to be immediately removed from the managed instance group. Abandoning an instance does not delete the instance, but it does remove the instance from any target pools that are applied by the managed instance group. This method reduces the targetSize of the managed instance group by the number of instances that you abandon. This operation is marked as DONE when the action is scheduled even if the instances have not yet been removed from the group. You must separately verify the status of the abandoning action with the listmanagedinstances method. If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted. You can specify a maximum of 1000 instances with this method per request. - AbandonInstances(ctx context.Context, in *AbandonInstancesRegionInstanceGroupManagerRequest, opts ...grpc.CallOption) (*Operation, error) - // Apply updates to selected instances the managed instance group. - ApplyUpdatesToInstances(ctx context.Context, in *ApplyUpdatesToInstancesRegionInstanceGroupManagerRequest, opts ...grpc.CallOption) (*Operation, error) - // Creates instances with per-instance configurations in this regional managed instance group. Instances are created using the current instance template. The create instances operation is marked DONE if the createInstances request is successful. The underlying actions take additional time. You must separately verify the status of the creating or actions with the listmanagedinstances method. - CreateInstances(ctx context.Context, in *CreateInstancesRegionInstanceGroupManagerRequest, opts ...grpc.CallOption) (*Operation, error) - // Deletes the specified managed instance group and all of the instances in that group. - Delete(ctx context.Context, in *DeleteRegionInstanceGroupManagerRequest, opts ...grpc.CallOption) (*Operation, error) - // Flags the specified instances in the managed instance group to be immediately deleted. The instances are also removed from any target pools of which they were a member. This method reduces the targetSize of the managed instance group by the number of instances that you delete. The deleteInstances operation is marked DONE if the deleteInstances request is successful. The underlying actions take additional time. You must separately verify the status of the deleting action with the listmanagedinstances method. If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted. You can specify a maximum of 1000 instances with this method per request. - DeleteInstances(ctx context.Context, in *DeleteInstancesRegionInstanceGroupManagerRequest, opts ...grpc.CallOption) (*Operation, error) - // Deletes selected per-instance configurations for the managed instance group. - DeletePerInstanceConfigs(ctx context.Context, in *DeletePerInstanceConfigsRegionInstanceGroupManagerRequest, opts ...grpc.CallOption) (*Operation, error) - // Returns all of the details about the specified managed instance group. - Get(ctx context.Context, in *GetRegionInstanceGroupManagerRequest, opts ...grpc.CallOption) (*InstanceGroupManager, error) - // Creates a managed instance group using the information that you specify in the request. After the group is created, instances in the group are created using the specified instance template. This operation is marked as DONE when the group is created even if the instances in the group have not yet been created. You must separately verify the status of the individual instances with the listmanagedinstances method. A regional managed instance group can contain up to 2000 instances. - Insert(ctx context.Context, in *InsertRegionInstanceGroupManagerRequest, opts ...grpc.CallOption) (*Operation, error) - // Retrieves the list of managed instance groups that are contained within the specified region. - List(ctx context.Context, in *ListRegionInstanceGroupManagersRequest, opts ...grpc.CallOption) (*RegionInstanceGroupManagerList, error) - // Lists all errors thrown by actions on instances for a given regional managed instance group. The filter and orderBy query parameters are not supported. - ListErrors(ctx context.Context, in *ListErrorsRegionInstanceGroupManagersRequest, opts ...grpc.CallOption) (*RegionInstanceGroupManagersListErrorsResponse, error) - // Lists the instances in the managed instance group and instances that are scheduled to be created. The list includes any current actions that the group has scheduled for its instances. The orderBy query parameter is not supported. The `pageToken` query parameter is supported only if the group's `listManagedInstancesResults` field is set to `PAGINATED`. - ListManagedInstances(ctx context.Context, in *ListManagedInstancesRegionInstanceGroupManagersRequest, opts ...grpc.CallOption) (*RegionInstanceGroupManagersListInstancesResponse, error) - // Lists all of the per-instance configurations defined for the managed instance group. The orderBy query parameter is not supported. - ListPerInstanceConfigs(ctx context.Context, in *ListPerInstanceConfigsRegionInstanceGroupManagersRequest, opts ...grpc.CallOption) (*RegionInstanceGroupManagersListInstanceConfigsResp, error) - // Updates a managed instance group using the information that you specify in the request. This operation is marked as DONE when the group is patched even if the instances in the group are still in the process of being patched. You must separately verify the status of the individual instances with the listmanagedinstances method. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. If you update your group to specify a new template or instance configuration, it's possible that your intended specification for each VM in the group is different from the current state of that VM. To learn how to apply an updated configuration to the VMs in a MIG, see Updating instances in a MIG. - Patch(ctx context.Context, in *PatchRegionInstanceGroupManagerRequest, opts ...grpc.CallOption) (*Operation, error) - // Inserts or patches per-instance configurations for the managed instance group. perInstanceConfig.name serves as a key used to distinguish whether to perform insert or patch. - PatchPerInstanceConfigs(ctx context.Context, in *PatchPerInstanceConfigsRegionInstanceGroupManagerRequest, opts ...grpc.CallOption) (*Operation, error) - // Flags the specified VM instances in the managed instance group to be immediately recreated. Each instance is recreated using the group's current configuration. This operation is marked as DONE when the flag is set even if the instances have not yet been recreated. You must separately verify the status of each instance by checking its currentAction field; for more information, see Checking the status of managed instances. If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted. You can specify a maximum of 1000 instances with this method per request. - RecreateInstances(ctx context.Context, in *RecreateInstancesRegionInstanceGroupManagerRequest, opts ...grpc.CallOption) (*Operation, error) - // Changes the intended size of the managed instance group. If you increase the size, the group creates new instances using the current instance template. If you decrease the size, the group deletes one or more instances. The resize operation is marked DONE if the resize request is successful. The underlying actions take additional time. You must separately verify the status of the creating or deleting actions with the listmanagedinstances method. If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted. - Resize(ctx context.Context, in *ResizeRegionInstanceGroupManagerRequest, opts ...grpc.CallOption) (*Operation, error) - // Sets the instance template to use when creating new instances or recreating instances in this group. Existing instances are not affected. - SetInstanceTemplate(ctx context.Context, in *SetInstanceTemplateRegionInstanceGroupManagerRequest, opts ...grpc.CallOption) (*Operation, error) - // Modifies the target pools to which all new instances in this group are assigned. Existing instances in the group are not affected. - SetTargetPools(ctx context.Context, in *SetTargetPoolsRegionInstanceGroupManagerRequest, opts ...grpc.CallOption) (*Operation, error) - // Inserts or updates per-instance configurations for the managed instance group. perInstanceConfig.name serves as a key used to distinguish whether to perform insert or patch. - UpdatePerInstanceConfigs(ctx context.Context, in *UpdatePerInstanceConfigsRegionInstanceGroupManagerRequest, opts ...grpc.CallOption) (*Operation, error) -} - -type regionInstanceGroupManagersClient struct { - cc grpc.ClientConnInterface -} - -func NewRegionInstanceGroupManagersClient(cc grpc.ClientConnInterface) RegionInstanceGroupManagersClient { - return ®ionInstanceGroupManagersClient{cc} -} - -func (c *regionInstanceGroupManagersClient) AbandonInstances(ctx context.Context, in *AbandonInstancesRegionInstanceGroupManagerRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionInstanceGroupManagers/AbandonInstances", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionInstanceGroupManagersClient) ApplyUpdatesToInstances(ctx context.Context, in *ApplyUpdatesToInstancesRegionInstanceGroupManagerRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionInstanceGroupManagers/ApplyUpdatesToInstances", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionInstanceGroupManagersClient) CreateInstances(ctx context.Context, in *CreateInstancesRegionInstanceGroupManagerRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionInstanceGroupManagers/CreateInstances", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionInstanceGroupManagersClient) Delete(ctx context.Context, in *DeleteRegionInstanceGroupManagerRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionInstanceGroupManagers/Delete", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionInstanceGroupManagersClient) DeleteInstances(ctx context.Context, in *DeleteInstancesRegionInstanceGroupManagerRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionInstanceGroupManagers/DeleteInstances", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionInstanceGroupManagersClient) DeletePerInstanceConfigs(ctx context.Context, in *DeletePerInstanceConfigsRegionInstanceGroupManagerRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionInstanceGroupManagers/DeletePerInstanceConfigs", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionInstanceGroupManagersClient) Get(ctx context.Context, in *GetRegionInstanceGroupManagerRequest, opts ...grpc.CallOption) (*InstanceGroupManager, error) { - out := new(InstanceGroupManager) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionInstanceGroupManagers/Get", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionInstanceGroupManagersClient) Insert(ctx context.Context, in *InsertRegionInstanceGroupManagerRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionInstanceGroupManagers/Insert", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionInstanceGroupManagersClient) List(ctx context.Context, in *ListRegionInstanceGroupManagersRequest, opts ...grpc.CallOption) (*RegionInstanceGroupManagerList, error) { - out := new(RegionInstanceGroupManagerList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionInstanceGroupManagers/List", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionInstanceGroupManagersClient) ListErrors(ctx context.Context, in *ListErrorsRegionInstanceGroupManagersRequest, opts ...grpc.CallOption) (*RegionInstanceGroupManagersListErrorsResponse, error) { - out := new(RegionInstanceGroupManagersListErrorsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionInstanceGroupManagers/ListErrors", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionInstanceGroupManagersClient) ListManagedInstances(ctx context.Context, in *ListManagedInstancesRegionInstanceGroupManagersRequest, opts ...grpc.CallOption) (*RegionInstanceGroupManagersListInstancesResponse, error) { - out := new(RegionInstanceGroupManagersListInstancesResponse) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionInstanceGroupManagers/ListManagedInstances", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionInstanceGroupManagersClient) ListPerInstanceConfigs(ctx context.Context, in *ListPerInstanceConfigsRegionInstanceGroupManagersRequest, opts ...grpc.CallOption) (*RegionInstanceGroupManagersListInstanceConfigsResp, error) { - out := new(RegionInstanceGroupManagersListInstanceConfigsResp) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionInstanceGroupManagers/ListPerInstanceConfigs", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionInstanceGroupManagersClient) Patch(ctx context.Context, in *PatchRegionInstanceGroupManagerRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionInstanceGroupManagers/Patch", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionInstanceGroupManagersClient) PatchPerInstanceConfigs(ctx context.Context, in *PatchPerInstanceConfigsRegionInstanceGroupManagerRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionInstanceGroupManagers/PatchPerInstanceConfigs", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionInstanceGroupManagersClient) RecreateInstances(ctx context.Context, in *RecreateInstancesRegionInstanceGroupManagerRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionInstanceGroupManagers/RecreateInstances", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionInstanceGroupManagersClient) Resize(ctx context.Context, in *ResizeRegionInstanceGroupManagerRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionInstanceGroupManagers/Resize", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionInstanceGroupManagersClient) SetInstanceTemplate(ctx context.Context, in *SetInstanceTemplateRegionInstanceGroupManagerRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionInstanceGroupManagers/SetInstanceTemplate", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionInstanceGroupManagersClient) SetTargetPools(ctx context.Context, in *SetTargetPoolsRegionInstanceGroupManagerRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionInstanceGroupManagers/SetTargetPools", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionInstanceGroupManagersClient) UpdatePerInstanceConfigs(ctx context.Context, in *UpdatePerInstanceConfigsRegionInstanceGroupManagerRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionInstanceGroupManagers/UpdatePerInstanceConfigs", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// RegionInstanceGroupManagersServer is the server API for RegionInstanceGroupManagers service. -type RegionInstanceGroupManagersServer interface { - // Flags the specified instances to be immediately removed from the managed instance group. Abandoning an instance does not delete the instance, but it does remove the instance from any target pools that are applied by the managed instance group. This method reduces the targetSize of the managed instance group by the number of instances that you abandon. This operation is marked as DONE when the action is scheduled even if the instances have not yet been removed from the group. You must separately verify the status of the abandoning action with the listmanagedinstances method. If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted. You can specify a maximum of 1000 instances with this method per request. - AbandonInstances(context.Context, *AbandonInstancesRegionInstanceGroupManagerRequest) (*Operation, error) - // Apply updates to selected instances the managed instance group. - ApplyUpdatesToInstances(context.Context, *ApplyUpdatesToInstancesRegionInstanceGroupManagerRequest) (*Operation, error) - // Creates instances with per-instance configurations in this regional managed instance group. Instances are created using the current instance template. The create instances operation is marked DONE if the createInstances request is successful. The underlying actions take additional time. You must separately verify the status of the creating or actions with the listmanagedinstances method. - CreateInstances(context.Context, *CreateInstancesRegionInstanceGroupManagerRequest) (*Operation, error) - // Deletes the specified managed instance group and all of the instances in that group. - Delete(context.Context, *DeleteRegionInstanceGroupManagerRequest) (*Operation, error) - // Flags the specified instances in the managed instance group to be immediately deleted. The instances are also removed from any target pools of which they were a member. This method reduces the targetSize of the managed instance group by the number of instances that you delete. The deleteInstances operation is marked DONE if the deleteInstances request is successful. The underlying actions take additional time. You must separately verify the status of the deleting action with the listmanagedinstances method. If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted. You can specify a maximum of 1000 instances with this method per request. - DeleteInstances(context.Context, *DeleteInstancesRegionInstanceGroupManagerRequest) (*Operation, error) - // Deletes selected per-instance configurations for the managed instance group. - DeletePerInstanceConfigs(context.Context, *DeletePerInstanceConfigsRegionInstanceGroupManagerRequest) (*Operation, error) - // Returns all of the details about the specified managed instance group. - Get(context.Context, *GetRegionInstanceGroupManagerRequest) (*InstanceGroupManager, error) - // Creates a managed instance group using the information that you specify in the request. After the group is created, instances in the group are created using the specified instance template. This operation is marked as DONE when the group is created even if the instances in the group have not yet been created. You must separately verify the status of the individual instances with the listmanagedinstances method. A regional managed instance group can contain up to 2000 instances. - Insert(context.Context, *InsertRegionInstanceGroupManagerRequest) (*Operation, error) - // Retrieves the list of managed instance groups that are contained within the specified region. - List(context.Context, *ListRegionInstanceGroupManagersRequest) (*RegionInstanceGroupManagerList, error) - // Lists all errors thrown by actions on instances for a given regional managed instance group. The filter and orderBy query parameters are not supported. - ListErrors(context.Context, *ListErrorsRegionInstanceGroupManagersRequest) (*RegionInstanceGroupManagersListErrorsResponse, error) - // Lists the instances in the managed instance group and instances that are scheduled to be created. The list includes any current actions that the group has scheduled for its instances. The orderBy query parameter is not supported. The `pageToken` query parameter is supported only if the group's `listManagedInstancesResults` field is set to `PAGINATED`. - ListManagedInstances(context.Context, *ListManagedInstancesRegionInstanceGroupManagersRequest) (*RegionInstanceGroupManagersListInstancesResponse, error) - // Lists all of the per-instance configurations defined for the managed instance group. The orderBy query parameter is not supported. - ListPerInstanceConfigs(context.Context, *ListPerInstanceConfigsRegionInstanceGroupManagersRequest) (*RegionInstanceGroupManagersListInstanceConfigsResp, error) - // Updates a managed instance group using the information that you specify in the request. This operation is marked as DONE when the group is patched even if the instances in the group are still in the process of being patched. You must separately verify the status of the individual instances with the listmanagedinstances method. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. If you update your group to specify a new template or instance configuration, it's possible that your intended specification for each VM in the group is different from the current state of that VM. To learn how to apply an updated configuration to the VMs in a MIG, see Updating instances in a MIG. - Patch(context.Context, *PatchRegionInstanceGroupManagerRequest) (*Operation, error) - // Inserts or patches per-instance configurations for the managed instance group. perInstanceConfig.name serves as a key used to distinguish whether to perform insert or patch. - PatchPerInstanceConfigs(context.Context, *PatchPerInstanceConfigsRegionInstanceGroupManagerRequest) (*Operation, error) - // Flags the specified VM instances in the managed instance group to be immediately recreated. Each instance is recreated using the group's current configuration. This operation is marked as DONE when the flag is set even if the instances have not yet been recreated. You must separately verify the status of each instance by checking its currentAction field; for more information, see Checking the status of managed instances. If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted. You can specify a maximum of 1000 instances with this method per request. - RecreateInstances(context.Context, *RecreateInstancesRegionInstanceGroupManagerRequest) (*Operation, error) - // Changes the intended size of the managed instance group. If you increase the size, the group creates new instances using the current instance template. If you decrease the size, the group deletes one or more instances. The resize operation is marked DONE if the resize request is successful. The underlying actions take additional time. You must separately verify the status of the creating or deleting actions with the listmanagedinstances method. If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted. - Resize(context.Context, *ResizeRegionInstanceGroupManagerRequest) (*Operation, error) - // Sets the instance template to use when creating new instances or recreating instances in this group. Existing instances are not affected. - SetInstanceTemplate(context.Context, *SetInstanceTemplateRegionInstanceGroupManagerRequest) (*Operation, error) - // Modifies the target pools to which all new instances in this group are assigned. Existing instances in the group are not affected. - SetTargetPools(context.Context, *SetTargetPoolsRegionInstanceGroupManagerRequest) (*Operation, error) - // Inserts or updates per-instance configurations for the managed instance group. perInstanceConfig.name serves as a key used to distinguish whether to perform insert or patch. - UpdatePerInstanceConfigs(context.Context, *UpdatePerInstanceConfigsRegionInstanceGroupManagerRequest) (*Operation, error) -} - -// UnimplementedRegionInstanceGroupManagersServer can be embedded to have forward compatible implementations. -type UnimplementedRegionInstanceGroupManagersServer struct { -} - -func (*UnimplementedRegionInstanceGroupManagersServer) AbandonInstances(context.Context, *AbandonInstancesRegionInstanceGroupManagerRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method AbandonInstances not implemented") -} -func (*UnimplementedRegionInstanceGroupManagersServer) ApplyUpdatesToInstances(context.Context, *ApplyUpdatesToInstancesRegionInstanceGroupManagerRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method ApplyUpdatesToInstances not implemented") -} -func (*UnimplementedRegionInstanceGroupManagersServer) CreateInstances(context.Context, *CreateInstancesRegionInstanceGroupManagerRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateInstances not implemented") -} -func (*UnimplementedRegionInstanceGroupManagersServer) Delete(context.Context, *DeleteRegionInstanceGroupManagerRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") -} -func (*UnimplementedRegionInstanceGroupManagersServer) DeleteInstances(context.Context, *DeleteInstancesRegionInstanceGroupManagerRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteInstances not implemented") -} -func (*UnimplementedRegionInstanceGroupManagersServer) DeletePerInstanceConfigs(context.Context, *DeletePerInstanceConfigsRegionInstanceGroupManagerRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeletePerInstanceConfigs not implemented") -} -func (*UnimplementedRegionInstanceGroupManagersServer) Get(context.Context, *GetRegionInstanceGroupManagerRequest) (*InstanceGroupManager, error) { - return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") -} -func (*UnimplementedRegionInstanceGroupManagersServer) Insert(context.Context, *InsertRegionInstanceGroupManagerRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Insert not implemented") -} -func (*UnimplementedRegionInstanceGroupManagersServer) List(context.Context, *ListRegionInstanceGroupManagersRequest) (*RegionInstanceGroupManagerList, error) { - return nil, status.Errorf(codes.Unimplemented, "method List not implemented") -} -func (*UnimplementedRegionInstanceGroupManagersServer) ListErrors(context.Context, *ListErrorsRegionInstanceGroupManagersRequest) (*RegionInstanceGroupManagersListErrorsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListErrors not implemented") -} -func (*UnimplementedRegionInstanceGroupManagersServer) ListManagedInstances(context.Context, *ListManagedInstancesRegionInstanceGroupManagersRequest) (*RegionInstanceGroupManagersListInstancesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListManagedInstances not implemented") -} -func (*UnimplementedRegionInstanceGroupManagersServer) ListPerInstanceConfigs(context.Context, *ListPerInstanceConfigsRegionInstanceGroupManagersRequest) (*RegionInstanceGroupManagersListInstanceConfigsResp, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListPerInstanceConfigs not implemented") -} -func (*UnimplementedRegionInstanceGroupManagersServer) Patch(context.Context, *PatchRegionInstanceGroupManagerRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Patch not implemented") -} -func (*UnimplementedRegionInstanceGroupManagersServer) PatchPerInstanceConfigs(context.Context, *PatchPerInstanceConfigsRegionInstanceGroupManagerRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method PatchPerInstanceConfigs not implemented") -} -func (*UnimplementedRegionInstanceGroupManagersServer) RecreateInstances(context.Context, *RecreateInstancesRegionInstanceGroupManagerRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method RecreateInstances not implemented") -} -func (*UnimplementedRegionInstanceGroupManagersServer) Resize(context.Context, *ResizeRegionInstanceGroupManagerRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Resize not implemented") -} -func (*UnimplementedRegionInstanceGroupManagersServer) SetInstanceTemplate(context.Context, *SetInstanceTemplateRegionInstanceGroupManagerRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetInstanceTemplate not implemented") -} -func (*UnimplementedRegionInstanceGroupManagersServer) SetTargetPools(context.Context, *SetTargetPoolsRegionInstanceGroupManagerRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetTargetPools not implemented") -} -func (*UnimplementedRegionInstanceGroupManagersServer) UpdatePerInstanceConfigs(context.Context, *UpdatePerInstanceConfigsRegionInstanceGroupManagerRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdatePerInstanceConfigs not implemented") -} - -func RegisterRegionInstanceGroupManagersServer(s *grpc.Server, srv RegionInstanceGroupManagersServer) { - s.RegisterService(&_RegionInstanceGroupManagers_serviceDesc, srv) -} - -func _RegionInstanceGroupManagers_AbandonInstances_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AbandonInstancesRegionInstanceGroupManagerRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionInstanceGroupManagersServer).AbandonInstances(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionInstanceGroupManagers/AbandonInstances", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionInstanceGroupManagersServer).AbandonInstances(ctx, req.(*AbandonInstancesRegionInstanceGroupManagerRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionInstanceGroupManagers_ApplyUpdatesToInstances_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ApplyUpdatesToInstancesRegionInstanceGroupManagerRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionInstanceGroupManagersServer).ApplyUpdatesToInstances(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionInstanceGroupManagers/ApplyUpdatesToInstances", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionInstanceGroupManagersServer).ApplyUpdatesToInstances(ctx, req.(*ApplyUpdatesToInstancesRegionInstanceGroupManagerRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionInstanceGroupManagers_CreateInstances_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateInstancesRegionInstanceGroupManagerRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionInstanceGroupManagersServer).CreateInstances(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionInstanceGroupManagers/CreateInstances", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionInstanceGroupManagersServer).CreateInstances(ctx, req.(*CreateInstancesRegionInstanceGroupManagerRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionInstanceGroupManagers_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteRegionInstanceGroupManagerRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionInstanceGroupManagersServer).Delete(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionInstanceGroupManagers/Delete", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionInstanceGroupManagersServer).Delete(ctx, req.(*DeleteRegionInstanceGroupManagerRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionInstanceGroupManagers_DeleteInstances_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteInstancesRegionInstanceGroupManagerRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionInstanceGroupManagersServer).DeleteInstances(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionInstanceGroupManagers/DeleteInstances", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionInstanceGroupManagersServer).DeleteInstances(ctx, req.(*DeleteInstancesRegionInstanceGroupManagerRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionInstanceGroupManagers_DeletePerInstanceConfigs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeletePerInstanceConfigsRegionInstanceGroupManagerRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionInstanceGroupManagersServer).DeletePerInstanceConfigs(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionInstanceGroupManagers/DeletePerInstanceConfigs", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionInstanceGroupManagersServer).DeletePerInstanceConfigs(ctx, req.(*DeletePerInstanceConfigsRegionInstanceGroupManagerRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionInstanceGroupManagers_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetRegionInstanceGroupManagerRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionInstanceGroupManagersServer).Get(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionInstanceGroupManagers/Get", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionInstanceGroupManagersServer).Get(ctx, req.(*GetRegionInstanceGroupManagerRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionInstanceGroupManagers_Insert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(InsertRegionInstanceGroupManagerRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionInstanceGroupManagersServer).Insert(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionInstanceGroupManagers/Insert", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionInstanceGroupManagersServer).Insert(ctx, req.(*InsertRegionInstanceGroupManagerRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionInstanceGroupManagers_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListRegionInstanceGroupManagersRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionInstanceGroupManagersServer).List(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionInstanceGroupManagers/List", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionInstanceGroupManagersServer).List(ctx, req.(*ListRegionInstanceGroupManagersRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionInstanceGroupManagers_ListErrors_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListErrorsRegionInstanceGroupManagersRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionInstanceGroupManagersServer).ListErrors(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionInstanceGroupManagers/ListErrors", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionInstanceGroupManagersServer).ListErrors(ctx, req.(*ListErrorsRegionInstanceGroupManagersRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionInstanceGroupManagers_ListManagedInstances_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListManagedInstancesRegionInstanceGroupManagersRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionInstanceGroupManagersServer).ListManagedInstances(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionInstanceGroupManagers/ListManagedInstances", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionInstanceGroupManagersServer).ListManagedInstances(ctx, req.(*ListManagedInstancesRegionInstanceGroupManagersRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionInstanceGroupManagers_ListPerInstanceConfigs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListPerInstanceConfigsRegionInstanceGroupManagersRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionInstanceGroupManagersServer).ListPerInstanceConfigs(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionInstanceGroupManagers/ListPerInstanceConfigs", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionInstanceGroupManagersServer).ListPerInstanceConfigs(ctx, req.(*ListPerInstanceConfigsRegionInstanceGroupManagersRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionInstanceGroupManagers_Patch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PatchRegionInstanceGroupManagerRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionInstanceGroupManagersServer).Patch(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionInstanceGroupManagers/Patch", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionInstanceGroupManagersServer).Patch(ctx, req.(*PatchRegionInstanceGroupManagerRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionInstanceGroupManagers_PatchPerInstanceConfigs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PatchPerInstanceConfigsRegionInstanceGroupManagerRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionInstanceGroupManagersServer).PatchPerInstanceConfigs(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionInstanceGroupManagers/PatchPerInstanceConfigs", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionInstanceGroupManagersServer).PatchPerInstanceConfigs(ctx, req.(*PatchPerInstanceConfigsRegionInstanceGroupManagerRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionInstanceGroupManagers_RecreateInstances_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RecreateInstancesRegionInstanceGroupManagerRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionInstanceGroupManagersServer).RecreateInstances(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionInstanceGroupManagers/RecreateInstances", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionInstanceGroupManagersServer).RecreateInstances(ctx, req.(*RecreateInstancesRegionInstanceGroupManagerRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionInstanceGroupManagers_Resize_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ResizeRegionInstanceGroupManagerRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionInstanceGroupManagersServer).Resize(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionInstanceGroupManagers/Resize", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionInstanceGroupManagersServer).Resize(ctx, req.(*ResizeRegionInstanceGroupManagerRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionInstanceGroupManagers_SetInstanceTemplate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetInstanceTemplateRegionInstanceGroupManagerRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionInstanceGroupManagersServer).SetInstanceTemplate(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionInstanceGroupManagers/SetInstanceTemplate", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionInstanceGroupManagersServer).SetInstanceTemplate(ctx, req.(*SetInstanceTemplateRegionInstanceGroupManagerRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionInstanceGroupManagers_SetTargetPools_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetTargetPoolsRegionInstanceGroupManagerRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionInstanceGroupManagersServer).SetTargetPools(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionInstanceGroupManagers/SetTargetPools", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionInstanceGroupManagersServer).SetTargetPools(ctx, req.(*SetTargetPoolsRegionInstanceGroupManagerRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionInstanceGroupManagers_UpdatePerInstanceConfigs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdatePerInstanceConfigsRegionInstanceGroupManagerRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionInstanceGroupManagersServer).UpdatePerInstanceConfigs(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionInstanceGroupManagers/UpdatePerInstanceConfigs", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionInstanceGroupManagersServer).UpdatePerInstanceConfigs(ctx, req.(*UpdatePerInstanceConfigsRegionInstanceGroupManagerRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _RegionInstanceGroupManagers_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.RegionInstanceGroupManagers", - HandlerType: (*RegionInstanceGroupManagersServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "AbandonInstances", - Handler: _RegionInstanceGroupManagers_AbandonInstances_Handler, - }, - { - MethodName: "ApplyUpdatesToInstances", - Handler: _RegionInstanceGroupManagers_ApplyUpdatesToInstances_Handler, - }, - { - MethodName: "CreateInstances", - Handler: _RegionInstanceGroupManagers_CreateInstances_Handler, - }, - { - MethodName: "Delete", - Handler: _RegionInstanceGroupManagers_Delete_Handler, - }, - { - MethodName: "DeleteInstances", - Handler: _RegionInstanceGroupManagers_DeleteInstances_Handler, - }, - { - MethodName: "DeletePerInstanceConfigs", - Handler: _RegionInstanceGroupManagers_DeletePerInstanceConfigs_Handler, - }, - { - MethodName: "Get", - Handler: _RegionInstanceGroupManagers_Get_Handler, - }, - { - MethodName: "Insert", - Handler: _RegionInstanceGroupManagers_Insert_Handler, - }, - { - MethodName: "List", - Handler: _RegionInstanceGroupManagers_List_Handler, - }, - { - MethodName: "ListErrors", - Handler: _RegionInstanceGroupManagers_ListErrors_Handler, - }, - { - MethodName: "ListManagedInstances", - Handler: _RegionInstanceGroupManagers_ListManagedInstances_Handler, - }, - { - MethodName: "ListPerInstanceConfigs", - Handler: _RegionInstanceGroupManagers_ListPerInstanceConfigs_Handler, - }, - { - MethodName: "Patch", - Handler: _RegionInstanceGroupManagers_Patch_Handler, - }, - { - MethodName: "PatchPerInstanceConfigs", - Handler: _RegionInstanceGroupManagers_PatchPerInstanceConfigs_Handler, - }, - { - MethodName: "RecreateInstances", - Handler: _RegionInstanceGroupManagers_RecreateInstances_Handler, - }, - { - MethodName: "Resize", - Handler: _RegionInstanceGroupManagers_Resize_Handler, - }, - { - MethodName: "SetInstanceTemplate", - Handler: _RegionInstanceGroupManagers_SetInstanceTemplate_Handler, - }, - { - MethodName: "SetTargetPools", - Handler: _RegionInstanceGroupManagers_SetTargetPools_Handler, - }, - { - MethodName: "UpdatePerInstanceConfigs", - Handler: _RegionInstanceGroupManagers_UpdatePerInstanceConfigs_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} - -// RegionInstanceGroupsClient is the client API for RegionInstanceGroups service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type RegionInstanceGroupsClient interface { - // Returns the specified instance group resource. - Get(ctx context.Context, in *GetRegionInstanceGroupRequest, opts ...grpc.CallOption) (*InstanceGroup, error) - // Retrieves the list of instance group resources contained within the specified region. - List(ctx context.Context, in *ListRegionInstanceGroupsRequest, opts ...grpc.CallOption) (*RegionInstanceGroupList, error) - // Lists the instances in the specified instance group and displays information about the named ports. Depending on the specified options, this method can list all instances or only the instances that are running. The orderBy query parameter is not supported. - ListInstances(ctx context.Context, in *ListInstancesRegionInstanceGroupsRequest, opts ...grpc.CallOption) (*RegionInstanceGroupsListInstances, error) - // Sets the named ports for the specified regional instance group. - SetNamedPorts(ctx context.Context, in *SetNamedPortsRegionInstanceGroupRequest, opts ...grpc.CallOption) (*Operation, error) -} - -type regionInstanceGroupsClient struct { - cc grpc.ClientConnInterface -} - -func NewRegionInstanceGroupsClient(cc grpc.ClientConnInterface) RegionInstanceGroupsClient { - return ®ionInstanceGroupsClient{cc} -} - -func (c *regionInstanceGroupsClient) Get(ctx context.Context, in *GetRegionInstanceGroupRequest, opts ...grpc.CallOption) (*InstanceGroup, error) { - out := new(InstanceGroup) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionInstanceGroups/Get", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionInstanceGroupsClient) List(ctx context.Context, in *ListRegionInstanceGroupsRequest, opts ...grpc.CallOption) (*RegionInstanceGroupList, error) { - out := new(RegionInstanceGroupList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionInstanceGroups/List", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionInstanceGroupsClient) ListInstances(ctx context.Context, in *ListInstancesRegionInstanceGroupsRequest, opts ...grpc.CallOption) (*RegionInstanceGroupsListInstances, error) { - out := new(RegionInstanceGroupsListInstances) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionInstanceGroups/ListInstances", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionInstanceGroupsClient) SetNamedPorts(ctx context.Context, in *SetNamedPortsRegionInstanceGroupRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionInstanceGroups/SetNamedPorts", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// RegionInstanceGroupsServer is the server API for RegionInstanceGroups service. -type RegionInstanceGroupsServer interface { - // Returns the specified instance group resource. - Get(context.Context, *GetRegionInstanceGroupRequest) (*InstanceGroup, error) - // Retrieves the list of instance group resources contained within the specified region. - List(context.Context, *ListRegionInstanceGroupsRequest) (*RegionInstanceGroupList, error) - // Lists the instances in the specified instance group and displays information about the named ports. Depending on the specified options, this method can list all instances or only the instances that are running. The orderBy query parameter is not supported. - ListInstances(context.Context, *ListInstancesRegionInstanceGroupsRequest) (*RegionInstanceGroupsListInstances, error) - // Sets the named ports for the specified regional instance group. - SetNamedPorts(context.Context, *SetNamedPortsRegionInstanceGroupRequest) (*Operation, error) -} - -// UnimplementedRegionInstanceGroupsServer can be embedded to have forward compatible implementations. -type UnimplementedRegionInstanceGroupsServer struct { -} - -func (*UnimplementedRegionInstanceGroupsServer) Get(context.Context, *GetRegionInstanceGroupRequest) (*InstanceGroup, error) { - return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") -} -func (*UnimplementedRegionInstanceGroupsServer) List(context.Context, *ListRegionInstanceGroupsRequest) (*RegionInstanceGroupList, error) { - return nil, status.Errorf(codes.Unimplemented, "method List not implemented") -} -func (*UnimplementedRegionInstanceGroupsServer) ListInstances(context.Context, *ListInstancesRegionInstanceGroupsRequest) (*RegionInstanceGroupsListInstances, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListInstances not implemented") -} -func (*UnimplementedRegionInstanceGroupsServer) SetNamedPorts(context.Context, *SetNamedPortsRegionInstanceGroupRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetNamedPorts not implemented") -} - -func RegisterRegionInstanceGroupsServer(s *grpc.Server, srv RegionInstanceGroupsServer) { - s.RegisterService(&_RegionInstanceGroups_serviceDesc, srv) -} - -func _RegionInstanceGroups_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetRegionInstanceGroupRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionInstanceGroupsServer).Get(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionInstanceGroups/Get", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionInstanceGroupsServer).Get(ctx, req.(*GetRegionInstanceGroupRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionInstanceGroups_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListRegionInstanceGroupsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionInstanceGroupsServer).List(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionInstanceGroups/List", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionInstanceGroupsServer).List(ctx, req.(*ListRegionInstanceGroupsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionInstanceGroups_ListInstances_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListInstancesRegionInstanceGroupsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionInstanceGroupsServer).ListInstances(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionInstanceGroups/ListInstances", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionInstanceGroupsServer).ListInstances(ctx, req.(*ListInstancesRegionInstanceGroupsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionInstanceGroups_SetNamedPorts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetNamedPortsRegionInstanceGroupRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionInstanceGroupsServer).SetNamedPorts(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionInstanceGroups/SetNamedPorts", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionInstanceGroupsServer).SetNamedPorts(ctx, req.(*SetNamedPortsRegionInstanceGroupRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _RegionInstanceGroups_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.RegionInstanceGroups", - HandlerType: (*RegionInstanceGroupsServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "Get", - Handler: _RegionInstanceGroups_Get_Handler, - }, - { - MethodName: "List", - Handler: _RegionInstanceGroups_List_Handler, - }, - { - MethodName: "ListInstances", - Handler: _RegionInstanceGroups_ListInstances_Handler, - }, - { - MethodName: "SetNamedPorts", - Handler: _RegionInstanceGroups_SetNamedPorts_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} - -// RegionInstanceTemplatesClient is the client API for RegionInstanceTemplates service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type RegionInstanceTemplatesClient interface { - // Deletes the specified instance template. Deleting an instance template is permanent and cannot be undone. - Delete(ctx context.Context, in *DeleteRegionInstanceTemplateRequest, opts ...grpc.CallOption) (*Operation, error) - // Returns the specified instance template. - Get(ctx context.Context, in *GetRegionInstanceTemplateRequest, opts ...grpc.CallOption) (*InstanceTemplate, error) - // Creates an instance template in the specified project and region using the global instance template whose URL is included in the request. - Insert(ctx context.Context, in *InsertRegionInstanceTemplateRequest, opts ...grpc.CallOption) (*Operation, error) - // Retrieves a list of instance templates that are contained within the specified project and region. - List(ctx context.Context, in *ListRegionInstanceTemplatesRequest, opts ...grpc.CallOption) (*InstanceTemplateList, error) -} - -type regionInstanceTemplatesClient struct { - cc grpc.ClientConnInterface -} - -func NewRegionInstanceTemplatesClient(cc grpc.ClientConnInterface) RegionInstanceTemplatesClient { - return ®ionInstanceTemplatesClient{cc} -} - -func (c *regionInstanceTemplatesClient) Delete(ctx context.Context, in *DeleteRegionInstanceTemplateRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionInstanceTemplates/Delete", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionInstanceTemplatesClient) Get(ctx context.Context, in *GetRegionInstanceTemplateRequest, opts ...grpc.CallOption) (*InstanceTemplate, error) { - out := new(InstanceTemplate) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionInstanceTemplates/Get", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionInstanceTemplatesClient) Insert(ctx context.Context, in *InsertRegionInstanceTemplateRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionInstanceTemplates/Insert", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionInstanceTemplatesClient) List(ctx context.Context, in *ListRegionInstanceTemplatesRequest, opts ...grpc.CallOption) (*InstanceTemplateList, error) { - out := new(InstanceTemplateList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionInstanceTemplates/List", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// RegionInstanceTemplatesServer is the server API for RegionInstanceTemplates service. -type RegionInstanceTemplatesServer interface { - // Deletes the specified instance template. Deleting an instance template is permanent and cannot be undone. - Delete(context.Context, *DeleteRegionInstanceTemplateRequest) (*Operation, error) - // Returns the specified instance template. - Get(context.Context, *GetRegionInstanceTemplateRequest) (*InstanceTemplate, error) - // Creates an instance template in the specified project and region using the global instance template whose URL is included in the request. - Insert(context.Context, *InsertRegionInstanceTemplateRequest) (*Operation, error) - // Retrieves a list of instance templates that are contained within the specified project and region. - List(context.Context, *ListRegionInstanceTemplatesRequest) (*InstanceTemplateList, error) -} - -// UnimplementedRegionInstanceTemplatesServer can be embedded to have forward compatible implementations. -type UnimplementedRegionInstanceTemplatesServer struct { -} - -func (*UnimplementedRegionInstanceTemplatesServer) Delete(context.Context, *DeleteRegionInstanceTemplateRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") -} -func (*UnimplementedRegionInstanceTemplatesServer) Get(context.Context, *GetRegionInstanceTemplateRequest) (*InstanceTemplate, error) { - return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") -} -func (*UnimplementedRegionInstanceTemplatesServer) Insert(context.Context, *InsertRegionInstanceTemplateRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Insert not implemented") -} -func (*UnimplementedRegionInstanceTemplatesServer) List(context.Context, *ListRegionInstanceTemplatesRequest) (*InstanceTemplateList, error) { - return nil, status.Errorf(codes.Unimplemented, "method List not implemented") -} - -func RegisterRegionInstanceTemplatesServer(s *grpc.Server, srv RegionInstanceTemplatesServer) { - s.RegisterService(&_RegionInstanceTemplates_serviceDesc, srv) -} - -func _RegionInstanceTemplates_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteRegionInstanceTemplateRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionInstanceTemplatesServer).Delete(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionInstanceTemplates/Delete", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionInstanceTemplatesServer).Delete(ctx, req.(*DeleteRegionInstanceTemplateRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionInstanceTemplates_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetRegionInstanceTemplateRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionInstanceTemplatesServer).Get(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionInstanceTemplates/Get", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionInstanceTemplatesServer).Get(ctx, req.(*GetRegionInstanceTemplateRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionInstanceTemplates_Insert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(InsertRegionInstanceTemplateRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionInstanceTemplatesServer).Insert(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionInstanceTemplates/Insert", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionInstanceTemplatesServer).Insert(ctx, req.(*InsertRegionInstanceTemplateRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionInstanceTemplates_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListRegionInstanceTemplatesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionInstanceTemplatesServer).List(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionInstanceTemplates/List", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionInstanceTemplatesServer).List(ctx, req.(*ListRegionInstanceTemplatesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _RegionInstanceTemplates_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.RegionInstanceTemplates", - HandlerType: (*RegionInstanceTemplatesServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "Delete", - Handler: _RegionInstanceTemplates_Delete_Handler, - }, - { - MethodName: "Get", - Handler: _RegionInstanceTemplates_Get_Handler, - }, - { - MethodName: "Insert", - Handler: _RegionInstanceTemplates_Insert_Handler, - }, - { - MethodName: "List", - Handler: _RegionInstanceTemplates_List_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} - -// RegionInstancesClient is the client API for RegionInstances service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type RegionInstancesClient interface { - // Creates multiple instances in a given region. Count specifies the number of instances to create. - BulkInsert(ctx context.Context, in *BulkInsertRegionInstanceRequest, opts ...grpc.CallOption) (*Operation, error) -} - -type regionInstancesClient struct { - cc grpc.ClientConnInterface -} - -func NewRegionInstancesClient(cc grpc.ClientConnInterface) RegionInstancesClient { - return ®ionInstancesClient{cc} -} - -func (c *regionInstancesClient) BulkInsert(ctx context.Context, in *BulkInsertRegionInstanceRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionInstances/BulkInsert", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// RegionInstancesServer is the server API for RegionInstances service. -type RegionInstancesServer interface { - // Creates multiple instances in a given region. Count specifies the number of instances to create. - BulkInsert(context.Context, *BulkInsertRegionInstanceRequest) (*Operation, error) -} - -// UnimplementedRegionInstancesServer can be embedded to have forward compatible implementations. -type UnimplementedRegionInstancesServer struct { -} - -func (*UnimplementedRegionInstancesServer) BulkInsert(context.Context, *BulkInsertRegionInstanceRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method BulkInsert not implemented") -} - -func RegisterRegionInstancesServer(s *grpc.Server, srv RegionInstancesServer) { - s.RegisterService(&_RegionInstances_serviceDesc, srv) -} - -func _RegionInstances_BulkInsert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(BulkInsertRegionInstanceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionInstancesServer).BulkInsert(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionInstances/BulkInsert", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionInstancesServer).BulkInsert(ctx, req.(*BulkInsertRegionInstanceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _RegionInstances_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.RegionInstances", - HandlerType: (*RegionInstancesServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "BulkInsert", - Handler: _RegionInstances_BulkInsert_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} - -// RegionInstantSnapshotsClient is the client API for RegionInstantSnapshots service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type RegionInstantSnapshotsClient interface { - // Deletes the specified InstantSnapshot resource. Keep in mind that deleting a single instantSnapshot might not necessarily delete all the data on that instantSnapshot. If any data on the instantSnapshot that is marked for deletion is needed for subsequent instantSnapshots, the data will be moved to the next corresponding instantSnapshot. For more information, see Deleting instantSnapshots. - Delete(ctx context.Context, in *DeleteRegionInstantSnapshotRequest, opts ...grpc.CallOption) (*Operation, error) - // Returns the specified InstantSnapshot resource in the specified region. - Get(ctx context.Context, in *GetRegionInstantSnapshotRequest, opts ...grpc.CallOption) (*InstantSnapshot, error) - // Gets the access control policy for a resource. May be empty if no such policy or resource exists. - GetIamPolicy(ctx context.Context, in *GetIamPolicyRegionInstantSnapshotRequest, opts ...grpc.CallOption) (*Policy, error) - // Creates an instant snapshot in the specified region. - Insert(ctx context.Context, in *InsertRegionInstantSnapshotRequest, opts ...grpc.CallOption) (*Operation, error) - // Retrieves the list of InstantSnapshot resources contained within the specified region. - List(ctx context.Context, in *ListRegionInstantSnapshotsRequest, opts ...grpc.CallOption) (*InstantSnapshotList, error) - // Sets the access control policy on the specified resource. Replaces any existing policy. - SetIamPolicy(ctx context.Context, in *SetIamPolicyRegionInstantSnapshotRequest, opts ...grpc.CallOption) (*Policy, error) - // Sets the labels on a instantSnapshot in the given region. To learn more about labels, read the Labeling Resources documentation. - SetLabels(ctx context.Context, in *SetLabelsRegionInstantSnapshotRequest, opts ...grpc.CallOption) (*Operation, error) - // Returns permissions that a caller has on the specified resource. - TestIamPermissions(ctx context.Context, in *TestIamPermissionsRegionInstantSnapshotRequest, opts ...grpc.CallOption) (*TestPermissionsResponse, error) -} - -type regionInstantSnapshotsClient struct { - cc grpc.ClientConnInterface -} - -func NewRegionInstantSnapshotsClient(cc grpc.ClientConnInterface) RegionInstantSnapshotsClient { - return ®ionInstantSnapshotsClient{cc} -} - -func (c *regionInstantSnapshotsClient) Delete(ctx context.Context, in *DeleteRegionInstantSnapshotRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionInstantSnapshots/Delete", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionInstantSnapshotsClient) Get(ctx context.Context, in *GetRegionInstantSnapshotRequest, opts ...grpc.CallOption) (*InstantSnapshot, error) { - out := new(InstantSnapshot) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionInstantSnapshots/Get", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionInstantSnapshotsClient) GetIamPolicy(ctx context.Context, in *GetIamPolicyRegionInstantSnapshotRequest, opts ...grpc.CallOption) (*Policy, error) { - out := new(Policy) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionInstantSnapshots/GetIamPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionInstantSnapshotsClient) Insert(ctx context.Context, in *InsertRegionInstantSnapshotRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionInstantSnapshots/Insert", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionInstantSnapshotsClient) List(ctx context.Context, in *ListRegionInstantSnapshotsRequest, opts ...grpc.CallOption) (*InstantSnapshotList, error) { - out := new(InstantSnapshotList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionInstantSnapshots/List", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionInstantSnapshotsClient) SetIamPolicy(ctx context.Context, in *SetIamPolicyRegionInstantSnapshotRequest, opts ...grpc.CallOption) (*Policy, error) { - out := new(Policy) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionInstantSnapshots/SetIamPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionInstantSnapshotsClient) SetLabels(ctx context.Context, in *SetLabelsRegionInstantSnapshotRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionInstantSnapshots/SetLabels", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionInstantSnapshotsClient) TestIamPermissions(ctx context.Context, in *TestIamPermissionsRegionInstantSnapshotRequest, opts ...grpc.CallOption) (*TestPermissionsResponse, error) { - out := new(TestPermissionsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionInstantSnapshots/TestIamPermissions", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// RegionInstantSnapshotsServer is the server API for RegionInstantSnapshots service. -type RegionInstantSnapshotsServer interface { - // Deletes the specified InstantSnapshot resource. Keep in mind that deleting a single instantSnapshot might not necessarily delete all the data on that instantSnapshot. If any data on the instantSnapshot that is marked for deletion is needed for subsequent instantSnapshots, the data will be moved to the next corresponding instantSnapshot. For more information, see Deleting instantSnapshots. - Delete(context.Context, *DeleteRegionInstantSnapshotRequest) (*Operation, error) - // Returns the specified InstantSnapshot resource in the specified region. - Get(context.Context, *GetRegionInstantSnapshotRequest) (*InstantSnapshot, error) - // Gets the access control policy for a resource. May be empty if no such policy or resource exists. - GetIamPolicy(context.Context, *GetIamPolicyRegionInstantSnapshotRequest) (*Policy, error) - // Creates an instant snapshot in the specified region. - Insert(context.Context, *InsertRegionInstantSnapshotRequest) (*Operation, error) - // Retrieves the list of InstantSnapshot resources contained within the specified region. - List(context.Context, *ListRegionInstantSnapshotsRequest) (*InstantSnapshotList, error) - // Sets the access control policy on the specified resource. Replaces any existing policy. - SetIamPolicy(context.Context, *SetIamPolicyRegionInstantSnapshotRequest) (*Policy, error) - // Sets the labels on a instantSnapshot in the given region. To learn more about labels, read the Labeling Resources documentation. - SetLabels(context.Context, *SetLabelsRegionInstantSnapshotRequest) (*Operation, error) - // Returns permissions that a caller has on the specified resource. - TestIamPermissions(context.Context, *TestIamPermissionsRegionInstantSnapshotRequest) (*TestPermissionsResponse, error) -} - -// UnimplementedRegionInstantSnapshotsServer can be embedded to have forward compatible implementations. -type UnimplementedRegionInstantSnapshotsServer struct { -} - -func (*UnimplementedRegionInstantSnapshotsServer) Delete(context.Context, *DeleteRegionInstantSnapshotRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") -} -func (*UnimplementedRegionInstantSnapshotsServer) Get(context.Context, *GetRegionInstantSnapshotRequest) (*InstantSnapshot, error) { - return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") -} -func (*UnimplementedRegionInstantSnapshotsServer) GetIamPolicy(context.Context, *GetIamPolicyRegionInstantSnapshotRequest) (*Policy, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetIamPolicy not implemented") -} -func (*UnimplementedRegionInstantSnapshotsServer) Insert(context.Context, *InsertRegionInstantSnapshotRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Insert not implemented") -} -func (*UnimplementedRegionInstantSnapshotsServer) List(context.Context, *ListRegionInstantSnapshotsRequest) (*InstantSnapshotList, error) { - return nil, status.Errorf(codes.Unimplemented, "method List not implemented") -} -func (*UnimplementedRegionInstantSnapshotsServer) SetIamPolicy(context.Context, *SetIamPolicyRegionInstantSnapshotRequest) (*Policy, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetIamPolicy not implemented") -} -func (*UnimplementedRegionInstantSnapshotsServer) SetLabels(context.Context, *SetLabelsRegionInstantSnapshotRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetLabels not implemented") -} -func (*UnimplementedRegionInstantSnapshotsServer) TestIamPermissions(context.Context, *TestIamPermissionsRegionInstantSnapshotRequest) (*TestPermissionsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method TestIamPermissions not implemented") -} - -func RegisterRegionInstantSnapshotsServer(s *grpc.Server, srv RegionInstantSnapshotsServer) { - s.RegisterService(&_RegionInstantSnapshots_serviceDesc, srv) -} - -func _RegionInstantSnapshots_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteRegionInstantSnapshotRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionInstantSnapshotsServer).Delete(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionInstantSnapshots/Delete", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionInstantSnapshotsServer).Delete(ctx, req.(*DeleteRegionInstantSnapshotRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionInstantSnapshots_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetRegionInstantSnapshotRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionInstantSnapshotsServer).Get(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionInstantSnapshots/Get", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionInstantSnapshotsServer).Get(ctx, req.(*GetRegionInstantSnapshotRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionInstantSnapshots_GetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetIamPolicyRegionInstantSnapshotRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionInstantSnapshotsServer).GetIamPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionInstantSnapshots/GetIamPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionInstantSnapshotsServer).GetIamPolicy(ctx, req.(*GetIamPolicyRegionInstantSnapshotRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionInstantSnapshots_Insert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(InsertRegionInstantSnapshotRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionInstantSnapshotsServer).Insert(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionInstantSnapshots/Insert", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionInstantSnapshotsServer).Insert(ctx, req.(*InsertRegionInstantSnapshotRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionInstantSnapshots_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListRegionInstantSnapshotsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionInstantSnapshotsServer).List(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionInstantSnapshots/List", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionInstantSnapshotsServer).List(ctx, req.(*ListRegionInstantSnapshotsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionInstantSnapshots_SetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetIamPolicyRegionInstantSnapshotRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionInstantSnapshotsServer).SetIamPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionInstantSnapshots/SetIamPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionInstantSnapshotsServer).SetIamPolicy(ctx, req.(*SetIamPolicyRegionInstantSnapshotRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionInstantSnapshots_SetLabels_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetLabelsRegionInstantSnapshotRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionInstantSnapshotsServer).SetLabels(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionInstantSnapshots/SetLabels", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionInstantSnapshotsServer).SetLabels(ctx, req.(*SetLabelsRegionInstantSnapshotRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionInstantSnapshots_TestIamPermissions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(TestIamPermissionsRegionInstantSnapshotRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionInstantSnapshotsServer).TestIamPermissions(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionInstantSnapshots/TestIamPermissions", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionInstantSnapshotsServer).TestIamPermissions(ctx, req.(*TestIamPermissionsRegionInstantSnapshotRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _RegionInstantSnapshots_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.RegionInstantSnapshots", - HandlerType: (*RegionInstantSnapshotsServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "Delete", - Handler: _RegionInstantSnapshots_Delete_Handler, - }, - { - MethodName: "Get", - Handler: _RegionInstantSnapshots_Get_Handler, - }, - { - MethodName: "GetIamPolicy", - Handler: _RegionInstantSnapshots_GetIamPolicy_Handler, - }, - { - MethodName: "Insert", - Handler: _RegionInstantSnapshots_Insert_Handler, - }, - { - MethodName: "List", - Handler: _RegionInstantSnapshots_List_Handler, - }, - { - MethodName: "SetIamPolicy", - Handler: _RegionInstantSnapshots_SetIamPolicy_Handler, - }, - { - MethodName: "SetLabels", - Handler: _RegionInstantSnapshots_SetLabels_Handler, - }, - { - MethodName: "TestIamPermissions", - Handler: _RegionInstantSnapshots_TestIamPermissions_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} - -// RegionNetworkEndpointGroupsClient is the client API for RegionNetworkEndpointGroups service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type RegionNetworkEndpointGroupsClient interface { - // Attach a list of network endpoints to the specified network endpoint group. - AttachNetworkEndpoints(ctx context.Context, in *AttachNetworkEndpointsRegionNetworkEndpointGroupRequest, opts ...grpc.CallOption) (*Operation, error) - // Deletes the specified network endpoint group. Note that the NEG cannot be deleted if it is configured as a backend of a backend service. - Delete(ctx context.Context, in *DeleteRegionNetworkEndpointGroupRequest, opts ...grpc.CallOption) (*Operation, error) - // Detach the network endpoint from the specified network endpoint group. - DetachNetworkEndpoints(ctx context.Context, in *DetachNetworkEndpointsRegionNetworkEndpointGroupRequest, opts ...grpc.CallOption) (*Operation, error) - // Returns the specified network endpoint group. - Get(ctx context.Context, in *GetRegionNetworkEndpointGroupRequest, opts ...grpc.CallOption) (*NetworkEndpointGroup, error) - // Creates a network endpoint group in the specified project using the parameters that are included in the request. - Insert(ctx context.Context, in *InsertRegionNetworkEndpointGroupRequest, opts ...grpc.CallOption) (*Operation, error) - // Retrieves the list of regional network endpoint groups available to the specified project in the given region. - List(ctx context.Context, in *ListRegionNetworkEndpointGroupsRequest, opts ...grpc.CallOption) (*NetworkEndpointGroupList, error) - // Lists the network endpoints in the specified network endpoint group. - ListNetworkEndpoints(ctx context.Context, in *ListNetworkEndpointsRegionNetworkEndpointGroupsRequest, opts ...grpc.CallOption) (*NetworkEndpointGroupsListNetworkEndpoints, error) -} - -type regionNetworkEndpointGroupsClient struct { - cc grpc.ClientConnInterface -} - -func NewRegionNetworkEndpointGroupsClient(cc grpc.ClientConnInterface) RegionNetworkEndpointGroupsClient { - return ®ionNetworkEndpointGroupsClient{cc} -} - -func (c *regionNetworkEndpointGroupsClient) AttachNetworkEndpoints(ctx context.Context, in *AttachNetworkEndpointsRegionNetworkEndpointGroupRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionNetworkEndpointGroups/AttachNetworkEndpoints", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionNetworkEndpointGroupsClient) Delete(ctx context.Context, in *DeleteRegionNetworkEndpointGroupRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionNetworkEndpointGroups/Delete", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionNetworkEndpointGroupsClient) DetachNetworkEndpoints(ctx context.Context, in *DetachNetworkEndpointsRegionNetworkEndpointGroupRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionNetworkEndpointGroups/DetachNetworkEndpoints", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionNetworkEndpointGroupsClient) Get(ctx context.Context, in *GetRegionNetworkEndpointGroupRequest, opts ...grpc.CallOption) (*NetworkEndpointGroup, error) { - out := new(NetworkEndpointGroup) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionNetworkEndpointGroups/Get", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionNetworkEndpointGroupsClient) Insert(ctx context.Context, in *InsertRegionNetworkEndpointGroupRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionNetworkEndpointGroups/Insert", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionNetworkEndpointGroupsClient) List(ctx context.Context, in *ListRegionNetworkEndpointGroupsRequest, opts ...grpc.CallOption) (*NetworkEndpointGroupList, error) { - out := new(NetworkEndpointGroupList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionNetworkEndpointGroups/List", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionNetworkEndpointGroupsClient) ListNetworkEndpoints(ctx context.Context, in *ListNetworkEndpointsRegionNetworkEndpointGroupsRequest, opts ...grpc.CallOption) (*NetworkEndpointGroupsListNetworkEndpoints, error) { - out := new(NetworkEndpointGroupsListNetworkEndpoints) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionNetworkEndpointGroups/ListNetworkEndpoints", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// RegionNetworkEndpointGroupsServer is the server API for RegionNetworkEndpointGroups service. -type RegionNetworkEndpointGroupsServer interface { - // Attach a list of network endpoints to the specified network endpoint group. - AttachNetworkEndpoints(context.Context, *AttachNetworkEndpointsRegionNetworkEndpointGroupRequest) (*Operation, error) - // Deletes the specified network endpoint group. Note that the NEG cannot be deleted if it is configured as a backend of a backend service. - Delete(context.Context, *DeleteRegionNetworkEndpointGroupRequest) (*Operation, error) - // Detach the network endpoint from the specified network endpoint group. - DetachNetworkEndpoints(context.Context, *DetachNetworkEndpointsRegionNetworkEndpointGroupRequest) (*Operation, error) - // Returns the specified network endpoint group. - Get(context.Context, *GetRegionNetworkEndpointGroupRequest) (*NetworkEndpointGroup, error) - // Creates a network endpoint group in the specified project using the parameters that are included in the request. - Insert(context.Context, *InsertRegionNetworkEndpointGroupRequest) (*Operation, error) - // Retrieves the list of regional network endpoint groups available to the specified project in the given region. - List(context.Context, *ListRegionNetworkEndpointGroupsRequest) (*NetworkEndpointGroupList, error) - // Lists the network endpoints in the specified network endpoint group. - ListNetworkEndpoints(context.Context, *ListNetworkEndpointsRegionNetworkEndpointGroupsRequest) (*NetworkEndpointGroupsListNetworkEndpoints, error) -} - -// UnimplementedRegionNetworkEndpointGroupsServer can be embedded to have forward compatible implementations. -type UnimplementedRegionNetworkEndpointGroupsServer struct { -} - -func (*UnimplementedRegionNetworkEndpointGroupsServer) AttachNetworkEndpoints(context.Context, *AttachNetworkEndpointsRegionNetworkEndpointGroupRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method AttachNetworkEndpoints not implemented") -} -func (*UnimplementedRegionNetworkEndpointGroupsServer) Delete(context.Context, *DeleteRegionNetworkEndpointGroupRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") -} -func (*UnimplementedRegionNetworkEndpointGroupsServer) DetachNetworkEndpoints(context.Context, *DetachNetworkEndpointsRegionNetworkEndpointGroupRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method DetachNetworkEndpoints not implemented") -} -func (*UnimplementedRegionNetworkEndpointGroupsServer) Get(context.Context, *GetRegionNetworkEndpointGroupRequest) (*NetworkEndpointGroup, error) { - return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") -} -func (*UnimplementedRegionNetworkEndpointGroupsServer) Insert(context.Context, *InsertRegionNetworkEndpointGroupRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Insert not implemented") -} -func (*UnimplementedRegionNetworkEndpointGroupsServer) List(context.Context, *ListRegionNetworkEndpointGroupsRequest) (*NetworkEndpointGroupList, error) { - return nil, status.Errorf(codes.Unimplemented, "method List not implemented") -} -func (*UnimplementedRegionNetworkEndpointGroupsServer) ListNetworkEndpoints(context.Context, *ListNetworkEndpointsRegionNetworkEndpointGroupsRequest) (*NetworkEndpointGroupsListNetworkEndpoints, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListNetworkEndpoints not implemented") -} - -func RegisterRegionNetworkEndpointGroupsServer(s *grpc.Server, srv RegionNetworkEndpointGroupsServer) { - s.RegisterService(&_RegionNetworkEndpointGroups_serviceDesc, srv) -} - -func _RegionNetworkEndpointGroups_AttachNetworkEndpoints_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AttachNetworkEndpointsRegionNetworkEndpointGroupRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionNetworkEndpointGroupsServer).AttachNetworkEndpoints(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionNetworkEndpointGroups/AttachNetworkEndpoints", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionNetworkEndpointGroupsServer).AttachNetworkEndpoints(ctx, req.(*AttachNetworkEndpointsRegionNetworkEndpointGroupRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionNetworkEndpointGroups_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteRegionNetworkEndpointGroupRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionNetworkEndpointGroupsServer).Delete(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionNetworkEndpointGroups/Delete", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionNetworkEndpointGroupsServer).Delete(ctx, req.(*DeleteRegionNetworkEndpointGroupRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionNetworkEndpointGroups_DetachNetworkEndpoints_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DetachNetworkEndpointsRegionNetworkEndpointGroupRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionNetworkEndpointGroupsServer).DetachNetworkEndpoints(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionNetworkEndpointGroups/DetachNetworkEndpoints", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionNetworkEndpointGroupsServer).DetachNetworkEndpoints(ctx, req.(*DetachNetworkEndpointsRegionNetworkEndpointGroupRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionNetworkEndpointGroups_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetRegionNetworkEndpointGroupRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionNetworkEndpointGroupsServer).Get(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionNetworkEndpointGroups/Get", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionNetworkEndpointGroupsServer).Get(ctx, req.(*GetRegionNetworkEndpointGroupRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionNetworkEndpointGroups_Insert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(InsertRegionNetworkEndpointGroupRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionNetworkEndpointGroupsServer).Insert(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionNetworkEndpointGroups/Insert", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionNetworkEndpointGroupsServer).Insert(ctx, req.(*InsertRegionNetworkEndpointGroupRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionNetworkEndpointGroups_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListRegionNetworkEndpointGroupsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionNetworkEndpointGroupsServer).List(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionNetworkEndpointGroups/List", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionNetworkEndpointGroupsServer).List(ctx, req.(*ListRegionNetworkEndpointGroupsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionNetworkEndpointGroups_ListNetworkEndpoints_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListNetworkEndpointsRegionNetworkEndpointGroupsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionNetworkEndpointGroupsServer).ListNetworkEndpoints(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionNetworkEndpointGroups/ListNetworkEndpoints", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionNetworkEndpointGroupsServer).ListNetworkEndpoints(ctx, req.(*ListNetworkEndpointsRegionNetworkEndpointGroupsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _RegionNetworkEndpointGroups_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.RegionNetworkEndpointGroups", - HandlerType: (*RegionNetworkEndpointGroupsServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "AttachNetworkEndpoints", - Handler: _RegionNetworkEndpointGroups_AttachNetworkEndpoints_Handler, - }, - { - MethodName: "Delete", - Handler: _RegionNetworkEndpointGroups_Delete_Handler, - }, - { - MethodName: "DetachNetworkEndpoints", - Handler: _RegionNetworkEndpointGroups_DetachNetworkEndpoints_Handler, - }, - { - MethodName: "Get", - Handler: _RegionNetworkEndpointGroups_Get_Handler, - }, - { - MethodName: "Insert", - Handler: _RegionNetworkEndpointGroups_Insert_Handler, - }, - { - MethodName: "List", - Handler: _RegionNetworkEndpointGroups_List_Handler, - }, - { - MethodName: "ListNetworkEndpoints", - Handler: _RegionNetworkEndpointGroups_ListNetworkEndpoints_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} - -// RegionNetworkFirewallPoliciesClient is the client API for RegionNetworkFirewallPolicies service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type RegionNetworkFirewallPoliciesClient interface { - // Inserts an association for the specified network firewall policy. - AddAssociation(ctx context.Context, in *AddAssociationRegionNetworkFirewallPolicyRequest, opts ...grpc.CallOption) (*Operation, error) - // Inserts a rule into a network firewall policy. - AddRule(ctx context.Context, in *AddRuleRegionNetworkFirewallPolicyRequest, opts ...grpc.CallOption) (*Operation, error) - // Copies rules to the specified network firewall policy. - CloneRules(ctx context.Context, in *CloneRulesRegionNetworkFirewallPolicyRequest, opts ...grpc.CallOption) (*Operation, error) - // Deletes the specified network firewall policy. - Delete(ctx context.Context, in *DeleteRegionNetworkFirewallPolicyRequest, opts ...grpc.CallOption) (*Operation, error) - // Returns the specified network firewall policy. - Get(ctx context.Context, in *GetRegionNetworkFirewallPolicyRequest, opts ...grpc.CallOption) (*FirewallPolicy, error) - // Gets an association with the specified name. - GetAssociation(ctx context.Context, in *GetAssociationRegionNetworkFirewallPolicyRequest, opts ...grpc.CallOption) (*FirewallPolicyAssociation, error) - // Returns the effective firewalls on a given network. - GetEffectiveFirewalls(ctx context.Context, in *GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest, opts ...grpc.CallOption) (*RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse, error) - // Gets the access control policy for a resource. May be empty if no such policy or resource exists. - GetIamPolicy(ctx context.Context, in *GetIamPolicyRegionNetworkFirewallPolicyRequest, opts ...grpc.CallOption) (*Policy, error) - // Gets a rule of the specified priority. - GetRule(ctx context.Context, in *GetRuleRegionNetworkFirewallPolicyRequest, opts ...grpc.CallOption) (*FirewallPolicyRule, error) - // Creates a new network firewall policy in the specified project and region. - Insert(ctx context.Context, in *InsertRegionNetworkFirewallPolicyRequest, opts ...grpc.CallOption) (*Operation, error) - // Lists all the network firewall policies that have been configured for the specified project in the given region. - List(ctx context.Context, in *ListRegionNetworkFirewallPoliciesRequest, opts ...grpc.CallOption) (*FirewallPolicyList, error) - // Patches the specified network firewall policy. - Patch(ctx context.Context, in *PatchRegionNetworkFirewallPolicyRequest, opts ...grpc.CallOption) (*Operation, error) - // Patches a rule of the specified priority. - PatchRule(ctx context.Context, in *PatchRuleRegionNetworkFirewallPolicyRequest, opts ...grpc.CallOption) (*Operation, error) - // Removes an association for the specified network firewall policy. - RemoveAssociation(ctx context.Context, in *RemoveAssociationRegionNetworkFirewallPolicyRequest, opts ...grpc.CallOption) (*Operation, error) - // Deletes a rule of the specified priority. - RemoveRule(ctx context.Context, in *RemoveRuleRegionNetworkFirewallPolicyRequest, opts ...grpc.CallOption) (*Operation, error) - // Sets the access control policy on the specified resource. Replaces any existing policy. - SetIamPolicy(ctx context.Context, in *SetIamPolicyRegionNetworkFirewallPolicyRequest, opts ...grpc.CallOption) (*Policy, error) - // Returns permissions that a caller has on the specified resource. - TestIamPermissions(ctx context.Context, in *TestIamPermissionsRegionNetworkFirewallPolicyRequest, opts ...grpc.CallOption) (*TestPermissionsResponse, error) -} - -type regionNetworkFirewallPoliciesClient struct { - cc grpc.ClientConnInterface -} - -func NewRegionNetworkFirewallPoliciesClient(cc grpc.ClientConnInterface) RegionNetworkFirewallPoliciesClient { - return ®ionNetworkFirewallPoliciesClient{cc} -} - -func (c *regionNetworkFirewallPoliciesClient) AddAssociation(ctx context.Context, in *AddAssociationRegionNetworkFirewallPolicyRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionNetworkFirewallPolicies/AddAssociation", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionNetworkFirewallPoliciesClient) AddRule(ctx context.Context, in *AddRuleRegionNetworkFirewallPolicyRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionNetworkFirewallPolicies/AddRule", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionNetworkFirewallPoliciesClient) CloneRules(ctx context.Context, in *CloneRulesRegionNetworkFirewallPolicyRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionNetworkFirewallPolicies/CloneRules", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionNetworkFirewallPoliciesClient) Delete(ctx context.Context, in *DeleteRegionNetworkFirewallPolicyRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionNetworkFirewallPolicies/Delete", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionNetworkFirewallPoliciesClient) Get(ctx context.Context, in *GetRegionNetworkFirewallPolicyRequest, opts ...grpc.CallOption) (*FirewallPolicy, error) { - out := new(FirewallPolicy) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionNetworkFirewallPolicies/Get", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionNetworkFirewallPoliciesClient) GetAssociation(ctx context.Context, in *GetAssociationRegionNetworkFirewallPolicyRequest, opts ...grpc.CallOption) (*FirewallPolicyAssociation, error) { - out := new(FirewallPolicyAssociation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionNetworkFirewallPolicies/GetAssociation", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionNetworkFirewallPoliciesClient) GetEffectiveFirewalls(ctx context.Context, in *GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest, opts ...grpc.CallOption) (*RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse, error) { - out := new(RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionNetworkFirewallPolicies/GetEffectiveFirewalls", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionNetworkFirewallPoliciesClient) GetIamPolicy(ctx context.Context, in *GetIamPolicyRegionNetworkFirewallPolicyRequest, opts ...grpc.CallOption) (*Policy, error) { - out := new(Policy) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionNetworkFirewallPolicies/GetIamPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionNetworkFirewallPoliciesClient) GetRule(ctx context.Context, in *GetRuleRegionNetworkFirewallPolicyRequest, opts ...grpc.CallOption) (*FirewallPolicyRule, error) { - out := new(FirewallPolicyRule) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionNetworkFirewallPolicies/GetRule", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionNetworkFirewallPoliciesClient) Insert(ctx context.Context, in *InsertRegionNetworkFirewallPolicyRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionNetworkFirewallPolicies/Insert", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionNetworkFirewallPoliciesClient) List(ctx context.Context, in *ListRegionNetworkFirewallPoliciesRequest, opts ...grpc.CallOption) (*FirewallPolicyList, error) { - out := new(FirewallPolicyList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionNetworkFirewallPolicies/List", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionNetworkFirewallPoliciesClient) Patch(ctx context.Context, in *PatchRegionNetworkFirewallPolicyRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionNetworkFirewallPolicies/Patch", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionNetworkFirewallPoliciesClient) PatchRule(ctx context.Context, in *PatchRuleRegionNetworkFirewallPolicyRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionNetworkFirewallPolicies/PatchRule", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionNetworkFirewallPoliciesClient) RemoveAssociation(ctx context.Context, in *RemoveAssociationRegionNetworkFirewallPolicyRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionNetworkFirewallPolicies/RemoveAssociation", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionNetworkFirewallPoliciesClient) RemoveRule(ctx context.Context, in *RemoveRuleRegionNetworkFirewallPolicyRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionNetworkFirewallPolicies/RemoveRule", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionNetworkFirewallPoliciesClient) SetIamPolicy(ctx context.Context, in *SetIamPolicyRegionNetworkFirewallPolicyRequest, opts ...grpc.CallOption) (*Policy, error) { - out := new(Policy) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionNetworkFirewallPolicies/SetIamPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionNetworkFirewallPoliciesClient) TestIamPermissions(ctx context.Context, in *TestIamPermissionsRegionNetworkFirewallPolicyRequest, opts ...grpc.CallOption) (*TestPermissionsResponse, error) { - out := new(TestPermissionsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionNetworkFirewallPolicies/TestIamPermissions", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// RegionNetworkFirewallPoliciesServer is the server API for RegionNetworkFirewallPolicies service. -type RegionNetworkFirewallPoliciesServer interface { - // Inserts an association for the specified network firewall policy. - AddAssociation(context.Context, *AddAssociationRegionNetworkFirewallPolicyRequest) (*Operation, error) - // Inserts a rule into a network firewall policy. - AddRule(context.Context, *AddRuleRegionNetworkFirewallPolicyRequest) (*Operation, error) - // Copies rules to the specified network firewall policy. - CloneRules(context.Context, *CloneRulesRegionNetworkFirewallPolicyRequest) (*Operation, error) - // Deletes the specified network firewall policy. - Delete(context.Context, *DeleteRegionNetworkFirewallPolicyRequest) (*Operation, error) - // Returns the specified network firewall policy. - Get(context.Context, *GetRegionNetworkFirewallPolicyRequest) (*FirewallPolicy, error) - // Gets an association with the specified name. - GetAssociation(context.Context, *GetAssociationRegionNetworkFirewallPolicyRequest) (*FirewallPolicyAssociation, error) - // Returns the effective firewalls on a given network. - GetEffectiveFirewalls(context.Context, *GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest) (*RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse, error) - // Gets the access control policy for a resource. May be empty if no such policy or resource exists. - GetIamPolicy(context.Context, *GetIamPolicyRegionNetworkFirewallPolicyRequest) (*Policy, error) - // Gets a rule of the specified priority. - GetRule(context.Context, *GetRuleRegionNetworkFirewallPolicyRequest) (*FirewallPolicyRule, error) - // Creates a new network firewall policy in the specified project and region. - Insert(context.Context, *InsertRegionNetworkFirewallPolicyRequest) (*Operation, error) - // Lists all the network firewall policies that have been configured for the specified project in the given region. - List(context.Context, *ListRegionNetworkFirewallPoliciesRequest) (*FirewallPolicyList, error) - // Patches the specified network firewall policy. - Patch(context.Context, *PatchRegionNetworkFirewallPolicyRequest) (*Operation, error) - // Patches a rule of the specified priority. - PatchRule(context.Context, *PatchRuleRegionNetworkFirewallPolicyRequest) (*Operation, error) - // Removes an association for the specified network firewall policy. - RemoveAssociation(context.Context, *RemoveAssociationRegionNetworkFirewallPolicyRequest) (*Operation, error) - // Deletes a rule of the specified priority. - RemoveRule(context.Context, *RemoveRuleRegionNetworkFirewallPolicyRequest) (*Operation, error) - // Sets the access control policy on the specified resource. Replaces any existing policy. - SetIamPolicy(context.Context, *SetIamPolicyRegionNetworkFirewallPolicyRequest) (*Policy, error) - // Returns permissions that a caller has on the specified resource. - TestIamPermissions(context.Context, *TestIamPermissionsRegionNetworkFirewallPolicyRequest) (*TestPermissionsResponse, error) -} - -// UnimplementedRegionNetworkFirewallPoliciesServer can be embedded to have forward compatible implementations. -type UnimplementedRegionNetworkFirewallPoliciesServer struct { -} - -func (*UnimplementedRegionNetworkFirewallPoliciesServer) AddAssociation(context.Context, *AddAssociationRegionNetworkFirewallPolicyRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method AddAssociation not implemented") -} -func (*UnimplementedRegionNetworkFirewallPoliciesServer) AddRule(context.Context, *AddRuleRegionNetworkFirewallPolicyRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method AddRule not implemented") -} -func (*UnimplementedRegionNetworkFirewallPoliciesServer) CloneRules(context.Context, *CloneRulesRegionNetworkFirewallPolicyRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method CloneRules not implemented") -} -func (*UnimplementedRegionNetworkFirewallPoliciesServer) Delete(context.Context, *DeleteRegionNetworkFirewallPolicyRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") -} -func (*UnimplementedRegionNetworkFirewallPoliciesServer) Get(context.Context, *GetRegionNetworkFirewallPolicyRequest) (*FirewallPolicy, error) { - return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") -} -func (*UnimplementedRegionNetworkFirewallPoliciesServer) GetAssociation(context.Context, *GetAssociationRegionNetworkFirewallPolicyRequest) (*FirewallPolicyAssociation, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetAssociation not implemented") -} -func (*UnimplementedRegionNetworkFirewallPoliciesServer) GetEffectiveFirewalls(context.Context, *GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest) (*RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetEffectiveFirewalls not implemented") -} -func (*UnimplementedRegionNetworkFirewallPoliciesServer) GetIamPolicy(context.Context, *GetIamPolicyRegionNetworkFirewallPolicyRequest) (*Policy, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetIamPolicy not implemented") -} -func (*UnimplementedRegionNetworkFirewallPoliciesServer) GetRule(context.Context, *GetRuleRegionNetworkFirewallPolicyRequest) (*FirewallPolicyRule, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetRule not implemented") -} -func (*UnimplementedRegionNetworkFirewallPoliciesServer) Insert(context.Context, *InsertRegionNetworkFirewallPolicyRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Insert not implemented") -} -func (*UnimplementedRegionNetworkFirewallPoliciesServer) List(context.Context, *ListRegionNetworkFirewallPoliciesRequest) (*FirewallPolicyList, error) { - return nil, status.Errorf(codes.Unimplemented, "method List not implemented") -} -func (*UnimplementedRegionNetworkFirewallPoliciesServer) Patch(context.Context, *PatchRegionNetworkFirewallPolicyRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Patch not implemented") -} -func (*UnimplementedRegionNetworkFirewallPoliciesServer) PatchRule(context.Context, *PatchRuleRegionNetworkFirewallPolicyRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method PatchRule not implemented") -} -func (*UnimplementedRegionNetworkFirewallPoliciesServer) RemoveAssociation(context.Context, *RemoveAssociationRegionNetworkFirewallPolicyRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method RemoveAssociation not implemented") -} -func (*UnimplementedRegionNetworkFirewallPoliciesServer) RemoveRule(context.Context, *RemoveRuleRegionNetworkFirewallPolicyRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method RemoveRule not implemented") -} -func (*UnimplementedRegionNetworkFirewallPoliciesServer) SetIamPolicy(context.Context, *SetIamPolicyRegionNetworkFirewallPolicyRequest) (*Policy, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetIamPolicy not implemented") -} -func (*UnimplementedRegionNetworkFirewallPoliciesServer) TestIamPermissions(context.Context, *TestIamPermissionsRegionNetworkFirewallPolicyRequest) (*TestPermissionsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method TestIamPermissions not implemented") -} - -func RegisterRegionNetworkFirewallPoliciesServer(s *grpc.Server, srv RegionNetworkFirewallPoliciesServer) { - s.RegisterService(&_RegionNetworkFirewallPolicies_serviceDesc, srv) -} - -func _RegionNetworkFirewallPolicies_AddAssociation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AddAssociationRegionNetworkFirewallPolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionNetworkFirewallPoliciesServer).AddAssociation(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionNetworkFirewallPolicies/AddAssociation", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionNetworkFirewallPoliciesServer).AddAssociation(ctx, req.(*AddAssociationRegionNetworkFirewallPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionNetworkFirewallPolicies_AddRule_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AddRuleRegionNetworkFirewallPolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionNetworkFirewallPoliciesServer).AddRule(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionNetworkFirewallPolicies/AddRule", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionNetworkFirewallPoliciesServer).AddRule(ctx, req.(*AddRuleRegionNetworkFirewallPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionNetworkFirewallPolicies_CloneRules_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CloneRulesRegionNetworkFirewallPolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionNetworkFirewallPoliciesServer).CloneRules(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionNetworkFirewallPolicies/CloneRules", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionNetworkFirewallPoliciesServer).CloneRules(ctx, req.(*CloneRulesRegionNetworkFirewallPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionNetworkFirewallPolicies_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteRegionNetworkFirewallPolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionNetworkFirewallPoliciesServer).Delete(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionNetworkFirewallPolicies/Delete", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionNetworkFirewallPoliciesServer).Delete(ctx, req.(*DeleteRegionNetworkFirewallPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionNetworkFirewallPolicies_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetRegionNetworkFirewallPolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionNetworkFirewallPoliciesServer).Get(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionNetworkFirewallPolicies/Get", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionNetworkFirewallPoliciesServer).Get(ctx, req.(*GetRegionNetworkFirewallPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionNetworkFirewallPolicies_GetAssociation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetAssociationRegionNetworkFirewallPolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionNetworkFirewallPoliciesServer).GetAssociation(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionNetworkFirewallPolicies/GetAssociation", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionNetworkFirewallPoliciesServer).GetAssociation(ctx, req.(*GetAssociationRegionNetworkFirewallPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionNetworkFirewallPolicies_GetEffectiveFirewalls_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionNetworkFirewallPoliciesServer).GetEffectiveFirewalls(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionNetworkFirewallPolicies/GetEffectiveFirewalls", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionNetworkFirewallPoliciesServer).GetEffectiveFirewalls(ctx, req.(*GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionNetworkFirewallPolicies_GetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetIamPolicyRegionNetworkFirewallPolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionNetworkFirewallPoliciesServer).GetIamPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionNetworkFirewallPolicies/GetIamPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionNetworkFirewallPoliciesServer).GetIamPolicy(ctx, req.(*GetIamPolicyRegionNetworkFirewallPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionNetworkFirewallPolicies_GetRule_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetRuleRegionNetworkFirewallPolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionNetworkFirewallPoliciesServer).GetRule(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionNetworkFirewallPolicies/GetRule", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionNetworkFirewallPoliciesServer).GetRule(ctx, req.(*GetRuleRegionNetworkFirewallPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionNetworkFirewallPolicies_Insert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(InsertRegionNetworkFirewallPolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionNetworkFirewallPoliciesServer).Insert(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionNetworkFirewallPolicies/Insert", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionNetworkFirewallPoliciesServer).Insert(ctx, req.(*InsertRegionNetworkFirewallPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionNetworkFirewallPolicies_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListRegionNetworkFirewallPoliciesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionNetworkFirewallPoliciesServer).List(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionNetworkFirewallPolicies/List", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionNetworkFirewallPoliciesServer).List(ctx, req.(*ListRegionNetworkFirewallPoliciesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionNetworkFirewallPolicies_Patch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PatchRegionNetworkFirewallPolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionNetworkFirewallPoliciesServer).Patch(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionNetworkFirewallPolicies/Patch", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionNetworkFirewallPoliciesServer).Patch(ctx, req.(*PatchRegionNetworkFirewallPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionNetworkFirewallPolicies_PatchRule_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PatchRuleRegionNetworkFirewallPolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionNetworkFirewallPoliciesServer).PatchRule(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionNetworkFirewallPolicies/PatchRule", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionNetworkFirewallPoliciesServer).PatchRule(ctx, req.(*PatchRuleRegionNetworkFirewallPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionNetworkFirewallPolicies_RemoveAssociation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RemoveAssociationRegionNetworkFirewallPolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionNetworkFirewallPoliciesServer).RemoveAssociation(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionNetworkFirewallPolicies/RemoveAssociation", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionNetworkFirewallPoliciesServer).RemoveAssociation(ctx, req.(*RemoveAssociationRegionNetworkFirewallPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionNetworkFirewallPolicies_RemoveRule_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RemoveRuleRegionNetworkFirewallPolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionNetworkFirewallPoliciesServer).RemoveRule(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionNetworkFirewallPolicies/RemoveRule", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionNetworkFirewallPoliciesServer).RemoveRule(ctx, req.(*RemoveRuleRegionNetworkFirewallPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionNetworkFirewallPolicies_SetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetIamPolicyRegionNetworkFirewallPolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionNetworkFirewallPoliciesServer).SetIamPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionNetworkFirewallPolicies/SetIamPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionNetworkFirewallPoliciesServer).SetIamPolicy(ctx, req.(*SetIamPolicyRegionNetworkFirewallPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionNetworkFirewallPolicies_TestIamPermissions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(TestIamPermissionsRegionNetworkFirewallPolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionNetworkFirewallPoliciesServer).TestIamPermissions(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionNetworkFirewallPolicies/TestIamPermissions", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionNetworkFirewallPoliciesServer).TestIamPermissions(ctx, req.(*TestIamPermissionsRegionNetworkFirewallPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _RegionNetworkFirewallPolicies_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.RegionNetworkFirewallPolicies", - HandlerType: (*RegionNetworkFirewallPoliciesServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "AddAssociation", - Handler: _RegionNetworkFirewallPolicies_AddAssociation_Handler, - }, - { - MethodName: "AddRule", - Handler: _RegionNetworkFirewallPolicies_AddRule_Handler, - }, - { - MethodName: "CloneRules", - Handler: _RegionNetworkFirewallPolicies_CloneRules_Handler, - }, - { - MethodName: "Delete", - Handler: _RegionNetworkFirewallPolicies_Delete_Handler, - }, - { - MethodName: "Get", - Handler: _RegionNetworkFirewallPolicies_Get_Handler, - }, - { - MethodName: "GetAssociation", - Handler: _RegionNetworkFirewallPolicies_GetAssociation_Handler, - }, - { - MethodName: "GetEffectiveFirewalls", - Handler: _RegionNetworkFirewallPolicies_GetEffectiveFirewalls_Handler, - }, - { - MethodName: "GetIamPolicy", - Handler: _RegionNetworkFirewallPolicies_GetIamPolicy_Handler, - }, - { - MethodName: "GetRule", - Handler: _RegionNetworkFirewallPolicies_GetRule_Handler, - }, - { - MethodName: "Insert", - Handler: _RegionNetworkFirewallPolicies_Insert_Handler, - }, - { - MethodName: "List", - Handler: _RegionNetworkFirewallPolicies_List_Handler, - }, - { - MethodName: "Patch", - Handler: _RegionNetworkFirewallPolicies_Patch_Handler, - }, - { - MethodName: "PatchRule", - Handler: _RegionNetworkFirewallPolicies_PatchRule_Handler, - }, - { - MethodName: "RemoveAssociation", - Handler: _RegionNetworkFirewallPolicies_RemoveAssociation_Handler, - }, - { - MethodName: "RemoveRule", - Handler: _RegionNetworkFirewallPolicies_RemoveRule_Handler, - }, - { - MethodName: "SetIamPolicy", - Handler: _RegionNetworkFirewallPolicies_SetIamPolicy_Handler, - }, - { - MethodName: "TestIamPermissions", - Handler: _RegionNetworkFirewallPolicies_TestIamPermissions_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} - -// RegionNotificationEndpointsClient is the client API for RegionNotificationEndpoints service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type RegionNotificationEndpointsClient interface { - // Deletes the specified NotificationEndpoint in the given region - Delete(ctx context.Context, in *DeleteRegionNotificationEndpointRequest, opts ...grpc.CallOption) (*Operation, error) - // Returns the specified NotificationEndpoint resource in the given region. - Get(ctx context.Context, in *GetRegionNotificationEndpointRequest, opts ...grpc.CallOption) (*NotificationEndpoint, error) - // Create a NotificationEndpoint in the specified project in the given region using the parameters that are included in the request. - Insert(ctx context.Context, in *InsertRegionNotificationEndpointRequest, opts ...grpc.CallOption) (*Operation, error) - // Lists the NotificationEndpoints for a project in the given region. - List(ctx context.Context, in *ListRegionNotificationEndpointsRequest, opts ...grpc.CallOption) (*NotificationEndpointList, error) -} - -type regionNotificationEndpointsClient struct { - cc grpc.ClientConnInterface -} - -func NewRegionNotificationEndpointsClient(cc grpc.ClientConnInterface) RegionNotificationEndpointsClient { - return ®ionNotificationEndpointsClient{cc} -} - -func (c *regionNotificationEndpointsClient) Delete(ctx context.Context, in *DeleteRegionNotificationEndpointRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionNotificationEndpoints/Delete", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionNotificationEndpointsClient) Get(ctx context.Context, in *GetRegionNotificationEndpointRequest, opts ...grpc.CallOption) (*NotificationEndpoint, error) { - out := new(NotificationEndpoint) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionNotificationEndpoints/Get", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionNotificationEndpointsClient) Insert(ctx context.Context, in *InsertRegionNotificationEndpointRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionNotificationEndpoints/Insert", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionNotificationEndpointsClient) List(ctx context.Context, in *ListRegionNotificationEndpointsRequest, opts ...grpc.CallOption) (*NotificationEndpointList, error) { - out := new(NotificationEndpointList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionNotificationEndpoints/List", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// RegionNotificationEndpointsServer is the server API for RegionNotificationEndpoints service. -type RegionNotificationEndpointsServer interface { - // Deletes the specified NotificationEndpoint in the given region - Delete(context.Context, *DeleteRegionNotificationEndpointRequest) (*Operation, error) - // Returns the specified NotificationEndpoint resource in the given region. - Get(context.Context, *GetRegionNotificationEndpointRequest) (*NotificationEndpoint, error) - // Create a NotificationEndpoint in the specified project in the given region using the parameters that are included in the request. - Insert(context.Context, *InsertRegionNotificationEndpointRequest) (*Operation, error) - // Lists the NotificationEndpoints for a project in the given region. - List(context.Context, *ListRegionNotificationEndpointsRequest) (*NotificationEndpointList, error) -} - -// UnimplementedRegionNotificationEndpointsServer can be embedded to have forward compatible implementations. -type UnimplementedRegionNotificationEndpointsServer struct { -} - -func (*UnimplementedRegionNotificationEndpointsServer) Delete(context.Context, *DeleteRegionNotificationEndpointRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") -} -func (*UnimplementedRegionNotificationEndpointsServer) Get(context.Context, *GetRegionNotificationEndpointRequest) (*NotificationEndpoint, error) { - return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") -} -func (*UnimplementedRegionNotificationEndpointsServer) Insert(context.Context, *InsertRegionNotificationEndpointRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Insert not implemented") -} -func (*UnimplementedRegionNotificationEndpointsServer) List(context.Context, *ListRegionNotificationEndpointsRequest) (*NotificationEndpointList, error) { - return nil, status.Errorf(codes.Unimplemented, "method List not implemented") -} - -func RegisterRegionNotificationEndpointsServer(s *grpc.Server, srv RegionNotificationEndpointsServer) { - s.RegisterService(&_RegionNotificationEndpoints_serviceDesc, srv) -} - -func _RegionNotificationEndpoints_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteRegionNotificationEndpointRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionNotificationEndpointsServer).Delete(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionNotificationEndpoints/Delete", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionNotificationEndpointsServer).Delete(ctx, req.(*DeleteRegionNotificationEndpointRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionNotificationEndpoints_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetRegionNotificationEndpointRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionNotificationEndpointsServer).Get(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionNotificationEndpoints/Get", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionNotificationEndpointsServer).Get(ctx, req.(*GetRegionNotificationEndpointRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionNotificationEndpoints_Insert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(InsertRegionNotificationEndpointRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionNotificationEndpointsServer).Insert(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionNotificationEndpoints/Insert", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionNotificationEndpointsServer).Insert(ctx, req.(*InsertRegionNotificationEndpointRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionNotificationEndpoints_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListRegionNotificationEndpointsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionNotificationEndpointsServer).List(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionNotificationEndpoints/List", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionNotificationEndpointsServer).List(ctx, req.(*ListRegionNotificationEndpointsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _RegionNotificationEndpoints_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.RegionNotificationEndpoints", - HandlerType: (*RegionNotificationEndpointsServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "Delete", - Handler: _RegionNotificationEndpoints_Delete_Handler, - }, - { - MethodName: "Get", - Handler: _RegionNotificationEndpoints_Get_Handler, - }, - { - MethodName: "Insert", - Handler: _RegionNotificationEndpoints_Insert_Handler, - }, - { - MethodName: "List", - Handler: _RegionNotificationEndpoints_List_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} - -// RegionOperationsClient is the client API for RegionOperations service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type RegionOperationsClient interface { - // Deletes the specified region-specific Operations resource. - Delete(ctx context.Context, in *DeleteRegionOperationRequest, opts ...grpc.CallOption) (*DeleteRegionOperationResponse, error) - // Retrieves the specified region-specific Operations resource. - Get(ctx context.Context, in *GetRegionOperationRequest, opts ...grpc.CallOption) (*Operation, error) - // Retrieves a list of Operation resources contained within the specified region. - List(ctx context.Context, in *ListRegionOperationsRequest, opts ...grpc.CallOption) (*OperationList, error) - // Waits for the specified Operation resource to return as `DONE` or for the request to approach the 2 minute deadline, and retrieves the specified Operation resource. This method differs from the `GET` method in that it waits for no more than the default deadline (2 minutes) and then returns the current state of the operation, which might be `DONE` or still in progress. This method is called on a best-effort basis. Specifically: - In uncommon cases, when the server is overloaded, the request might return before the default deadline is reached, or might return after zero seconds. - If the default deadline is reached, there is no guarantee that the operation is actually done when the method returns. Be prepared to retry if the operation is not `DONE`. - Wait(ctx context.Context, in *WaitRegionOperationRequest, opts ...grpc.CallOption) (*Operation, error) -} - -type regionOperationsClient struct { - cc grpc.ClientConnInterface -} - -func NewRegionOperationsClient(cc grpc.ClientConnInterface) RegionOperationsClient { - return ®ionOperationsClient{cc} -} - -func (c *regionOperationsClient) Delete(ctx context.Context, in *DeleteRegionOperationRequest, opts ...grpc.CallOption) (*DeleteRegionOperationResponse, error) { - out := new(DeleteRegionOperationResponse) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionOperations/Delete", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionOperationsClient) Get(ctx context.Context, in *GetRegionOperationRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionOperations/Get", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionOperationsClient) List(ctx context.Context, in *ListRegionOperationsRequest, opts ...grpc.CallOption) (*OperationList, error) { - out := new(OperationList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionOperations/List", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionOperationsClient) Wait(ctx context.Context, in *WaitRegionOperationRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionOperations/Wait", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// RegionOperationsServer is the server API for RegionOperations service. -type RegionOperationsServer interface { - // Deletes the specified region-specific Operations resource. - Delete(context.Context, *DeleteRegionOperationRequest) (*DeleteRegionOperationResponse, error) - // Retrieves the specified region-specific Operations resource. - Get(context.Context, *GetRegionOperationRequest) (*Operation, error) - // Retrieves a list of Operation resources contained within the specified region. - List(context.Context, *ListRegionOperationsRequest) (*OperationList, error) - // Waits for the specified Operation resource to return as `DONE` or for the request to approach the 2 minute deadline, and retrieves the specified Operation resource. This method differs from the `GET` method in that it waits for no more than the default deadline (2 minutes) and then returns the current state of the operation, which might be `DONE` or still in progress. This method is called on a best-effort basis. Specifically: - In uncommon cases, when the server is overloaded, the request might return before the default deadline is reached, or might return after zero seconds. - If the default deadline is reached, there is no guarantee that the operation is actually done when the method returns. Be prepared to retry if the operation is not `DONE`. - Wait(context.Context, *WaitRegionOperationRequest) (*Operation, error) -} - -// UnimplementedRegionOperationsServer can be embedded to have forward compatible implementations. -type UnimplementedRegionOperationsServer struct { -} - -func (*UnimplementedRegionOperationsServer) Delete(context.Context, *DeleteRegionOperationRequest) (*DeleteRegionOperationResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") -} -func (*UnimplementedRegionOperationsServer) Get(context.Context, *GetRegionOperationRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") -} -func (*UnimplementedRegionOperationsServer) List(context.Context, *ListRegionOperationsRequest) (*OperationList, error) { - return nil, status.Errorf(codes.Unimplemented, "method List not implemented") -} -func (*UnimplementedRegionOperationsServer) Wait(context.Context, *WaitRegionOperationRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Wait not implemented") -} - -func RegisterRegionOperationsServer(s *grpc.Server, srv RegionOperationsServer) { - s.RegisterService(&_RegionOperations_serviceDesc, srv) -} - -func _RegionOperations_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteRegionOperationRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionOperationsServer).Delete(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionOperations/Delete", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionOperationsServer).Delete(ctx, req.(*DeleteRegionOperationRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionOperations_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetRegionOperationRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionOperationsServer).Get(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionOperations/Get", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionOperationsServer).Get(ctx, req.(*GetRegionOperationRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionOperations_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListRegionOperationsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionOperationsServer).List(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionOperations/List", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionOperationsServer).List(ctx, req.(*ListRegionOperationsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionOperations_Wait_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(WaitRegionOperationRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionOperationsServer).Wait(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionOperations/Wait", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionOperationsServer).Wait(ctx, req.(*WaitRegionOperationRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _RegionOperations_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.RegionOperations", - HandlerType: (*RegionOperationsServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "Delete", - Handler: _RegionOperations_Delete_Handler, - }, - { - MethodName: "Get", - Handler: _RegionOperations_Get_Handler, - }, - { - MethodName: "List", - Handler: _RegionOperations_List_Handler, - }, - { - MethodName: "Wait", - Handler: _RegionOperations_Wait_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} - -// RegionSecurityPoliciesClient is the client API for RegionSecurityPolicies service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type RegionSecurityPoliciesClient interface { - // Inserts a rule into a security policy. - AddRule(ctx context.Context, in *AddRuleRegionSecurityPolicyRequest, opts ...grpc.CallOption) (*Operation, error) - // Deletes the specified policy. - Delete(ctx context.Context, in *DeleteRegionSecurityPolicyRequest, opts ...grpc.CallOption) (*Operation, error) - // List all of the ordered rules present in a single specified policy. - Get(ctx context.Context, in *GetRegionSecurityPolicyRequest, opts ...grpc.CallOption) (*SecurityPolicy, error) - // Gets a rule at the specified priority. - GetRule(ctx context.Context, in *GetRuleRegionSecurityPolicyRequest, opts ...grpc.CallOption) (*SecurityPolicyRule, error) - // Creates a new policy in the specified project using the data included in the request. - Insert(ctx context.Context, in *InsertRegionSecurityPolicyRequest, opts ...grpc.CallOption) (*Operation, error) - // List all the policies that have been configured for the specified project and region. - List(ctx context.Context, in *ListRegionSecurityPoliciesRequest, opts ...grpc.CallOption) (*SecurityPolicyList, error) - // Patches the specified policy with the data included in the request. To clear fields in the policy, leave the fields empty and specify them in the updateMask. This cannot be used to be update the rules in the policy. Please use the per rule methods like addRule, patchRule, and removeRule instead. - Patch(ctx context.Context, in *PatchRegionSecurityPolicyRequest, opts ...grpc.CallOption) (*Operation, error) - // Patches a rule at the specified priority. To clear fields in the rule, leave the fields empty and specify them in the updateMask. - PatchRule(ctx context.Context, in *PatchRuleRegionSecurityPolicyRequest, opts ...grpc.CallOption) (*Operation, error) - // Deletes a rule at the specified priority. - RemoveRule(ctx context.Context, in *RemoveRuleRegionSecurityPolicyRequest, opts ...grpc.CallOption) (*Operation, error) -} - -type regionSecurityPoliciesClient struct { - cc grpc.ClientConnInterface -} - -func NewRegionSecurityPoliciesClient(cc grpc.ClientConnInterface) RegionSecurityPoliciesClient { - return ®ionSecurityPoliciesClient{cc} -} - -func (c *regionSecurityPoliciesClient) AddRule(ctx context.Context, in *AddRuleRegionSecurityPolicyRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionSecurityPolicies/AddRule", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionSecurityPoliciesClient) Delete(ctx context.Context, in *DeleteRegionSecurityPolicyRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionSecurityPolicies/Delete", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionSecurityPoliciesClient) Get(ctx context.Context, in *GetRegionSecurityPolicyRequest, opts ...grpc.CallOption) (*SecurityPolicy, error) { - out := new(SecurityPolicy) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionSecurityPolicies/Get", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionSecurityPoliciesClient) GetRule(ctx context.Context, in *GetRuleRegionSecurityPolicyRequest, opts ...grpc.CallOption) (*SecurityPolicyRule, error) { - out := new(SecurityPolicyRule) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionSecurityPolicies/GetRule", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionSecurityPoliciesClient) Insert(ctx context.Context, in *InsertRegionSecurityPolicyRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionSecurityPolicies/Insert", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionSecurityPoliciesClient) List(ctx context.Context, in *ListRegionSecurityPoliciesRequest, opts ...grpc.CallOption) (*SecurityPolicyList, error) { - out := new(SecurityPolicyList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionSecurityPolicies/List", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionSecurityPoliciesClient) Patch(ctx context.Context, in *PatchRegionSecurityPolicyRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionSecurityPolicies/Patch", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionSecurityPoliciesClient) PatchRule(ctx context.Context, in *PatchRuleRegionSecurityPolicyRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionSecurityPolicies/PatchRule", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionSecurityPoliciesClient) RemoveRule(ctx context.Context, in *RemoveRuleRegionSecurityPolicyRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionSecurityPolicies/RemoveRule", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// RegionSecurityPoliciesServer is the server API for RegionSecurityPolicies service. -type RegionSecurityPoliciesServer interface { - // Inserts a rule into a security policy. - AddRule(context.Context, *AddRuleRegionSecurityPolicyRequest) (*Operation, error) - // Deletes the specified policy. - Delete(context.Context, *DeleteRegionSecurityPolicyRequest) (*Operation, error) - // List all of the ordered rules present in a single specified policy. - Get(context.Context, *GetRegionSecurityPolicyRequest) (*SecurityPolicy, error) - // Gets a rule at the specified priority. - GetRule(context.Context, *GetRuleRegionSecurityPolicyRequest) (*SecurityPolicyRule, error) - // Creates a new policy in the specified project using the data included in the request. - Insert(context.Context, *InsertRegionSecurityPolicyRequest) (*Operation, error) - // List all the policies that have been configured for the specified project and region. - List(context.Context, *ListRegionSecurityPoliciesRequest) (*SecurityPolicyList, error) - // Patches the specified policy with the data included in the request. To clear fields in the policy, leave the fields empty and specify them in the updateMask. This cannot be used to be update the rules in the policy. Please use the per rule methods like addRule, patchRule, and removeRule instead. - Patch(context.Context, *PatchRegionSecurityPolicyRequest) (*Operation, error) - // Patches a rule at the specified priority. To clear fields in the rule, leave the fields empty and specify them in the updateMask. - PatchRule(context.Context, *PatchRuleRegionSecurityPolicyRequest) (*Operation, error) - // Deletes a rule at the specified priority. - RemoveRule(context.Context, *RemoveRuleRegionSecurityPolicyRequest) (*Operation, error) -} - -// UnimplementedRegionSecurityPoliciesServer can be embedded to have forward compatible implementations. -type UnimplementedRegionSecurityPoliciesServer struct { -} - -func (*UnimplementedRegionSecurityPoliciesServer) AddRule(context.Context, *AddRuleRegionSecurityPolicyRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method AddRule not implemented") -} -func (*UnimplementedRegionSecurityPoliciesServer) Delete(context.Context, *DeleteRegionSecurityPolicyRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") -} -func (*UnimplementedRegionSecurityPoliciesServer) Get(context.Context, *GetRegionSecurityPolicyRequest) (*SecurityPolicy, error) { - return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") -} -func (*UnimplementedRegionSecurityPoliciesServer) GetRule(context.Context, *GetRuleRegionSecurityPolicyRequest) (*SecurityPolicyRule, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetRule not implemented") -} -func (*UnimplementedRegionSecurityPoliciesServer) Insert(context.Context, *InsertRegionSecurityPolicyRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Insert not implemented") -} -func (*UnimplementedRegionSecurityPoliciesServer) List(context.Context, *ListRegionSecurityPoliciesRequest) (*SecurityPolicyList, error) { - return nil, status.Errorf(codes.Unimplemented, "method List not implemented") -} -func (*UnimplementedRegionSecurityPoliciesServer) Patch(context.Context, *PatchRegionSecurityPolicyRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Patch not implemented") -} -func (*UnimplementedRegionSecurityPoliciesServer) PatchRule(context.Context, *PatchRuleRegionSecurityPolicyRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method PatchRule not implemented") -} -func (*UnimplementedRegionSecurityPoliciesServer) RemoveRule(context.Context, *RemoveRuleRegionSecurityPolicyRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method RemoveRule not implemented") -} - -func RegisterRegionSecurityPoliciesServer(s *grpc.Server, srv RegionSecurityPoliciesServer) { - s.RegisterService(&_RegionSecurityPolicies_serviceDesc, srv) -} - -func _RegionSecurityPolicies_AddRule_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AddRuleRegionSecurityPolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionSecurityPoliciesServer).AddRule(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionSecurityPolicies/AddRule", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionSecurityPoliciesServer).AddRule(ctx, req.(*AddRuleRegionSecurityPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionSecurityPolicies_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteRegionSecurityPolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionSecurityPoliciesServer).Delete(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionSecurityPolicies/Delete", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionSecurityPoliciesServer).Delete(ctx, req.(*DeleteRegionSecurityPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionSecurityPolicies_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetRegionSecurityPolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionSecurityPoliciesServer).Get(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionSecurityPolicies/Get", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionSecurityPoliciesServer).Get(ctx, req.(*GetRegionSecurityPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionSecurityPolicies_GetRule_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetRuleRegionSecurityPolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionSecurityPoliciesServer).GetRule(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionSecurityPolicies/GetRule", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionSecurityPoliciesServer).GetRule(ctx, req.(*GetRuleRegionSecurityPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionSecurityPolicies_Insert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(InsertRegionSecurityPolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionSecurityPoliciesServer).Insert(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionSecurityPolicies/Insert", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionSecurityPoliciesServer).Insert(ctx, req.(*InsertRegionSecurityPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionSecurityPolicies_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListRegionSecurityPoliciesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionSecurityPoliciesServer).List(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionSecurityPolicies/List", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionSecurityPoliciesServer).List(ctx, req.(*ListRegionSecurityPoliciesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionSecurityPolicies_Patch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PatchRegionSecurityPolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionSecurityPoliciesServer).Patch(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionSecurityPolicies/Patch", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionSecurityPoliciesServer).Patch(ctx, req.(*PatchRegionSecurityPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionSecurityPolicies_PatchRule_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PatchRuleRegionSecurityPolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionSecurityPoliciesServer).PatchRule(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionSecurityPolicies/PatchRule", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionSecurityPoliciesServer).PatchRule(ctx, req.(*PatchRuleRegionSecurityPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionSecurityPolicies_RemoveRule_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RemoveRuleRegionSecurityPolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionSecurityPoliciesServer).RemoveRule(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionSecurityPolicies/RemoveRule", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionSecurityPoliciesServer).RemoveRule(ctx, req.(*RemoveRuleRegionSecurityPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _RegionSecurityPolicies_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.RegionSecurityPolicies", - HandlerType: (*RegionSecurityPoliciesServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "AddRule", - Handler: _RegionSecurityPolicies_AddRule_Handler, - }, - { - MethodName: "Delete", - Handler: _RegionSecurityPolicies_Delete_Handler, - }, - { - MethodName: "Get", - Handler: _RegionSecurityPolicies_Get_Handler, - }, - { - MethodName: "GetRule", - Handler: _RegionSecurityPolicies_GetRule_Handler, - }, - { - MethodName: "Insert", - Handler: _RegionSecurityPolicies_Insert_Handler, - }, - { - MethodName: "List", - Handler: _RegionSecurityPolicies_List_Handler, - }, - { - MethodName: "Patch", - Handler: _RegionSecurityPolicies_Patch_Handler, - }, - { - MethodName: "PatchRule", - Handler: _RegionSecurityPolicies_PatchRule_Handler, - }, - { - MethodName: "RemoveRule", - Handler: _RegionSecurityPolicies_RemoveRule_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} - -// RegionSslCertificatesClient is the client API for RegionSslCertificates service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type RegionSslCertificatesClient interface { - // Deletes the specified SslCertificate resource in the region. - Delete(ctx context.Context, in *DeleteRegionSslCertificateRequest, opts ...grpc.CallOption) (*Operation, error) - // Returns the specified SslCertificate resource in the specified region. Get a list of available SSL certificates by making a list() request. - Get(ctx context.Context, in *GetRegionSslCertificateRequest, opts ...grpc.CallOption) (*SslCertificate, error) - // Creates a SslCertificate resource in the specified project and region using the data included in the request - Insert(ctx context.Context, in *InsertRegionSslCertificateRequest, opts ...grpc.CallOption) (*Operation, error) - // Retrieves the list of SslCertificate resources available to the specified project in the specified region. - List(ctx context.Context, in *ListRegionSslCertificatesRequest, opts ...grpc.CallOption) (*SslCertificateList, error) -} - -type regionSslCertificatesClient struct { - cc grpc.ClientConnInterface -} - -func NewRegionSslCertificatesClient(cc grpc.ClientConnInterface) RegionSslCertificatesClient { - return ®ionSslCertificatesClient{cc} -} - -func (c *regionSslCertificatesClient) Delete(ctx context.Context, in *DeleteRegionSslCertificateRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionSslCertificates/Delete", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionSslCertificatesClient) Get(ctx context.Context, in *GetRegionSslCertificateRequest, opts ...grpc.CallOption) (*SslCertificate, error) { - out := new(SslCertificate) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionSslCertificates/Get", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionSslCertificatesClient) Insert(ctx context.Context, in *InsertRegionSslCertificateRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionSslCertificates/Insert", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionSslCertificatesClient) List(ctx context.Context, in *ListRegionSslCertificatesRequest, opts ...grpc.CallOption) (*SslCertificateList, error) { - out := new(SslCertificateList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionSslCertificates/List", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// RegionSslCertificatesServer is the server API for RegionSslCertificates service. -type RegionSslCertificatesServer interface { - // Deletes the specified SslCertificate resource in the region. - Delete(context.Context, *DeleteRegionSslCertificateRequest) (*Operation, error) - // Returns the specified SslCertificate resource in the specified region. Get a list of available SSL certificates by making a list() request. - Get(context.Context, *GetRegionSslCertificateRequest) (*SslCertificate, error) - // Creates a SslCertificate resource in the specified project and region using the data included in the request - Insert(context.Context, *InsertRegionSslCertificateRequest) (*Operation, error) - // Retrieves the list of SslCertificate resources available to the specified project in the specified region. - List(context.Context, *ListRegionSslCertificatesRequest) (*SslCertificateList, error) -} - -// UnimplementedRegionSslCertificatesServer can be embedded to have forward compatible implementations. -type UnimplementedRegionSslCertificatesServer struct { -} - -func (*UnimplementedRegionSslCertificatesServer) Delete(context.Context, *DeleteRegionSslCertificateRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") -} -func (*UnimplementedRegionSslCertificatesServer) Get(context.Context, *GetRegionSslCertificateRequest) (*SslCertificate, error) { - return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") -} -func (*UnimplementedRegionSslCertificatesServer) Insert(context.Context, *InsertRegionSslCertificateRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Insert not implemented") -} -func (*UnimplementedRegionSslCertificatesServer) List(context.Context, *ListRegionSslCertificatesRequest) (*SslCertificateList, error) { - return nil, status.Errorf(codes.Unimplemented, "method List not implemented") -} - -func RegisterRegionSslCertificatesServer(s *grpc.Server, srv RegionSslCertificatesServer) { - s.RegisterService(&_RegionSslCertificates_serviceDesc, srv) -} - -func _RegionSslCertificates_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteRegionSslCertificateRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionSslCertificatesServer).Delete(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionSslCertificates/Delete", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionSslCertificatesServer).Delete(ctx, req.(*DeleteRegionSslCertificateRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionSslCertificates_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetRegionSslCertificateRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionSslCertificatesServer).Get(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionSslCertificates/Get", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionSslCertificatesServer).Get(ctx, req.(*GetRegionSslCertificateRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionSslCertificates_Insert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(InsertRegionSslCertificateRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionSslCertificatesServer).Insert(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionSslCertificates/Insert", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionSslCertificatesServer).Insert(ctx, req.(*InsertRegionSslCertificateRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionSslCertificates_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListRegionSslCertificatesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionSslCertificatesServer).List(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionSslCertificates/List", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionSslCertificatesServer).List(ctx, req.(*ListRegionSslCertificatesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _RegionSslCertificates_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.RegionSslCertificates", - HandlerType: (*RegionSslCertificatesServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "Delete", - Handler: _RegionSslCertificates_Delete_Handler, - }, - { - MethodName: "Get", - Handler: _RegionSslCertificates_Get_Handler, - }, - { - MethodName: "Insert", - Handler: _RegionSslCertificates_Insert_Handler, - }, - { - MethodName: "List", - Handler: _RegionSslCertificates_List_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} - -// RegionSslPoliciesClient is the client API for RegionSslPolicies service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type RegionSslPoliciesClient interface { - // Deletes the specified SSL policy. The SSL policy resource can be deleted only if it is not in use by any TargetHttpsProxy or TargetSslProxy resources. - Delete(ctx context.Context, in *DeleteRegionSslPolicyRequest, opts ...grpc.CallOption) (*Operation, error) - // Lists all of the ordered rules present in a single specified policy. - Get(ctx context.Context, in *GetRegionSslPolicyRequest, opts ...grpc.CallOption) (*SslPolicy, error) - // Creates a new policy in the specified project and region using the data included in the request. - Insert(ctx context.Context, in *InsertRegionSslPolicyRequest, opts ...grpc.CallOption) (*Operation, error) - // Lists all the SSL policies that have been configured for the specified project and region. - List(ctx context.Context, in *ListRegionSslPoliciesRequest, opts ...grpc.CallOption) (*SslPoliciesList, error) - // Lists all features that can be specified in the SSL policy when using custom profile. - ListAvailableFeatures(ctx context.Context, in *ListAvailableFeaturesRegionSslPoliciesRequest, opts ...grpc.CallOption) (*SslPoliciesListAvailableFeaturesResponse, error) - // Patches the specified SSL policy with the data included in the request. - Patch(ctx context.Context, in *PatchRegionSslPolicyRequest, opts ...grpc.CallOption) (*Operation, error) -} - -type regionSslPoliciesClient struct { - cc grpc.ClientConnInterface -} - -func NewRegionSslPoliciesClient(cc grpc.ClientConnInterface) RegionSslPoliciesClient { - return ®ionSslPoliciesClient{cc} -} - -func (c *regionSslPoliciesClient) Delete(ctx context.Context, in *DeleteRegionSslPolicyRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionSslPolicies/Delete", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionSslPoliciesClient) Get(ctx context.Context, in *GetRegionSslPolicyRequest, opts ...grpc.CallOption) (*SslPolicy, error) { - out := new(SslPolicy) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionSslPolicies/Get", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionSslPoliciesClient) Insert(ctx context.Context, in *InsertRegionSslPolicyRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionSslPolicies/Insert", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionSslPoliciesClient) List(ctx context.Context, in *ListRegionSslPoliciesRequest, opts ...grpc.CallOption) (*SslPoliciesList, error) { - out := new(SslPoliciesList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionSslPolicies/List", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionSslPoliciesClient) ListAvailableFeatures(ctx context.Context, in *ListAvailableFeaturesRegionSslPoliciesRequest, opts ...grpc.CallOption) (*SslPoliciesListAvailableFeaturesResponse, error) { - out := new(SslPoliciesListAvailableFeaturesResponse) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionSslPolicies/ListAvailableFeatures", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionSslPoliciesClient) Patch(ctx context.Context, in *PatchRegionSslPolicyRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionSslPolicies/Patch", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// RegionSslPoliciesServer is the server API for RegionSslPolicies service. -type RegionSslPoliciesServer interface { - // Deletes the specified SSL policy. The SSL policy resource can be deleted only if it is not in use by any TargetHttpsProxy or TargetSslProxy resources. - Delete(context.Context, *DeleteRegionSslPolicyRequest) (*Operation, error) - // Lists all of the ordered rules present in a single specified policy. - Get(context.Context, *GetRegionSslPolicyRequest) (*SslPolicy, error) - // Creates a new policy in the specified project and region using the data included in the request. - Insert(context.Context, *InsertRegionSslPolicyRequest) (*Operation, error) - // Lists all the SSL policies that have been configured for the specified project and region. - List(context.Context, *ListRegionSslPoliciesRequest) (*SslPoliciesList, error) - // Lists all features that can be specified in the SSL policy when using custom profile. - ListAvailableFeatures(context.Context, *ListAvailableFeaturesRegionSslPoliciesRequest) (*SslPoliciesListAvailableFeaturesResponse, error) - // Patches the specified SSL policy with the data included in the request. - Patch(context.Context, *PatchRegionSslPolicyRequest) (*Operation, error) -} - -// UnimplementedRegionSslPoliciesServer can be embedded to have forward compatible implementations. -type UnimplementedRegionSslPoliciesServer struct { -} - -func (*UnimplementedRegionSslPoliciesServer) Delete(context.Context, *DeleteRegionSslPolicyRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") -} -func (*UnimplementedRegionSslPoliciesServer) Get(context.Context, *GetRegionSslPolicyRequest) (*SslPolicy, error) { - return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") -} -func (*UnimplementedRegionSslPoliciesServer) Insert(context.Context, *InsertRegionSslPolicyRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Insert not implemented") -} -func (*UnimplementedRegionSslPoliciesServer) List(context.Context, *ListRegionSslPoliciesRequest) (*SslPoliciesList, error) { - return nil, status.Errorf(codes.Unimplemented, "method List not implemented") -} -func (*UnimplementedRegionSslPoliciesServer) ListAvailableFeatures(context.Context, *ListAvailableFeaturesRegionSslPoliciesRequest) (*SslPoliciesListAvailableFeaturesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListAvailableFeatures not implemented") -} -func (*UnimplementedRegionSslPoliciesServer) Patch(context.Context, *PatchRegionSslPolicyRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Patch not implemented") -} - -func RegisterRegionSslPoliciesServer(s *grpc.Server, srv RegionSslPoliciesServer) { - s.RegisterService(&_RegionSslPolicies_serviceDesc, srv) -} - -func _RegionSslPolicies_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteRegionSslPolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionSslPoliciesServer).Delete(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionSslPolicies/Delete", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionSslPoliciesServer).Delete(ctx, req.(*DeleteRegionSslPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionSslPolicies_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetRegionSslPolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionSslPoliciesServer).Get(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionSslPolicies/Get", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionSslPoliciesServer).Get(ctx, req.(*GetRegionSslPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionSslPolicies_Insert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(InsertRegionSslPolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionSslPoliciesServer).Insert(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionSslPolicies/Insert", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionSslPoliciesServer).Insert(ctx, req.(*InsertRegionSslPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionSslPolicies_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListRegionSslPoliciesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionSslPoliciesServer).List(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionSslPolicies/List", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionSslPoliciesServer).List(ctx, req.(*ListRegionSslPoliciesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionSslPolicies_ListAvailableFeatures_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListAvailableFeaturesRegionSslPoliciesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionSslPoliciesServer).ListAvailableFeatures(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionSslPolicies/ListAvailableFeatures", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionSslPoliciesServer).ListAvailableFeatures(ctx, req.(*ListAvailableFeaturesRegionSslPoliciesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionSslPolicies_Patch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PatchRegionSslPolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionSslPoliciesServer).Patch(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionSslPolicies/Patch", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionSslPoliciesServer).Patch(ctx, req.(*PatchRegionSslPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _RegionSslPolicies_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.RegionSslPolicies", - HandlerType: (*RegionSslPoliciesServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "Delete", - Handler: _RegionSslPolicies_Delete_Handler, - }, - { - MethodName: "Get", - Handler: _RegionSslPolicies_Get_Handler, - }, - { - MethodName: "Insert", - Handler: _RegionSslPolicies_Insert_Handler, - }, - { - MethodName: "List", - Handler: _RegionSslPolicies_List_Handler, - }, - { - MethodName: "ListAvailableFeatures", - Handler: _RegionSslPolicies_ListAvailableFeatures_Handler, - }, - { - MethodName: "Patch", - Handler: _RegionSslPolicies_Patch_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} - -// RegionTargetHttpProxiesClient is the client API for RegionTargetHttpProxies service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type RegionTargetHttpProxiesClient interface { - // Deletes the specified TargetHttpProxy resource. - Delete(ctx context.Context, in *DeleteRegionTargetHttpProxyRequest, opts ...grpc.CallOption) (*Operation, error) - // Returns the specified TargetHttpProxy resource in the specified region. - Get(ctx context.Context, in *GetRegionTargetHttpProxyRequest, opts ...grpc.CallOption) (*TargetHttpProxy, error) - // Creates a TargetHttpProxy resource in the specified project and region using the data included in the request. - Insert(ctx context.Context, in *InsertRegionTargetHttpProxyRequest, opts ...grpc.CallOption) (*Operation, error) - // Retrieves the list of TargetHttpProxy resources available to the specified project in the specified region. - List(ctx context.Context, in *ListRegionTargetHttpProxiesRequest, opts ...grpc.CallOption) (*TargetHttpProxyList, error) - // Changes the URL map for TargetHttpProxy. - SetUrlMap(ctx context.Context, in *SetUrlMapRegionTargetHttpProxyRequest, opts ...grpc.CallOption) (*Operation, error) -} - -type regionTargetHttpProxiesClient struct { - cc grpc.ClientConnInterface -} - -func NewRegionTargetHttpProxiesClient(cc grpc.ClientConnInterface) RegionTargetHttpProxiesClient { - return ®ionTargetHttpProxiesClient{cc} -} - -func (c *regionTargetHttpProxiesClient) Delete(ctx context.Context, in *DeleteRegionTargetHttpProxyRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionTargetHttpProxies/Delete", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionTargetHttpProxiesClient) Get(ctx context.Context, in *GetRegionTargetHttpProxyRequest, opts ...grpc.CallOption) (*TargetHttpProxy, error) { - out := new(TargetHttpProxy) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionTargetHttpProxies/Get", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionTargetHttpProxiesClient) Insert(ctx context.Context, in *InsertRegionTargetHttpProxyRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionTargetHttpProxies/Insert", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionTargetHttpProxiesClient) List(ctx context.Context, in *ListRegionTargetHttpProxiesRequest, opts ...grpc.CallOption) (*TargetHttpProxyList, error) { - out := new(TargetHttpProxyList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionTargetHttpProxies/List", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionTargetHttpProxiesClient) SetUrlMap(ctx context.Context, in *SetUrlMapRegionTargetHttpProxyRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionTargetHttpProxies/SetUrlMap", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// RegionTargetHttpProxiesServer is the server API for RegionTargetHttpProxies service. -type RegionTargetHttpProxiesServer interface { - // Deletes the specified TargetHttpProxy resource. - Delete(context.Context, *DeleteRegionTargetHttpProxyRequest) (*Operation, error) - // Returns the specified TargetHttpProxy resource in the specified region. - Get(context.Context, *GetRegionTargetHttpProxyRequest) (*TargetHttpProxy, error) - // Creates a TargetHttpProxy resource in the specified project and region using the data included in the request. - Insert(context.Context, *InsertRegionTargetHttpProxyRequest) (*Operation, error) - // Retrieves the list of TargetHttpProxy resources available to the specified project in the specified region. - List(context.Context, *ListRegionTargetHttpProxiesRequest) (*TargetHttpProxyList, error) - // Changes the URL map for TargetHttpProxy. - SetUrlMap(context.Context, *SetUrlMapRegionTargetHttpProxyRequest) (*Operation, error) -} - -// UnimplementedRegionTargetHttpProxiesServer can be embedded to have forward compatible implementations. -type UnimplementedRegionTargetHttpProxiesServer struct { -} - -func (*UnimplementedRegionTargetHttpProxiesServer) Delete(context.Context, *DeleteRegionTargetHttpProxyRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") -} -func (*UnimplementedRegionTargetHttpProxiesServer) Get(context.Context, *GetRegionTargetHttpProxyRequest) (*TargetHttpProxy, error) { - return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") -} -func (*UnimplementedRegionTargetHttpProxiesServer) Insert(context.Context, *InsertRegionTargetHttpProxyRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Insert not implemented") -} -func (*UnimplementedRegionTargetHttpProxiesServer) List(context.Context, *ListRegionTargetHttpProxiesRequest) (*TargetHttpProxyList, error) { - return nil, status.Errorf(codes.Unimplemented, "method List not implemented") -} -func (*UnimplementedRegionTargetHttpProxiesServer) SetUrlMap(context.Context, *SetUrlMapRegionTargetHttpProxyRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetUrlMap not implemented") -} - -func RegisterRegionTargetHttpProxiesServer(s *grpc.Server, srv RegionTargetHttpProxiesServer) { - s.RegisterService(&_RegionTargetHttpProxies_serviceDesc, srv) -} - -func _RegionTargetHttpProxies_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteRegionTargetHttpProxyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionTargetHttpProxiesServer).Delete(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionTargetHttpProxies/Delete", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionTargetHttpProxiesServer).Delete(ctx, req.(*DeleteRegionTargetHttpProxyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionTargetHttpProxies_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetRegionTargetHttpProxyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionTargetHttpProxiesServer).Get(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionTargetHttpProxies/Get", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionTargetHttpProxiesServer).Get(ctx, req.(*GetRegionTargetHttpProxyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionTargetHttpProxies_Insert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(InsertRegionTargetHttpProxyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionTargetHttpProxiesServer).Insert(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionTargetHttpProxies/Insert", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionTargetHttpProxiesServer).Insert(ctx, req.(*InsertRegionTargetHttpProxyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionTargetHttpProxies_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListRegionTargetHttpProxiesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionTargetHttpProxiesServer).List(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionTargetHttpProxies/List", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionTargetHttpProxiesServer).List(ctx, req.(*ListRegionTargetHttpProxiesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionTargetHttpProxies_SetUrlMap_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetUrlMapRegionTargetHttpProxyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionTargetHttpProxiesServer).SetUrlMap(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionTargetHttpProxies/SetUrlMap", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionTargetHttpProxiesServer).SetUrlMap(ctx, req.(*SetUrlMapRegionTargetHttpProxyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _RegionTargetHttpProxies_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.RegionTargetHttpProxies", - HandlerType: (*RegionTargetHttpProxiesServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "Delete", - Handler: _RegionTargetHttpProxies_Delete_Handler, - }, - { - MethodName: "Get", - Handler: _RegionTargetHttpProxies_Get_Handler, - }, - { - MethodName: "Insert", - Handler: _RegionTargetHttpProxies_Insert_Handler, - }, - { - MethodName: "List", - Handler: _RegionTargetHttpProxies_List_Handler, - }, - { - MethodName: "SetUrlMap", - Handler: _RegionTargetHttpProxies_SetUrlMap_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} - -// RegionTargetHttpsProxiesClient is the client API for RegionTargetHttpsProxies service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type RegionTargetHttpsProxiesClient interface { - // Deletes the specified TargetHttpsProxy resource. - Delete(ctx context.Context, in *DeleteRegionTargetHttpsProxyRequest, opts ...grpc.CallOption) (*Operation, error) - // Returns the specified TargetHttpsProxy resource in the specified region. - Get(ctx context.Context, in *GetRegionTargetHttpsProxyRequest, opts ...grpc.CallOption) (*TargetHttpsProxy, error) - // Creates a TargetHttpsProxy resource in the specified project and region using the data included in the request. - Insert(ctx context.Context, in *InsertRegionTargetHttpsProxyRequest, opts ...grpc.CallOption) (*Operation, error) - // Retrieves the list of TargetHttpsProxy resources available to the specified project in the specified region. - List(ctx context.Context, in *ListRegionTargetHttpsProxiesRequest, opts ...grpc.CallOption) (*TargetHttpsProxyList, error) - // Patches the specified regional TargetHttpsProxy resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules. - Patch(ctx context.Context, in *PatchRegionTargetHttpsProxyRequest, opts ...grpc.CallOption) (*Operation, error) - // Replaces SslCertificates for TargetHttpsProxy. - SetSslCertificates(ctx context.Context, in *SetSslCertificatesRegionTargetHttpsProxyRequest, opts ...grpc.CallOption) (*Operation, error) - // Changes the URL map for TargetHttpsProxy. - SetUrlMap(ctx context.Context, in *SetUrlMapRegionTargetHttpsProxyRequest, opts ...grpc.CallOption) (*Operation, error) -} - -type regionTargetHttpsProxiesClient struct { - cc grpc.ClientConnInterface -} - -func NewRegionTargetHttpsProxiesClient(cc grpc.ClientConnInterface) RegionTargetHttpsProxiesClient { - return ®ionTargetHttpsProxiesClient{cc} -} - -func (c *regionTargetHttpsProxiesClient) Delete(ctx context.Context, in *DeleteRegionTargetHttpsProxyRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionTargetHttpsProxies/Delete", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionTargetHttpsProxiesClient) Get(ctx context.Context, in *GetRegionTargetHttpsProxyRequest, opts ...grpc.CallOption) (*TargetHttpsProxy, error) { - out := new(TargetHttpsProxy) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionTargetHttpsProxies/Get", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionTargetHttpsProxiesClient) Insert(ctx context.Context, in *InsertRegionTargetHttpsProxyRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionTargetHttpsProxies/Insert", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionTargetHttpsProxiesClient) List(ctx context.Context, in *ListRegionTargetHttpsProxiesRequest, opts ...grpc.CallOption) (*TargetHttpsProxyList, error) { - out := new(TargetHttpsProxyList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionTargetHttpsProxies/List", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionTargetHttpsProxiesClient) Patch(ctx context.Context, in *PatchRegionTargetHttpsProxyRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionTargetHttpsProxies/Patch", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionTargetHttpsProxiesClient) SetSslCertificates(ctx context.Context, in *SetSslCertificatesRegionTargetHttpsProxyRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionTargetHttpsProxies/SetSslCertificates", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionTargetHttpsProxiesClient) SetUrlMap(ctx context.Context, in *SetUrlMapRegionTargetHttpsProxyRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionTargetHttpsProxies/SetUrlMap", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// RegionTargetHttpsProxiesServer is the server API for RegionTargetHttpsProxies service. -type RegionTargetHttpsProxiesServer interface { - // Deletes the specified TargetHttpsProxy resource. - Delete(context.Context, *DeleteRegionTargetHttpsProxyRequest) (*Operation, error) - // Returns the specified TargetHttpsProxy resource in the specified region. - Get(context.Context, *GetRegionTargetHttpsProxyRequest) (*TargetHttpsProxy, error) - // Creates a TargetHttpsProxy resource in the specified project and region using the data included in the request. - Insert(context.Context, *InsertRegionTargetHttpsProxyRequest) (*Operation, error) - // Retrieves the list of TargetHttpsProxy resources available to the specified project in the specified region. - List(context.Context, *ListRegionTargetHttpsProxiesRequest) (*TargetHttpsProxyList, error) - // Patches the specified regional TargetHttpsProxy resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules. - Patch(context.Context, *PatchRegionTargetHttpsProxyRequest) (*Operation, error) - // Replaces SslCertificates for TargetHttpsProxy. - SetSslCertificates(context.Context, *SetSslCertificatesRegionTargetHttpsProxyRequest) (*Operation, error) - // Changes the URL map for TargetHttpsProxy. - SetUrlMap(context.Context, *SetUrlMapRegionTargetHttpsProxyRequest) (*Operation, error) -} - -// UnimplementedRegionTargetHttpsProxiesServer can be embedded to have forward compatible implementations. -type UnimplementedRegionTargetHttpsProxiesServer struct { -} - -func (*UnimplementedRegionTargetHttpsProxiesServer) Delete(context.Context, *DeleteRegionTargetHttpsProxyRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") -} -func (*UnimplementedRegionTargetHttpsProxiesServer) Get(context.Context, *GetRegionTargetHttpsProxyRequest) (*TargetHttpsProxy, error) { - return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") -} -func (*UnimplementedRegionTargetHttpsProxiesServer) Insert(context.Context, *InsertRegionTargetHttpsProxyRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Insert not implemented") -} -func (*UnimplementedRegionTargetHttpsProxiesServer) List(context.Context, *ListRegionTargetHttpsProxiesRequest) (*TargetHttpsProxyList, error) { - return nil, status.Errorf(codes.Unimplemented, "method List not implemented") -} -func (*UnimplementedRegionTargetHttpsProxiesServer) Patch(context.Context, *PatchRegionTargetHttpsProxyRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Patch not implemented") -} -func (*UnimplementedRegionTargetHttpsProxiesServer) SetSslCertificates(context.Context, *SetSslCertificatesRegionTargetHttpsProxyRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetSslCertificates not implemented") -} -func (*UnimplementedRegionTargetHttpsProxiesServer) SetUrlMap(context.Context, *SetUrlMapRegionTargetHttpsProxyRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetUrlMap not implemented") -} - -func RegisterRegionTargetHttpsProxiesServer(s *grpc.Server, srv RegionTargetHttpsProxiesServer) { - s.RegisterService(&_RegionTargetHttpsProxies_serviceDesc, srv) -} - -func _RegionTargetHttpsProxies_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteRegionTargetHttpsProxyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionTargetHttpsProxiesServer).Delete(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionTargetHttpsProxies/Delete", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionTargetHttpsProxiesServer).Delete(ctx, req.(*DeleteRegionTargetHttpsProxyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionTargetHttpsProxies_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetRegionTargetHttpsProxyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionTargetHttpsProxiesServer).Get(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionTargetHttpsProxies/Get", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionTargetHttpsProxiesServer).Get(ctx, req.(*GetRegionTargetHttpsProxyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionTargetHttpsProxies_Insert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(InsertRegionTargetHttpsProxyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionTargetHttpsProxiesServer).Insert(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionTargetHttpsProxies/Insert", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionTargetHttpsProxiesServer).Insert(ctx, req.(*InsertRegionTargetHttpsProxyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionTargetHttpsProxies_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListRegionTargetHttpsProxiesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionTargetHttpsProxiesServer).List(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionTargetHttpsProxies/List", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionTargetHttpsProxiesServer).List(ctx, req.(*ListRegionTargetHttpsProxiesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionTargetHttpsProxies_Patch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PatchRegionTargetHttpsProxyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionTargetHttpsProxiesServer).Patch(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionTargetHttpsProxies/Patch", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionTargetHttpsProxiesServer).Patch(ctx, req.(*PatchRegionTargetHttpsProxyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionTargetHttpsProxies_SetSslCertificates_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetSslCertificatesRegionTargetHttpsProxyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionTargetHttpsProxiesServer).SetSslCertificates(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionTargetHttpsProxies/SetSslCertificates", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionTargetHttpsProxiesServer).SetSslCertificates(ctx, req.(*SetSslCertificatesRegionTargetHttpsProxyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionTargetHttpsProxies_SetUrlMap_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetUrlMapRegionTargetHttpsProxyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionTargetHttpsProxiesServer).SetUrlMap(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionTargetHttpsProxies/SetUrlMap", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionTargetHttpsProxiesServer).SetUrlMap(ctx, req.(*SetUrlMapRegionTargetHttpsProxyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _RegionTargetHttpsProxies_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.RegionTargetHttpsProxies", - HandlerType: (*RegionTargetHttpsProxiesServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "Delete", - Handler: _RegionTargetHttpsProxies_Delete_Handler, - }, - { - MethodName: "Get", - Handler: _RegionTargetHttpsProxies_Get_Handler, - }, - { - MethodName: "Insert", - Handler: _RegionTargetHttpsProxies_Insert_Handler, - }, - { - MethodName: "List", - Handler: _RegionTargetHttpsProxies_List_Handler, - }, - { - MethodName: "Patch", - Handler: _RegionTargetHttpsProxies_Patch_Handler, - }, - { - MethodName: "SetSslCertificates", - Handler: _RegionTargetHttpsProxies_SetSslCertificates_Handler, - }, - { - MethodName: "SetUrlMap", - Handler: _RegionTargetHttpsProxies_SetUrlMap_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} - -// RegionTargetTcpProxiesClient is the client API for RegionTargetTcpProxies service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type RegionTargetTcpProxiesClient interface { - // Deletes the specified TargetTcpProxy resource. - Delete(ctx context.Context, in *DeleteRegionTargetTcpProxyRequest, opts ...grpc.CallOption) (*Operation, error) - // Returns the specified TargetTcpProxy resource. - Get(ctx context.Context, in *GetRegionTargetTcpProxyRequest, opts ...grpc.CallOption) (*TargetTcpProxy, error) - // Creates a TargetTcpProxy resource in the specified project and region using the data included in the request. - Insert(ctx context.Context, in *InsertRegionTargetTcpProxyRequest, opts ...grpc.CallOption) (*Operation, error) - // Retrieves a list of TargetTcpProxy resources available to the specified project in a given region. - List(ctx context.Context, in *ListRegionTargetTcpProxiesRequest, opts ...grpc.CallOption) (*TargetTcpProxyList, error) -} - -type regionTargetTcpProxiesClient struct { - cc grpc.ClientConnInterface -} - -func NewRegionTargetTcpProxiesClient(cc grpc.ClientConnInterface) RegionTargetTcpProxiesClient { - return ®ionTargetTcpProxiesClient{cc} -} - -func (c *regionTargetTcpProxiesClient) Delete(ctx context.Context, in *DeleteRegionTargetTcpProxyRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionTargetTcpProxies/Delete", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionTargetTcpProxiesClient) Get(ctx context.Context, in *GetRegionTargetTcpProxyRequest, opts ...grpc.CallOption) (*TargetTcpProxy, error) { - out := new(TargetTcpProxy) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionTargetTcpProxies/Get", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionTargetTcpProxiesClient) Insert(ctx context.Context, in *InsertRegionTargetTcpProxyRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionTargetTcpProxies/Insert", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionTargetTcpProxiesClient) List(ctx context.Context, in *ListRegionTargetTcpProxiesRequest, opts ...grpc.CallOption) (*TargetTcpProxyList, error) { - out := new(TargetTcpProxyList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionTargetTcpProxies/List", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// RegionTargetTcpProxiesServer is the server API for RegionTargetTcpProxies service. -type RegionTargetTcpProxiesServer interface { - // Deletes the specified TargetTcpProxy resource. - Delete(context.Context, *DeleteRegionTargetTcpProxyRequest) (*Operation, error) - // Returns the specified TargetTcpProxy resource. - Get(context.Context, *GetRegionTargetTcpProxyRequest) (*TargetTcpProxy, error) - // Creates a TargetTcpProxy resource in the specified project and region using the data included in the request. - Insert(context.Context, *InsertRegionTargetTcpProxyRequest) (*Operation, error) - // Retrieves a list of TargetTcpProxy resources available to the specified project in a given region. - List(context.Context, *ListRegionTargetTcpProxiesRequest) (*TargetTcpProxyList, error) -} - -// UnimplementedRegionTargetTcpProxiesServer can be embedded to have forward compatible implementations. -type UnimplementedRegionTargetTcpProxiesServer struct { -} - -func (*UnimplementedRegionTargetTcpProxiesServer) Delete(context.Context, *DeleteRegionTargetTcpProxyRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") -} -func (*UnimplementedRegionTargetTcpProxiesServer) Get(context.Context, *GetRegionTargetTcpProxyRequest) (*TargetTcpProxy, error) { - return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") -} -func (*UnimplementedRegionTargetTcpProxiesServer) Insert(context.Context, *InsertRegionTargetTcpProxyRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Insert not implemented") -} -func (*UnimplementedRegionTargetTcpProxiesServer) List(context.Context, *ListRegionTargetTcpProxiesRequest) (*TargetTcpProxyList, error) { - return nil, status.Errorf(codes.Unimplemented, "method List not implemented") -} - -func RegisterRegionTargetTcpProxiesServer(s *grpc.Server, srv RegionTargetTcpProxiesServer) { - s.RegisterService(&_RegionTargetTcpProxies_serviceDesc, srv) -} - -func _RegionTargetTcpProxies_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteRegionTargetTcpProxyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionTargetTcpProxiesServer).Delete(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionTargetTcpProxies/Delete", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionTargetTcpProxiesServer).Delete(ctx, req.(*DeleteRegionTargetTcpProxyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionTargetTcpProxies_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetRegionTargetTcpProxyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionTargetTcpProxiesServer).Get(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionTargetTcpProxies/Get", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionTargetTcpProxiesServer).Get(ctx, req.(*GetRegionTargetTcpProxyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionTargetTcpProxies_Insert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(InsertRegionTargetTcpProxyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionTargetTcpProxiesServer).Insert(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionTargetTcpProxies/Insert", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionTargetTcpProxiesServer).Insert(ctx, req.(*InsertRegionTargetTcpProxyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionTargetTcpProxies_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListRegionTargetTcpProxiesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionTargetTcpProxiesServer).List(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionTargetTcpProxies/List", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionTargetTcpProxiesServer).List(ctx, req.(*ListRegionTargetTcpProxiesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _RegionTargetTcpProxies_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.RegionTargetTcpProxies", - HandlerType: (*RegionTargetTcpProxiesServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "Delete", - Handler: _RegionTargetTcpProxies_Delete_Handler, - }, - { - MethodName: "Get", - Handler: _RegionTargetTcpProxies_Get_Handler, - }, - { - MethodName: "Insert", - Handler: _RegionTargetTcpProxies_Insert_Handler, - }, - { - MethodName: "List", - Handler: _RegionTargetTcpProxies_List_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} - -// RegionUrlMapsClient is the client API for RegionUrlMaps service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type RegionUrlMapsClient interface { - // Deletes the specified UrlMap resource. - Delete(ctx context.Context, in *DeleteRegionUrlMapRequest, opts ...grpc.CallOption) (*Operation, error) - // Returns the specified UrlMap resource. - Get(ctx context.Context, in *GetRegionUrlMapRequest, opts ...grpc.CallOption) (*UrlMap, error) - // Creates a UrlMap resource in the specified project using the data included in the request. - Insert(ctx context.Context, in *InsertRegionUrlMapRequest, opts ...grpc.CallOption) (*Operation, error) - // Retrieves the list of UrlMap resources available to the specified project in the specified region. - List(ctx context.Context, in *ListRegionUrlMapsRequest, opts ...grpc.CallOption) (*UrlMapList, error) - // Patches the specified UrlMap resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules. - Patch(ctx context.Context, in *PatchRegionUrlMapRequest, opts ...grpc.CallOption) (*Operation, error) - // Updates the specified UrlMap resource with the data included in the request. - Update(ctx context.Context, in *UpdateRegionUrlMapRequest, opts ...grpc.CallOption) (*Operation, error) - // Runs static validation for the UrlMap. In particular, the tests of the provided UrlMap will be run. Calling this method does NOT create the UrlMap. - Validate(ctx context.Context, in *ValidateRegionUrlMapRequest, opts ...grpc.CallOption) (*UrlMapsValidateResponse, error) -} - -type regionUrlMapsClient struct { - cc grpc.ClientConnInterface -} - -func NewRegionUrlMapsClient(cc grpc.ClientConnInterface) RegionUrlMapsClient { - return ®ionUrlMapsClient{cc} -} - -func (c *regionUrlMapsClient) Delete(ctx context.Context, in *DeleteRegionUrlMapRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionUrlMaps/Delete", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionUrlMapsClient) Get(ctx context.Context, in *GetRegionUrlMapRequest, opts ...grpc.CallOption) (*UrlMap, error) { - out := new(UrlMap) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionUrlMaps/Get", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionUrlMapsClient) Insert(ctx context.Context, in *InsertRegionUrlMapRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionUrlMaps/Insert", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionUrlMapsClient) List(ctx context.Context, in *ListRegionUrlMapsRequest, opts ...grpc.CallOption) (*UrlMapList, error) { - out := new(UrlMapList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionUrlMaps/List", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionUrlMapsClient) Patch(ctx context.Context, in *PatchRegionUrlMapRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionUrlMaps/Patch", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionUrlMapsClient) Update(ctx context.Context, in *UpdateRegionUrlMapRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionUrlMaps/Update", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionUrlMapsClient) Validate(ctx context.Context, in *ValidateRegionUrlMapRequest, opts ...grpc.CallOption) (*UrlMapsValidateResponse, error) { - out := new(UrlMapsValidateResponse) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionUrlMaps/Validate", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// RegionUrlMapsServer is the server API for RegionUrlMaps service. -type RegionUrlMapsServer interface { - // Deletes the specified UrlMap resource. - Delete(context.Context, *DeleteRegionUrlMapRequest) (*Operation, error) - // Returns the specified UrlMap resource. - Get(context.Context, *GetRegionUrlMapRequest) (*UrlMap, error) - // Creates a UrlMap resource in the specified project using the data included in the request. - Insert(context.Context, *InsertRegionUrlMapRequest) (*Operation, error) - // Retrieves the list of UrlMap resources available to the specified project in the specified region. - List(context.Context, *ListRegionUrlMapsRequest) (*UrlMapList, error) - // Patches the specified UrlMap resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules. - Patch(context.Context, *PatchRegionUrlMapRequest) (*Operation, error) - // Updates the specified UrlMap resource with the data included in the request. - Update(context.Context, *UpdateRegionUrlMapRequest) (*Operation, error) - // Runs static validation for the UrlMap. In particular, the tests of the provided UrlMap will be run. Calling this method does NOT create the UrlMap. - Validate(context.Context, *ValidateRegionUrlMapRequest) (*UrlMapsValidateResponse, error) -} - -// UnimplementedRegionUrlMapsServer can be embedded to have forward compatible implementations. -type UnimplementedRegionUrlMapsServer struct { -} - -func (*UnimplementedRegionUrlMapsServer) Delete(context.Context, *DeleteRegionUrlMapRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") -} -func (*UnimplementedRegionUrlMapsServer) Get(context.Context, *GetRegionUrlMapRequest) (*UrlMap, error) { - return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") -} -func (*UnimplementedRegionUrlMapsServer) Insert(context.Context, *InsertRegionUrlMapRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Insert not implemented") -} -func (*UnimplementedRegionUrlMapsServer) List(context.Context, *ListRegionUrlMapsRequest) (*UrlMapList, error) { - return nil, status.Errorf(codes.Unimplemented, "method List not implemented") -} -func (*UnimplementedRegionUrlMapsServer) Patch(context.Context, *PatchRegionUrlMapRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Patch not implemented") -} -func (*UnimplementedRegionUrlMapsServer) Update(context.Context, *UpdateRegionUrlMapRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Update not implemented") -} -func (*UnimplementedRegionUrlMapsServer) Validate(context.Context, *ValidateRegionUrlMapRequest) (*UrlMapsValidateResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Validate not implemented") -} - -func RegisterRegionUrlMapsServer(s *grpc.Server, srv RegionUrlMapsServer) { - s.RegisterService(&_RegionUrlMaps_serviceDesc, srv) -} - -func _RegionUrlMaps_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteRegionUrlMapRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionUrlMapsServer).Delete(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionUrlMaps/Delete", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionUrlMapsServer).Delete(ctx, req.(*DeleteRegionUrlMapRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionUrlMaps_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetRegionUrlMapRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionUrlMapsServer).Get(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionUrlMaps/Get", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionUrlMapsServer).Get(ctx, req.(*GetRegionUrlMapRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionUrlMaps_Insert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(InsertRegionUrlMapRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionUrlMapsServer).Insert(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionUrlMaps/Insert", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionUrlMapsServer).Insert(ctx, req.(*InsertRegionUrlMapRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionUrlMaps_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListRegionUrlMapsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionUrlMapsServer).List(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionUrlMaps/List", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionUrlMapsServer).List(ctx, req.(*ListRegionUrlMapsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionUrlMaps_Patch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PatchRegionUrlMapRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionUrlMapsServer).Patch(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionUrlMaps/Patch", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionUrlMapsServer).Patch(ctx, req.(*PatchRegionUrlMapRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionUrlMaps_Update_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateRegionUrlMapRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionUrlMapsServer).Update(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionUrlMaps/Update", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionUrlMapsServer).Update(ctx, req.(*UpdateRegionUrlMapRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RegionUrlMaps_Validate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ValidateRegionUrlMapRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionUrlMapsServer).Validate(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionUrlMaps/Validate", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionUrlMapsServer).Validate(ctx, req.(*ValidateRegionUrlMapRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _RegionUrlMaps_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.RegionUrlMaps", - HandlerType: (*RegionUrlMapsServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "Delete", - Handler: _RegionUrlMaps_Delete_Handler, - }, - { - MethodName: "Get", - Handler: _RegionUrlMaps_Get_Handler, - }, - { - MethodName: "Insert", - Handler: _RegionUrlMaps_Insert_Handler, - }, - { - MethodName: "List", - Handler: _RegionUrlMaps_List_Handler, - }, - { - MethodName: "Patch", - Handler: _RegionUrlMaps_Patch_Handler, - }, - { - MethodName: "Update", - Handler: _RegionUrlMaps_Update_Handler, - }, - { - MethodName: "Validate", - Handler: _RegionUrlMaps_Validate_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} - -// RegionZonesClient is the client API for RegionZones service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type RegionZonesClient interface { - // Retrieves the list of Zone resources under the specific region available to the specified project. - List(ctx context.Context, in *ListRegionZonesRequest, opts ...grpc.CallOption) (*ZoneList, error) -} - -type regionZonesClient struct { - cc grpc.ClientConnInterface -} - -func NewRegionZonesClient(cc grpc.ClientConnInterface) RegionZonesClient { - return ®ionZonesClient{cc} -} - -func (c *regionZonesClient) List(ctx context.Context, in *ListRegionZonesRequest, opts ...grpc.CallOption) (*ZoneList, error) { - out := new(ZoneList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.RegionZones/List", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// RegionZonesServer is the server API for RegionZones service. -type RegionZonesServer interface { - // Retrieves the list of Zone resources under the specific region available to the specified project. - List(context.Context, *ListRegionZonesRequest) (*ZoneList, error) -} - -// UnimplementedRegionZonesServer can be embedded to have forward compatible implementations. -type UnimplementedRegionZonesServer struct { -} - -func (*UnimplementedRegionZonesServer) List(context.Context, *ListRegionZonesRequest) (*ZoneList, error) { - return nil, status.Errorf(codes.Unimplemented, "method List not implemented") -} - -func RegisterRegionZonesServer(s *grpc.Server, srv RegionZonesServer) { - s.RegisterService(&_RegionZones_serviceDesc, srv) -} - -func _RegionZones_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListRegionZonesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionZonesServer).List(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.RegionZones/List", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionZonesServer).List(ctx, req.(*ListRegionZonesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _RegionZones_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.RegionZones", - HandlerType: (*RegionZonesServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "List", - Handler: _RegionZones_List_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} - -// RegionsClient is the client API for Regions service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type RegionsClient interface { - // Returns the specified Region resource. To decrease latency for this method, you can optionally omit any unneeded information from the response by using a field mask. This practice is especially recommended for unused quota information (the `quotas` field). To exclude one or more fields, set your request's `fields` query parameter to only include the fields you need. For example, to only include the `id` and `selfLink` fields, add the query parameter `?fields=id,selfLink` to your request. - Get(ctx context.Context, in *GetRegionRequest, opts ...grpc.CallOption) (*Region, error) - // Retrieves the list of region resources available to the specified project. To decrease latency for this method, you can optionally omit any unneeded information from the response by using a field mask. This practice is especially recommended for unused quota information (the `items.quotas` field). To exclude one or more fields, set your request's `fields` query parameter to only include the fields you need. For example, to only include the `id` and `selfLink` fields, add the query parameter `?fields=id,selfLink` to your request. - List(ctx context.Context, in *ListRegionsRequest, opts ...grpc.CallOption) (*RegionList, error) -} - -type regionsClient struct { - cc grpc.ClientConnInterface -} - -func NewRegionsClient(cc grpc.ClientConnInterface) RegionsClient { - return ®ionsClient{cc} -} - -func (c *regionsClient) Get(ctx context.Context, in *GetRegionRequest, opts ...grpc.CallOption) (*Region, error) { - out := new(Region) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Regions/Get", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *regionsClient) List(ctx context.Context, in *ListRegionsRequest, opts ...grpc.CallOption) (*RegionList, error) { - out := new(RegionList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Regions/List", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// RegionsServer is the server API for Regions service. -type RegionsServer interface { - // Returns the specified Region resource. To decrease latency for this method, you can optionally omit any unneeded information from the response by using a field mask. This practice is especially recommended for unused quota information (the `quotas` field). To exclude one or more fields, set your request's `fields` query parameter to only include the fields you need. For example, to only include the `id` and `selfLink` fields, add the query parameter `?fields=id,selfLink` to your request. - Get(context.Context, *GetRegionRequest) (*Region, error) - // Retrieves the list of region resources available to the specified project. To decrease latency for this method, you can optionally omit any unneeded information from the response by using a field mask. This practice is especially recommended for unused quota information (the `items.quotas` field). To exclude one or more fields, set your request's `fields` query parameter to only include the fields you need. For example, to only include the `id` and `selfLink` fields, add the query parameter `?fields=id,selfLink` to your request. - List(context.Context, *ListRegionsRequest) (*RegionList, error) -} - -// UnimplementedRegionsServer can be embedded to have forward compatible implementations. -type UnimplementedRegionsServer struct { -} - -func (*UnimplementedRegionsServer) Get(context.Context, *GetRegionRequest) (*Region, error) { - return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") -} -func (*UnimplementedRegionsServer) List(context.Context, *ListRegionsRequest) (*RegionList, error) { - return nil, status.Errorf(codes.Unimplemented, "method List not implemented") -} - -func RegisterRegionsServer(s *grpc.Server, srv RegionsServer) { - s.RegisterService(&_Regions_serviceDesc, srv) -} - -func _Regions_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetRegionRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionsServer).Get(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Regions/Get", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionsServer).Get(ctx, req.(*GetRegionRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Regions_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListRegionsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RegionsServer).List(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Regions/List", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RegionsServer).List(ctx, req.(*ListRegionsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _Regions_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.Regions", - HandlerType: (*RegionsServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "Get", - Handler: _Regions_Get_Handler, - }, - { - MethodName: "List", - Handler: _Regions_List_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} - -// ReservationsClient is the client API for Reservations service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type ReservationsClient interface { - // Retrieves an aggregated list of reservations. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. - AggregatedList(ctx context.Context, in *AggregatedListReservationsRequest, opts ...grpc.CallOption) (*ReservationAggregatedList, error) - // Deletes the specified reservation. - Delete(ctx context.Context, in *DeleteReservationRequest, opts ...grpc.CallOption) (*Operation, error) - // Retrieves information about the specified reservation. - Get(ctx context.Context, in *GetReservationRequest, opts ...grpc.CallOption) (*Reservation, error) - // Gets the access control policy for a resource. May be empty if no such policy or resource exists. - GetIamPolicy(ctx context.Context, in *GetIamPolicyReservationRequest, opts ...grpc.CallOption) (*Policy, error) - // Creates a new reservation. For more information, read Reserving zonal resources. - Insert(ctx context.Context, in *InsertReservationRequest, opts ...grpc.CallOption) (*Operation, error) - // A list of all the reservations that have been configured for the specified project in specified zone. - List(ctx context.Context, in *ListReservationsRequest, opts ...grpc.CallOption) (*ReservationList, error) - // Resizes the reservation (applicable to standalone reservations only). For more information, read Modifying reservations. - Resize(ctx context.Context, in *ResizeReservationRequest, opts ...grpc.CallOption) (*Operation, error) - // Sets the access control policy on the specified resource. Replaces any existing policy. - SetIamPolicy(ctx context.Context, in *SetIamPolicyReservationRequest, opts ...grpc.CallOption) (*Policy, error) - // Returns permissions that a caller has on the specified resource. - TestIamPermissions(ctx context.Context, in *TestIamPermissionsReservationRequest, opts ...grpc.CallOption) (*TestPermissionsResponse, error) - // Update share settings of the reservation. - Update(ctx context.Context, in *UpdateReservationRequest, opts ...grpc.CallOption) (*Operation, error) -} - -type reservationsClient struct { - cc grpc.ClientConnInterface -} - -func NewReservationsClient(cc grpc.ClientConnInterface) ReservationsClient { - return &reservationsClient{cc} -} - -func (c *reservationsClient) AggregatedList(ctx context.Context, in *AggregatedListReservationsRequest, opts ...grpc.CallOption) (*ReservationAggregatedList, error) { - out := new(ReservationAggregatedList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Reservations/AggregatedList", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *reservationsClient) Delete(ctx context.Context, in *DeleteReservationRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Reservations/Delete", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *reservationsClient) Get(ctx context.Context, in *GetReservationRequest, opts ...grpc.CallOption) (*Reservation, error) { - out := new(Reservation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Reservations/Get", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *reservationsClient) GetIamPolicy(ctx context.Context, in *GetIamPolicyReservationRequest, opts ...grpc.CallOption) (*Policy, error) { - out := new(Policy) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Reservations/GetIamPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *reservationsClient) Insert(ctx context.Context, in *InsertReservationRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Reservations/Insert", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *reservationsClient) List(ctx context.Context, in *ListReservationsRequest, opts ...grpc.CallOption) (*ReservationList, error) { - out := new(ReservationList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Reservations/List", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *reservationsClient) Resize(ctx context.Context, in *ResizeReservationRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Reservations/Resize", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *reservationsClient) SetIamPolicy(ctx context.Context, in *SetIamPolicyReservationRequest, opts ...grpc.CallOption) (*Policy, error) { - out := new(Policy) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Reservations/SetIamPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *reservationsClient) TestIamPermissions(ctx context.Context, in *TestIamPermissionsReservationRequest, opts ...grpc.CallOption) (*TestPermissionsResponse, error) { - out := new(TestPermissionsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Reservations/TestIamPermissions", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *reservationsClient) Update(ctx context.Context, in *UpdateReservationRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Reservations/Update", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// ReservationsServer is the server API for Reservations service. -type ReservationsServer interface { - // Retrieves an aggregated list of reservations. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. - AggregatedList(context.Context, *AggregatedListReservationsRequest) (*ReservationAggregatedList, error) - // Deletes the specified reservation. - Delete(context.Context, *DeleteReservationRequest) (*Operation, error) - // Retrieves information about the specified reservation. - Get(context.Context, *GetReservationRequest) (*Reservation, error) - // Gets the access control policy for a resource. May be empty if no such policy or resource exists. - GetIamPolicy(context.Context, *GetIamPolicyReservationRequest) (*Policy, error) - // Creates a new reservation. For more information, read Reserving zonal resources. - Insert(context.Context, *InsertReservationRequest) (*Operation, error) - // A list of all the reservations that have been configured for the specified project in specified zone. - List(context.Context, *ListReservationsRequest) (*ReservationList, error) - // Resizes the reservation (applicable to standalone reservations only). For more information, read Modifying reservations. - Resize(context.Context, *ResizeReservationRequest) (*Operation, error) - // Sets the access control policy on the specified resource. Replaces any existing policy. - SetIamPolicy(context.Context, *SetIamPolicyReservationRequest) (*Policy, error) - // Returns permissions that a caller has on the specified resource. - TestIamPermissions(context.Context, *TestIamPermissionsReservationRequest) (*TestPermissionsResponse, error) - // Update share settings of the reservation. - Update(context.Context, *UpdateReservationRequest) (*Operation, error) -} - -// UnimplementedReservationsServer can be embedded to have forward compatible implementations. -type UnimplementedReservationsServer struct { -} - -func (*UnimplementedReservationsServer) AggregatedList(context.Context, *AggregatedListReservationsRequest) (*ReservationAggregatedList, error) { - return nil, status.Errorf(codes.Unimplemented, "method AggregatedList not implemented") -} -func (*UnimplementedReservationsServer) Delete(context.Context, *DeleteReservationRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") -} -func (*UnimplementedReservationsServer) Get(context.Context, *GetReservationRequest) (*Reservation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") -} -func (*UnimplementedReservationsServer) GetIamPolicy(context.Context, *GetIamPolicyReservationRequest) (*Policy, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetIamPolicy not implemented") -} -func (*UnimplementedReservationsServer) Insert(context.Context, *InsertReservationRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Insert not implemented") -} -func (*UnimplementedReservationsServer) List(context.Context, *ListReservationsRequest) (*ReservationList, error) { - return nil, status.Errorf(codes.Unimplemented, "method List not implemented") -} -func (*UnimplementedReservationsServer) Resize(context.Context, *ResizeReservationRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Resize not implemented") -} -func (*UnimplementedReservationsServer) SetIamPolicy(context.Context, *SetIamPolicyReservationRequest) (*Policy, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetIamPolicy not implemented") -} -func (*UnimplementedReservationsServer) TestIamPermissions(context.Context, *TestIamPermissionsReservationRequest) (*TestPermissionsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method TestIamPermissions not implemented") -} -func (*UnimplementedReservationsServer) Update(context.Context, *UpdateReservationRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Update not implemented") -} - -func RegisterReservationsServer(s *grpc.Server, srv ReservationsServer) { - s.RegisterService(&_Reservations_serviceDesc, srv) -} - -func _Reservations_AggregatedList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AggregatedListReservationsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ReservationsServer).AggregatedList(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Reservations/AggregatedList", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ReservationsServer).AggregatedList(ctx, req.(*AggregatedListReservationsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Reservations_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteReservationRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ReservationsServer).Delete(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Reservations/Delete", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ReservationsServer).Delete(ctx, req.(*DeleteReservationRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Reservations_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetReservationRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ReservationsServer).Get(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Reservations/Get", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ReservationsServer).Get(ctx, req.(*GetReservationRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Reservations_GetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetIamPolicyReservationRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ReservationsServer).GetIamPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Reservations/GetIamPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ReservationsServer).GetIamPolicy(ctx, req.(*GetIamPolicyReservationRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Reservations_Insert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(InsertReservationRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ReservationsServer).Insert(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Reservations/Insert", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ReservationsServer).Insert(ctx, req.(*InsertReservationRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Reservations_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListReservationsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ReservationsServer).List(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Reservations/List", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ReservationsServer).List(ctx, req.(*ListReservationsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Reservations_Resize_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ResizeReservationRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ReservationsServer).Resize(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Reservations/Resize", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ReservationsServer).Resize(ctx, req.(*ResizeReservationRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Reservations_SetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetIamPolicyReservationRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ReservationsServer).SetIamPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Reservations/SetIamPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ReservationsServer).SetIamPolicy(ctx, req.(*SetIamPolicyReservationRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Reservations_TestIamPermissions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(TestIamPermissionsReservationRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ReservationsServer).TestIamPermissions(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Reservations/TestIamPermissions", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ReservationsServer).TestIamPermissions(ctx, req.(*TestIamPermissionsReservationRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Reservations_Update_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateReservationRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ReservationsServer).Update(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Reservations/Update", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ReservationsServer).Update(ctx, req.(*UpdateReservationRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _Reservations_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.Reservations", - HandlerType: (*ReservationsServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "AggregatedList", - Handler: _Reservations_AggregatedList_Handler, - }, - { - MethodName: "Delete", - Handler: _Reservations_Delete_Handler, - }, - { - MethodName: "Get", - Handler: _Reservations_Get_Handler, - }, - { - MethodName: "GetIamPolicy", - Handler: _Reservations_GetIamPolicy_Handler, - }, - { - MethodName: "Insert", - Handler: _Reservations_Insert_Handler, - }, - { - MethodName: "List", - Handler: _Reservations_List_Handler, - }, - { - MethodName: "Resize", - Handler: _Reservations_Resize_Handler, - }, - { - MethodName: "SetIamPolicy", - Handler: _Reservations_SetIamPolicy_Handler, - }, - { - MethodName: "TestIamPermissions", - Handler: _Reservations_TestIamPermissions_Handler, - }, - { - MethodName: "Update", - Handler: _Reservations_Update_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} - -// ResourcePoliciesClient is the client API for ResourcePolicies service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type ResourcePoliciesClient interface { - // Retrieves an aggregated list of resource policies. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. - AggregatedList(ctx context.Context, in *AggregatedListResourcePoliciesRequest, opts ...grpc.CallOption) (*ResourcePolicyAggregatedList, error) - // Deletes the specified resource policy. - Delete(ctx context.Context, in *DeleteResourcePolicyRequest, opts ...grpc.CallOption) (*Operation, error) - // Retrieves all information of the specified resource policy. - Get(ctx context.Context, in *GetResourcePolicyRequest, opts ...grpc.CallOption) (*ResourcePolicy, error) - // Gets the access control policy for a resource. May be empty if no such policy or resource exists. - GetIamPolicy(ctx context.Context, in *GetIamPolicyResourcePolicyRequest, opts ...grpc.CallOption) (*Policy, error) - // Creates a new resource policy. - Insert(ctx context.Context, in *InsertResourcePolicyRequest, opts ...grpc.CallOption) (*Operation, error) - // A list all the resource policies that have been configured for the specified project in specified region. - List(ctx context.Context, in *ListResourcePoliciesRequest, opts ...grpc.CallOption) (*ResourcePolicyList, error) - // Modify the specified resource policy. - Patch(ctx context.Context, in *PatchResourcePolicyRequest, opts ...grpc.CallOption) (*Operation, error) - // Sets the access control policy on the specified resource. Replaces any existing policy. - SetIamPolicy(ctx context.Context, in *SetIamPolicyResourcePolicyRequest, opts ...grpc.CallOption) (*Policy, error) - // Returns permissions that a caller has on the specified resource. - TestIamPermissions(ctx context.Context, in *TestIamPermissionsResourcePolicyRequest, opts ...grpc.CallOption) (*TestPermissionsResponse, error) -} - -type resourcePoliciesClient struct { - cc grpc.ClientConnInterface -} - -func NewResourcePoliciesClient(cc grpc.ClientConnInterface) ResourcePoliciesClient { - return &resourcePoliciesClient{cc} -} - -func (c *resourcePoliciesClient) AggregatedList(ctx context.Context, in *AggregatedListResourcePoliciesRequest, opts ...grpc.CallOption) (*ResourcePolicyAggregatedList, error) { - out := new(ResourcePolicyAggregatedList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.ResourcePolicies/AggregatedList", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *resourcePoliciesClient) Delete(ctx context.Context, in *DeleteResourcePolicyRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.ResourcePolicies/Delete", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *resourcePoliciesClient) Get(ctx context.Context, in *GetResourcePolicyRequest, opts ...grpc.CallOption) (*ResourcePolicy, error) { - out := new(ResourcePolicy) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.ResourcePolicies/Get", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *resourcePoliciesClient) GetIamPolicy(ctx context.Context, in *GetIamPolicyResourcePolicyRequest, opts ...grpc.CallOption) (*Policy, error) { - out := new(Policy) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.ResourcePolicies/GetIamPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *resourcePoliciesClient) Insert(ctx context.Context, in *InsertResourcePolicyRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.ResourcePolicies/Insert", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *resourcePoliciesClient) List(ctx context.Context, in *ListResourcePoliciesRequest, opts ...grpc.CallOption) (*ResourcePolicyList, error) { - out := new(ResourcePolicyList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.ResourcePolicies/List", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *resourcePoliciesClient) Patch(ctx context.Context, in *PatchResourcePolicyRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.ResourcePolicies/Patch", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *resourcePoliciesClient) SetIamPolicy(ctx context.Context, in *SetIamPolicyResourcePolicyRequest, opts ...grpc.CallOption) (*Policy, error) { - out := new(Policy) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.ResourcePolicies/SetIamPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *resourcePoliciesClient) TestIamPermissions(ctx context.Context, in *TestIamPermissionsResourcePolicyRequest, opts ...grpc.CallOption) (*TestPermissionsResponse, error) { - out := new(TestPermissionsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.ResourcePolicies/TestIamPermissions", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// ResourcePoliciesServer is the server API for ResourcePolicies service. -type ResourcePoliciesServer interface { - // Retrieves an aggregated list of resource policies. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. - AggregatedList(context.Context, *AggregatedListResourcePoliciesRequest) (*ResourcePolicyAggregatedList, error) - // Deletes the specified resource policy. - Delete(context.Context, *DeleteResourcePolicyRequest) (*Operation, error) - // Retrieves all information of the specified resource policy. - Get(context.Context, *GetResourcePolicyRequest) (*ResourcePolicy, error) - // Gets the access control policy for a resource. May be empty if no such policy or resource exists. - GetIamPolicy(context.Context, *GetIamPolicyResourcePolicyRequest) (*Policy, error) - // Creates a new resource policy. - Insert(context.Context, *InsertResourcePolicyRequest) (*Operation, error) - // A list all the resource policies that have been configured for the specified project in specified region. - List(context.Context, *ListResourcePoliciesRequest) (*ResourcePolicyList, error) - // Modify the specified resource policy. - Patch(context.Context, *PatchResourcePolicyRequest) (*Operation, error) - // Sets the access control policy on the specified resource. Replaces any existing policy. - SetIamPolicy(context.Context, *SetIamPolicyResourcePolicyRequest) (*Policy, error) - // Returns permissions that a caller has on the specified resource. - TestIamPermissions(context.Context, *TestIamPermissionsResourcePolicyRequest) (*TestPermissionsResponse, error) -} - -// UnimplementedResourcePoliciesServer can be embedded to have forward compatible implementations. -type UnimplementedResourcePoliciesServer struct { -} - -func (*UnimplementedResourcePoliciesServer) AggregatedList(context.Context, *AggregatedListResourcePoliciesRequest) (*ResourcePolicyAggregatedList, error) { - return nil, status.Errorf(codes.Unimplemented, "method AggregatedList not implemented") -} -func (*UnimplementedResourcePoliciesServer) Delete(context.Context, *DeleteResourcePolicyRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") -} -func (*UnimplementedResourcePoliciesServer) Get(context.Context, *GetResourcePolicyRequest) (*ResourcePolicy, error) { - return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") -} -func (*UnimplementedResourcePoliciesServer) GetIamPolicy(context.Context, *GetIamPolicyResourcePolicyRequest) (*Policy, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetIamPolicy not implemented") -} -func (*UnimplementedResourcePoliciesServer) Insert(context.Context, *InsertResourcePolicyRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Insert not implemented") -} -func (*UnimplementedResourcePoliciesServer) List(context.Context, *ListResourcePoliciesRequest) (*ResourcePolicyList, error) { - return nil, status.Errorf(codes.Unimplemented, "method List not implemented") -} -func (*UnimplementedResourcePoliciesServer) Patch(context.Context, *PatchResourcePolicyRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Patch not implemented") -} -func (*UnimplementedResourcePoliciesServer) SetIamPolicy(context.Context, *SetIamPolicyResourcePolicyRequest) (*Policy, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetIamPolicy not implemented") -} -func (*UnimplementedResourcePoliciesServer) TestIamPermissions(context.Context, *TestIamPermissionsResourcePolicyRequest) (*TestPermissionsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method TestIamPermissions not implemented") -} - -func RegisterResourcePoliciesServer(s *grpc.Server, srv ResourcePoliciesServer) { - s.RegisterService(&_ResourcePolicies_serviceDesc, srv) -} - -func _ResourcePolicies_AggregatedList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AggregatedListResourcePoliciesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ResourcePoliciesServer).AggregatedList(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.ResourcePolicies/AggregatedList", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ResourcePoliciesServer).AggregatedList(ctx, req.(*AggregatedListResourcePoliciesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ResourcePolicies_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteResourcePolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ResourcePoliciesServer).Delete(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.ResourcePolicies/Delete", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ResourcePoliciesServer).Delete(ctx, req.(*DeleteResourcePolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ResourcePolicies_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetResourcePolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ResourcePoliciesServer).Get(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.ResourcePolicies/Get", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ResourcePoliciesServer).Get(ctx, req.(*GetResourcePolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ResourcePolicies_GetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetIamPolicyResourcePolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ResourcePoliciesServer).GetIamPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.ResourcePolicies/GetIamPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ResourcePoliciesServer).GetIamPolicy(ctx, req.(*GetIamPolicyResourcePolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ResourcePolicies_Insert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(InsertResourcePolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ResourcePoliciesServer).Insert(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.ResourcePolicies/Insert", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ResourcePoliciesServer).Insert(ctx, req.(*InsertResourcePolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ResourcePolicies_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListResourcePoliciesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ResourcePoliciesServer).List(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.ResourcePolicies/List", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ResourcePoliciesServer).List(ctx, req.(*ListResourcePoliciesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ResourcePolicies_Patch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PatchResourcePolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ResourcePoliciesServer).Patch(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.ResourcePolicies/Patch", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ResourcePoliciesServer).Patch(ctx, req.(*PatchResourcePolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ResourcePolicies_SetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetIamPolicyResourcePolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ResourcePoliciesServer).SetIamPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.ResourcePolicies/SetIamPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ResourcePoliciesServer).SetIamPolicy(ctx, req.(*SetIamPolicyResourcePolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ResourcePolicies_TestIamPermissions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(TestIamPermissionsResourcePolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ResourcePoliciesServer).TestIamPermissions(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.ResourcePolicies/TestIamPermissions", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ResourcePoliciesServer).TestIamPermissions(ctx, req.(*TestIamPermissionsResourcePolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _ResourcePolicies_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.ResourcePolicies", - HandlerType: (*ResourcePoliciesServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "AggregatedList", - Handler: _ResourcePolicies_AggregatedList_Handler, - }, - { - MethodName: "Delete", - Handler: _ResourcePolicies_Delete_Handler, - }, - { - MethodName: "Get", - Handler: _ResourcePolicies_Get_Handler, - }, - { - MethodName: "GetIamPolicy", - Handler: _ResourcePolicies_GetIamPolicy_Handler, - }, - { - MethodName: "Insert", - Handler: _ResourcePolicies_Insert_Handler, - }, - { - MethodName: "List", - Handler: _ResourcePolicies_List_Handler, - }, - { - MethodName: "Patch", - Handler: _ResourcePolicies_Patch_Handler, - }, - { - MethodName: "SetIamPolicy", - Handler: _ResourcePolicies_SetIamPolicy_Handler, - }, - { - MethodName: "TestIamPermissions", - Handler: _ResourcePolicies_TestIamPermissions_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} - -// RoutersClient is the client API for Routers service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type RoutersClient interface { - // Retrieves an aggregated list of routers. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. - AggregatedList(ctx context.Context, in *AggregatedListRoutersRequest, opts ...grpc.CallOption) (*RouterAggregatedList, error) - // Deletes the specified Router resource. - Delete(ctx context.Context, in *DeleteRouterRequest, opts ...grpc.CallOption) (*Operation, error) - // Returns the specified Router resource. - Get(ctx context.Context, in *GetRouterRequest, opts ...grpc.CallOption) (*Router, error) - // Retrieves runtime NAT IP information. - GetNatIpInfo(ctx context.Context, in *GetNatIpInfoRouterRequest, opts ...grpc.CallOption) (*NatIpInfoResponse, error) - // Retrieves runtime Nat mapping information of VM endpoints. - GetNatMappingInfo(ctx context.Context, in *GetNatMappingInfoRoutersRequest, opts ...grpc.CallOption) (*VmEndpointNatMappingsList, error) - // Retrieves runtime information of the specified router. - GetRouterStatus(ctx context.Context, in *GetRouterStatusRouterRequest, opts ...grpc.CallOption) (*RouterStatusResponse, error) - // Creates a Router resource in the specified project and region using the data included in the request. - Insert(ctx context.Context, in *InsertRouterRequest, opts ...grpc.CallOption) (*Operation, error) - // Retrieves a list of Router resources available to the specified project. - List(ctx context.Context, in *ListRoutersRequest, opts ...grpc.CallOption) (*RouterList, error) - // Patches the specified Router resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules. - Patch(ctx context.Context, in *PatchRouterRequest, opts ...grpc.CallOption) (*Operation, error) - // Preview fields auto-generated during router create and update operations. Calling this method does NOT create or update the router. - Preview(ctx context.Context, in *PreviewRouterRequest, opts ...grpc.CallOption) (*RoutersPreviewResponse, error) - // Updates the specified Router resource with the data included in the request. This method conforms to PUT semantics, which requests that the state of the target resource be created or replaced with the state defined by the representation enclosed in the request message payload. - Update(ctx context.Context, in *UpdateRouterRequest, opts ...grpc.CallOption) (*Operation, error) -} - -type routersClient struct { - cc grpc.ClientConnInterface -} - -func NewRoutersClient(cc grpc.ClientConnInterface) RoutersClient { - return &routersClient{cc} -} - -func (c *routersClient) AggregatedList(ctx context.Context, in *AggregatedListRoutersRequest, opts ...grpc.CallOption) (*RouterAggregatedList, error) { - out := new(RouterAggregatedList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Routers/AggregatedList", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *routersClient) Delete(ctx context.Context, in *DeleteRouterRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Routers/Delete", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *routersClient) Get(ctx context.Context, in *GetRouterRequest, opts ...grpc.CallOption) (*Router, error) { - out := new(Router) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Routers/Get", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *routersClient) GetNatIpInfo(ctx context.Context, in *GetNatIpInfoRouterRequest, opts ...grpc.CallOption) (*NatIpInfoResponse, error) { - out := new(NatIpInfoResponse) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Routers/GetNatIpInfo", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *routersClient) GetNatMappingInfo(ctx context.Context, in *GetNatMappingInfoRoutersRequest, opts ...grpc.CallOption) (*VmEndpointNatMappingsList, error) { - out := new(VmEndpointNatMappingsList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Routers/GetNatMappingInfo", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *routersClient) GetRouterStatus(ctx context.Context, in *GetRouterStatusRouterRequest, opts ...grpc.CallOption) (*RouterStatusResponse, error) { - out := new(RouterStatusResponse) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Routers/GetRouterStatus", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *routersClient) Insert(ctx context.Context, in *InsertRouterRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Routers/Insert", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *routersClient) List(ctx context.Context, in *ListRoutersRequest, opts ...grpc.CallOption) (*RouterList, error) { - out := new(RouterList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Routers/List", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *routersClient) Patch(ctx context.Context, in *PatchRouterRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Routers/Patch", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *routersClient) Preview(ctx context.Context, in *PreviewRouterRequest, opts ...grpc.CallOption) (*RoutersPreviewResponse, error) { - out := new(RoutersPreviewResponse) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Routers/Preview", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *routersClient) Update(ctx context.Context, in *UpdateRouterRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Routers/Update", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// RoutersServer is the server API for Routers service. -type RoutersServer interface { - // Retrieves an aggregated list of routers. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. - AggregatedList(context.Context, *AggregatedListRoutersRequest) (*RouterAggregatedList, error) - // Deletes the specified Router resource. - Delete(context.Context, *DeleteRouterRequest) (*Operation, error) - // Returns the specified Router resource. - Get(context.Context, *GetRouterRequest) (*Router, error) - // Retrieves runtime NAT IP information. - GetNatIpInfo(context.Context, *GetNatIpInfoRouterRequest) (*NatIpInfoResponse, error) - // Retrieves runtime Nat mapping information of VM endpoints. - GetNatMappingInfo(context.Context, *GetNatMappingInfoRoutersRequest) (*VmEndpointNatMappingsList, error) - // Retrieves runtime information of the specified router. - GetRouterStatus(context.Context, *GetRouterStatusRouterRequest) (*RouterStatusResponse, error) - // Creates a Router resource in the specified project and region using the data included in the request. - Insert(context.Context, *InsertRouterRequest) (*Operation, error) - // Retrieves a list of Router resources available to the specified project. - List(context.Context, *ListRoutersRequest) (*RouterList, error) - // Patches the specified Router resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules. - Patch(context.Context, *PatchRouterRequest) (*Operation, error) - // Preview fields auto-generated during router create and update operations. Calling this method does NOT create or update the router. - Preview(context.Context, *PreviewRouterRequest) (*RoutersPreviewResponse, error) - // Updates the specified Router resource with the data included in the request. This method conforms to PUT semantics, which requests that the state of the target resource be created or replaced with the state defined by the representation enclosed in the request message payload. - Update(context.Context, *UpdateRouterRequest) (*Operation, error) -} - -// UnimplementedRoutersServer can be embedded to have forward compatible implementations. -type UnimplementedRoutersServer struct { -} - -func (*UnimplementedRoutersServer) AggregatedList(context.Context, *AggregatedListRoutersRequest) (*RouterAggregatedList, error) { - return nil, status.Errorf(codes.Unimplemented, "method AggregatedList not implemented") -} -func (*UnimplementedRoutersServer) Delete(context.Context, *DeleteRouterRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") -} -func (*UnimplementedRoutersServer) Get(context.Context, *GetRouterRequest) (*Router, error) { - return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") -} -func (*UnimplementedRoutersServer) GetNatIpInfo(context.Context, *GetNatIpInfoRouterRequest) (*NatIpInfoResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetNatIpInfo not implemented") -} -func (*UnimplementedRoutersServer) GetNatMappingInfo(context.Context, *GetNatMappingInfoRoutersRequest) (*VmEndpointNatMappingsList, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetNatMappingInfo not implemented") -} -func (*UnimplementedRoutersServer) GetRouterStatus(context.Context, *GetRouterStatusRouterRequest) (*RouterStatusResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetRouterStatus not implemented") -} -func (*UnimplementedRoutersServer) Insert(context.Context, *InsertRouterRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Insert not implemented") -} -func (*UnimplementedRoutersServer) List(context.Context, *ListRoutersRequest) (*RouterList, error) { - return nil, status.Errorf(codes.Unimplemented, "method List not implemented") -} -func (*UnimplementedRoutersServer) Patch(context.Context, *PatchRouterRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Patch not implemented") -} -func (*UnimplementedRoutersServer) Preview(context.Context, *PreviewRouterRequest) (*RoutersPreviewResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Preview not implemented") -} -func (*UnimplementedRoutersServer) Update(context.Context, *UpdateRouterRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Update not implemented") -} - -func RegisterRoutersServer(s *grpc.Server, srv RoutersServer) { - s.RegisterService(&_Routers_serviceDesc, srv) -} - -func _Routers_AggregatedList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AggregatedListRoutersRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RoutersServer).AggregatedList(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Routers/AggregatedList", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RoutersServer).AggregatedList(ctx, req.(*AggregatedListRoutersRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Routers_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteRouterRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RoutersServer).Delete(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Routers/Delete", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RoutersServer).Delete(ctx, req.(*DeleteRouterRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Routers_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetRouterRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RoutersServer).Get(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Routers/Get", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RoutersServer).Get(ctx, req.(*GetRouterRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Routers_GetNatIpInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetNatIpInfoRouterRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RoutersServer).GetNatIpInfo(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Routers/GetNatIpInfo", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RoutersServer).GetNatIpInfo(ctx, req.(*GetNatIpInfoRouterRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Routers_GetNatMappingInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetNatMappingInfoRoutersRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RoutersServer).GetNatMappingInfo(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Routers/GetNatMappingInfo", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RoutersServer).GetNatMappingInfo(ctx, req.(*GetNatMappingInfoRoutersRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Routers_GetRouterStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetRouterStatusRouterRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RoutersServer).GetRouterStatus(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Routers/GetRouterStatus", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RoutersServer).GetRouterStatus(ctx, req.(*GetRouterStatusRouterRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Routers_Insert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(InsertRouterRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RoutersServer).Insert(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Routers/Insert", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RoutersServer).Insert(ctx, req.(*InsertRouterRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Routers_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListRoutersRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RoutersServer).List(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Routers/List", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RoutersServer).List(ctx, req.(*ListRoutersRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Routers_Patch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PatchRouterRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RoutersServer).Patch(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Routers/Patch", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RoutersServer).Patch(ctx, req.(*PatchRouterRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Routers_Preview_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PreviewRouterRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RoutersServer).Preview(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Routers/Preview", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RoutersServer).Preview(ctx, req.(*PreviewRouterRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Routers_Update_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateRouterRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RoutersServer).Update(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Routers/Update", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RoutersServer).Update(ctx, req.(*UpdateRouterRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _Routers_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.Routers", - HandlerType: (*RoutersServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "AggregatedList", - Handler: _Routers_AggregatedList_Handler, - }, - { - MethodName: "Delete", - Handler: _Routers_Delete_Handler, - }, - { - MethodName: "Get", - Handler: _Routers_Get_Handler, - }, - { - MethodName: "GetNatIpInfo", - Handler: _Routers_GetNatIpInfo_Handler, - }, - { - MethodName: "GetNatMappingInfo", - Handler: _Routers_GetNatMappingInfo_Handler, - }, - { - MethodName: "GetRouterStatus", - Handler: _Routers_GetRouterStatus_Handler, - }, - { - MethodName: "Insert", - Handler: _Routers_Insert_Handler, - }, - { - MethodName: "List", - Handler: _Routers_List_Handler, - }, - { - MethodName: "Patch", - Handler: _Routers_Patch_Handler, - }, - { - MethodName: "Preview", - Handler: _Routers_Preview_Handler, - }, - { - MethodName: "Update", - Handler: _Routers_Update_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} - -// RoutesClient is the client API for Routes service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type RoutesClient interface { - // Deletes the specified Route resource. - Delete(ctx context.Context, in *DeleteRouteRequest, opts ...grpc.CallOption) (*Operation, error) - // Returns the specified Route resource. - Get(ctx context.Context, in *GetRouteRequest, opts ...grpc.CallOption) (*Route, error) - // Creates a Route resource in the specified project using the data included in the request. - Insert(ctx context.Context, in *InsertRouteRequest, opts ...grpc.CallOption) (*Operation, error) - // Retrieves the list of Route resources available to the specified project. - List(ctx context.Context, in *ListRoutesRequest, opts ...grpc.CallOption) (*RouteList, error) -} - -type routesClient struct { - cc grpc.ClientConnInterface -} - -func NewRoutesClient(cc grpc.ClientConnInterface) RoutesClient { - return &routesClient{cc} -} - -func (c *routesClient) Delete(ctx context.Context, in *DeleteRouteRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Routes/Delete", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *routesClient) Get(ctx context.Context, in *GetRouteRequest, opts ...grpc.CallOption) (*Route, error) { - out := new(Route) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Routes/Get", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *routesClient) Insert(ctx context.Context, in *InsertRouteRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Routes/Insert", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *routesClient) List(ctx context.Context, in *ListRoutesRequest, opts ...grpc.CallOption) (*RouteList, error) { - out := new(RouteList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Routes/List", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// RoutesServer is the server API for Routes service. -type RoutesServer interface { - // Deletes the specified Route resource. - Delete(context.Context, *DeleteRouteRequest) (*Operation, error) - // Returns the specified Route resource. - Get(context.Context, *GetRouteRequest) (*Route, error) - // Creates a Route resource in the specified project using the data included in the request. - Insert(context.Context, *InsertRouteRequest) (*Operation, error) - // Retrieves the list of Route resources available to the specified project. - List(context.Context, *ListRoutesRequest) (*RouteList, error) -} - -// UnimplementedRoutesServer can be embedded to have forward compatible implementations. -type UnimplementedRoutesServer struct { -} - -func (*UnimplementedRoutesServer) Delete(context.Context, *DeleteRouteRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") -} -func (*UnimplementedRoutesServer) Get(context.Context, *GetRouteRequest) (*Route, error) { - return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") -} -func (*UnimplementedRoutesServer) Insert(context.Context, *InsertRouteRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Insert not implemented") -} -func (*UnimplementedRoutesServer) List(context.Context, *ListRoutesRequest) (*RouteList, error) { - return nil, status.Errorf(codes.Unimplemented, "method List not implemented") -} - -func RegisterRoutesServer(s *grpc.Server, srv RoutesServer) { - s.RegisterService(&_Routes_serviceDesc, srv) -} - -func _Routes_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteRouteRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RoutesServer).Delete(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Routes/Delete", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RoutesServer).Delete(ctx, req.(*DeleteRouteRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Routes_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetRouteRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RoutesServer).Get(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Routes/Get", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RoutesServer).Get(ctx, req.(*GetRouteRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Routes_Insert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(InsertRouteRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RoutesServer).Insert(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Routes/Insert", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RoutesServer).Insert(ctx, req.(*InsertRouteRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Routes_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListRoutesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RoutesServer).List(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Routes/List", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RoutesServer).List(ctx, req.(*ListRoutesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _Routes_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.Routes", - HandlerType: (*RoutesServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "Delete", - Handler: _Routes_Delete_Handler, - }, - { - MethodName: "Get", - Handler: _Routes_Get_Handler, - }, - { - MethodName: "Insert", - Handler: _Routes_Insert_Handler, - }, - { - MethodName: "List", - Handler: _Routes_List_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} - -// SecurityPoliciesClient is the client API for SecurityPolicies service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type SecurityPoliciesClient interface { - // Inserts a rule into a security policy. - AddRule(ctx context.Context, in *AddRuleSecurityPolicyRequest, opts ...grpc.CallOption) (*Operation, error) - // Retrieves the list of all SecurityPolicy resources, regional and global, available to the specified project. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. - AggregatedList(ctx context.Context, in *AggregatedListSecurityPoliciesRequest, opts ...grpc.CallOption) (*SecurityPoliciesAggregatedList, error) - // Deletes the specified policy. - Delete(ctx context.Context, in *DeleteSecurityPolicyRequest, opts ...grpc.CallOption) (*Operation, error) - // List all of the ordered rules present in a single specified policy. - Get(ctx context.Context, in *GetSecurityPolicyRequest, opts ...grpc.CallOption) (*SecurityPolicy, error) - // Gets a rule at the specified priority. - GetRule(ctx context.Context, in *GetRuleSecurityPolicyRequest, opts ...grpc.CallOption) (*SecurityPolicyRule, error) - // Creates a new policy in the specified project using the data included in the request. - Insert(ctx context.Context, in *InsertSecurityPolicyRequest, opts ...grpc.CallOption) (*Operation, error) - // List all the policies that have been configured for the specified project. - List(ctx context.Context, in *ListSecurityPoliciesRequest, opts ...grpc.CallOption) (*SecurityPolicyList, error) - // Gets the current list of preconfigured Web Application Firewall (WAF) expressions. - ListPreconfiguredExpressionSets(ctx context.Context, in *ListPreconfiguredExpressionSetsSecurityPoliciesRequest, opts ...grpc.CallOption) (*SecurityPoliciesListPreconfiguredExpressionSetsResponse, error) - // Patches the specified policy with the data included in the request. To clear fields in the policy, leave the fields empty and specify them in the updateMask. This cannot be used to be update the rules in the policy. Please use the per rule methods like addRule, patchRule, and removeRule instead. - Patch(ctx context.Context, in *PatchSecurityPolicyRequest, opts ...grpc.CallOption) (*Operation, error) - // Patches a rule at the specified priority. To clear fields in the rule, leave the fields empty and specify them in the updateMask. - PatchRule(ctx context.Context, in *PatchRuleSecurityPolicyRequest, opts ...grpc.CallOption) (*Operation, error) - // Deletes a rule at the specified priority. - RemoveRule(ctx context.Context, in *RemoveRuleSecurityPolicyRequest, opts ...grpc.CallOption) (*Operation, error) - // Sets the labels on a security policy. To learn more about labels, read the Labeling Resources documentation. - SetLabels(ctx context.Context, in *SetLabelsSecurityPolicyRequest, opts ...grpc.CallOption) (*Operation, error) -} - -type securityPoliciesClient struct { - cc grpc.ClientConnInterface -} - -func NewSecurityPoliciesClient(cc grpc.ClientConnInterface) SecurityPoliciesClient { - return &securityPoliciesClient{cc} -} - -func (c *securityPoliciesClient) AddRule(ctx context.Context, in *AddRuleSecurityPolicyRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.SecurityPolicies/AddRule", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *securityPoliciesClient) AggregatedList(ctx context.Context, in *AggregatedListSecurityPoliciesRequest, opts ...grpc.CallOption) (*SecurityPoliciesAggregatedList, error) { - out := new(SecurityPoliciesAggregatedList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.SecurityPolicies/AggregatedList", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *securityPoliciesClient) Delete(ctx context.Context, in *DeleteSecurityPolicyRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.SecurityPolicies/Delete", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *securityPoliciesClient) Get(ctx context.Context, in *GetSecurityPolicyRequest, opts ...grpc.CallOption) (*SecurityPolicy, error) { - out := new(SecurityPolicy) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.SecurityPolicies/Get", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *securityPoliciesClient) GetRule(ctx context.Context, in *GetRuleSecurityPolicyRequest, opts ...grpc.CallOption) (*SecurityPolicyRule, error) { - out := new(SecurityPolicyRule) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.SecurityPolicies/GetRule", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *securityPoliciesClient) Insert(ctx context.Context, in *InsertSecurityPolicyRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.SecurityPolicies/Insert", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *securityPoliciesClient) List(ctx context.Context, in *ListSecurityPoliciesRequest, opts ...grpc.CallOption) (*SecurityPolicyList, error) { - out := new(SecurityPolicyList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.SecurityPolicies/List", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *securityPoliciesClient) ListPreconfiguredExpressionSets(ctx context.Context, in *ListPreconfiguredExpressionSetsSecurityPoliciesRequest, opts ...grpc.CallOption) (*SecurityPoliciesListPreconfiguredExpressionSetsResponse, error) { - out := new(SecurityPoliciesListPreconfiguredExpressionSetsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.SecurityPolicies/ListPreconfiguredExpressionSets", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *securityPoliciesClient) Patch(ctx context.Context, in *PatchSecurityPolicyRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.SecurityPolicies/Patch", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *securityPoliciesClient) PatchRule(ctx context.Context, in *PatchRuleSecurityPolicyRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.SecurityPolicies/PatchRule", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *securityPoliciesClient) RemoveRule(ctx context.Context, in *RemoveRuleSecurityPolicyRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.SecurityPolicies/RemoveRule", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *securityPoliciesClient) SetLabels(ctx context.Context, in *SetLabelsSecurityPolicyRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.SecurityPolicies/SetLabels", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// SecurityPoliciesServer is the server API for SecurityPolicies service. -type SecurityPoliciesServer interface { - // Inserts a rule into a security policy. - AddRule(context.Context, *AddRuleSecurityPolicyRequest) (*Operation, error) - // Retrieves the list of all SecurityPolicy resources, regional and global, available to the specified project. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. - AggregatedList(context.Context, *AggregatedListSecurityPoliciesRequest) (*SecurityPoliciesAggregatedList, error) - // Deletes the specified policy. - Delete(context.Context, *DeleteSecurityPolicyRequest) (*Operation, error) - // List all of the ordered rules present in a single specified policy. - Get(context.Context, *GetSecurityPolicyRequest) (*SecurityPolicy, error) - // Gets a rule at the specified priority. - GetRule(context.Context, *GetRuleSecurityPolicyRequest) (*SecurityPolicyRule, error) - // Creates a new policy in the specified project using the data included in the request. - Insert(context.Context, *InsertSecurityPolicyRequest) (*Operation, error) - // List all the policies that have been configured for the specified project. - List(context.Context, *ListSecurityPoliciesRequest) (*SecurityPolicyList, error) - // Gets the current list of preconfigured Web Application Firewall (WAF) expressions. - ListPreconfiguredExpressionSets(context.Context, *ListPreconfiguredExpressionSetsSecurityPoliciesRequest) (*SecurityPoliciesListPreconfiguredExpressionSetsResponse, error) - // Patches the specified policy with the data included in the request. To clear fields in the policy, leave the fields empty and specify them in the updateMask. This cannot be used to be update the rules in the policy. Please use the per rule methods like addRule, patchRule, and removeRule instead. - Patch(context.Context, *PatchSecurityPolicyRequest) (*Operation, error) - // Patches a rule at the specified priority. To clear fields in the rule, leave the fields empty and specify them in the updateMask. - PatchRule(context.Context, *PatchRuleSecurityPolicyRequest) (*Operation, error) - // Deletes a rule at the specified priority. - RemoveRule(context.Context, *RemoveRuleSecurityPolicyRequest) (*Operation, error) - // Sets the labels on a security policy. To learn more about labels, read the Labeling Resources documentation. - SetLabels(context.Context, *SetLabelsSecurityPolicyRequest) (*Operation, error) -} - -// UnimplementedSecurityPoliciesServer can be embedded to have forward compatible implementations. -type UnimplementedSecurityPoliciesServer struct { -} - -func (*UnimplementedSecurityPoliciesServer) AddRule(context.Context, *AddRuleSecurityPolicyRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method AddRule not implemented") -} -func (*UnimplementedSecurityPoliciesServer) AggregatedList(context.Context, *AggregatedListSecurityPoliciesRequest) (*SecurityPoliciesAggregatedList, error) { - return nil, status.Errorf(codes.Unimplemented, "method AggregatedList not implemented") -} -func (*UnimplementedSecurityPoliciesServer) Delete(context.Context, *DeleteSecurityPolicyRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") -} -func (*UnimplementedSecurityPoliciesServer) Get(context.Context, *GetSecurityPolicyRequest) (*SecurityPolicy, error) { - return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") -} -func (*UnimplementedSecurityPoliciesServer) GetRule(context.Context, *GetRuleSecurityPolicyRequest) (*SecurityPolicyRule, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetRule not implemented") -} -func (*UnimplementedSecurityPoliciesServer) Insert(context.Context, *InsertSecurityPolicyRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Insert not implemented") -} -func (*UnimplementedSecurityPoliciesServer) List(context.Context, *ListSecurityPoliciesRequest) (*SecurityPolicyList, error) { - return nil, status.Errorf(codes.Unimplemented, "method List not implemented") -} -func (*UnimplementedSecurityPoliciesServer) ListPreconfiguredExpressionSets(context.Context, *ListPreconfiguredExpressionSetsSecurityPoliciesRequest) (*SecurityPoliciesListPreconfiguredExpressionSetsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListPreconfiguredExpressionSets not implemented") -} -func (*UnimplementedSecurityPoliciesServer) Patch(context.Context, *PatchSecurityPolicyRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Patch not implemented") -} -func (*UnimplementedSecurityPoliciesServer) PatchRule(context.Context, *PatchRuleSecurityPolicyRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method PatchRule not implemented") -} -func (*UnimplementedSecurityPoliciesServer) RemoveRule(context.Context, *RemoveRuleSecurityPolicyRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method RemoveRule not implemented") -} -func (*UnimplementedSecurityPoliciesServer) SetLabels(context.Context, *SetLabelsSecurityPolicyRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetLabels not implemented") -} - -func RegisterSecurityPoliciesServer(s *grpc.Server, srv SecurityPoliciesServer) { - s.RegisterService(&_SecurityPolicies_serviceDesc, srv) -} - -func _SecurityPolicies_AddRule_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AddRuleSecurityPolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SecurityPoliciesServer).AddRule(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.SecurityPolicies/AddRule", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SecurityPoliciesServer).AddRule(ctx, req.(*AddRuleSecurityPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _SecurityPolicies_AggregatedList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AggregatedListSecurityPoliciesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SecurityPoliciesServer).AggregatedList(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.SecurityPolicies/AggregatedList", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SecurityPoliciesServer).AggregatedList(ctx, req.(*AggregatedListSecurityPoliciesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _SecurityPolicies_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteSecurityPolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SecurityPoliciesServer).Delete(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.SecurityPolicies/Delete", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SecurityPoliciesServer).Delete(ctx, req.(*DeleteSecurityPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _SecurityPolicies_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetSecurityPolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SecurityPoliciesServer).Get(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.SecurityPolicies/Get", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SecurityPoliciesServer).Get(ctx, req.(*GetSecurityPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _SecurityPolicies_GetRule_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetRuleSecurityPolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SecurityPoliciesServer).GetRule(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.SecurityPolicies/GetRule", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SecurityPoliciesServer).GetRule(ctx, req.(*GetRuleSecurityPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _SecurityPolicies_Insert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(InsertSecurityPolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SecurityPoliciesServer).Insert(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.SecurityPolicies/Insert", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SecurityPoliciesServer).Insert(ctx, req.(*InsertSecurityPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _SecurityPolicies_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListSecurityPoliciesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SecurityPoliciesServer).List(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.SecurityPolicies/List", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SecurityPoliciesServer).List(ctx, req.(*ListSecurityPoliciesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _SecurityPolicies_ListPreconfiguredExpressionSets_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListPreconfiguredExpressionSetsSecurityPoliciesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SecurityPoliciesServer).ListPreconfiguredExpressionSets(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.SecurityPolicies/ListPreconfiguredExpressionSets", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SecurityPoliciesServer).ListPreconfiguredExpressionSets(ctx, req.(*ListPreconfiguredExpressionSetsSecurityPoliciesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _SecurityPolicies_Patch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PatchSecurityPolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SecurityPoliciesServer).Patch(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.SecurityPolicies/Patch", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SecurityPoliciesServer).Patch(ctx, req.(*PatchSecurityPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _SecurityPolicies_PatchRule_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PatchRuleSecurityPolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SecurityPoliciesServer).PatchRule(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.SecurityPolicies/PatchRule", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SecurityPoliciesServer).PatchRule(ctx, req.(*PatchRuleSecurityPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _SecurityPolicies_RemoveRule_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RemoveRuleSecurityPolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SecurityPoliciesServer).RemoveRule(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.SecurityPolicies/RemoveRule", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SecurityPoliciesServer).RemoveRule(ctx, req.(*RemoveRuleSecurityPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _SecurityPolicies_SetLabels_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetLabelsSecurityPolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SecurityPoliciesServer).SetLabels(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.SecurityPolicies/SetLabels", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SecurityPoliciesServer).SetLabels(ctx, req.(*SetLabelsSecurityPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _SecurityPolicies_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.SecurityPolicies", - HandlerType: (*SecurityPoliciesServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "AddRule", - Handler: _SecurityPolicies_AddRule_Handler, - }, - { - MethodName: "AggregatedList", - Handler: _SecurityPolicies_AggregatedList_Handler, - }, - { - MethodName: "Delete", - Handler: _SecurityPolicies_Delete_Handler, - }, - { - MethodName: "Get", - Handler: _SecurityPolicies_Get_Handler, - }, - { - MethodName: "GetRule", - Handler: _SecurityPolicies_GetRule_Handler, - }, - { - MethodName: "Insert", - Handler: _SecurityPolicies_Insert_Handler, - }, - { - MethodName: "List", - Handler: _SecurityPolicies_List_Handler, - }, - { - MethodName: "ListPreconfiguredExpressionSets", - Handler: _SecurityPolicies_ListPreconfiguredExpressionSets_Handler, - }, - { - MethodName: "Patch", - Handler: _SecurityPolicies_Patch_Handler, - }, - { - MethodName: "PatchRule", - Handler: _SecurityPolicies_PatchRule_Handler, - }, - { - MethodName: "RemoveRule", - Handler: _SecurityPolicies_RemoveRule_Handler, - }, - { - MethodName: "SetLabels", - Handler: _SecurityPolicies_SetLabels_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} - -// ServiceAttachmentsClient is the client API for ServiceAttachments service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type ServiceAttachmentsClient interface { - // Retrieves the list of all ServiceAttachment resources, regional and global, available to the specified project. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. - AggregatedList(ctx context.Context, in *AggregatedListServiceAttachmentsRequest, opts ...grpc.CallOption) (*ServiceAttachmentAggregatedList, error) - // Deletes the specified ServiceAttachment in the given scope - Delete(ctx context.Context, in *DeleteServiceAttachmentRequest, opts ...grpc.CallOption) (*Operation, error) - // Returns the specified ServiceAttachment resource in the given scope. - Get(ctx context.Context, in *GetServiceAttachmentRequest, opts ...grpc.CallOption) (*ServiceAttachment, error) - // Gets the access control policy for a resource. May be empty if no such policy or resource exists. - GetIamPolicy(ctx context.Context, in *GetIamPolicyServiceAttachmentRequest, opts ...grpc.CallOption) (*Policy, error) - // Creates a ServiceAttachment in the specified project in the given scope using the parameters that are included in the request. - Insert(ctx context.Context, in *InsertServiceAttachmentRequest, opts ...grpc.CallOption) (*Operation, error) - // Lists the ServiceAttachments for a project in the given scope. - List(ctx context.Context, in *ListServiceAttachmentsRequest, opts ...grpc.CallOption) (*ServiceAttachmentList, error) - // Patches the specified ServiceAttachment resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules. - Patch(ctx context.Context, in *PatchServiceAttachmentRequest, opts ...grpc.CallOption) (*Operation, error) - // Sets the access control policy on the specified resource. Replaces any existing policy. - SetIamPolicy(ctx context.Context, in *SetIamPolicyServiceAttachmentRequest, opts ...grpc.CallOption) (*Policy, error) - // Returns permissions that a caller has on the specified resource. - TestIamPermissions(ctx context.Context, in *TestIamPermissionsServiceAttachmentRequest, opts ...grpc.CallOption) (*TestPermissionsResponse, error) -} - -type serviceAttachmentsClient struct { - cc grpc.ClientConnInterface -} - -func NewServiceAttachmentsClient(cc grpc.ClientConnInterface) ServiceAttachmentsClient { - return &serviceAttachmentsClient{cc} -} - -func (c *serviceAttachmentsClient) AggregatedList(ctx context.Context, in *AggregatedListServiceAttachmentsRequest, opts ...grpc.CallOption) (*ServiceAttachmentAggregatedList, error) { - out := new(ServiceAttachmentAggregatedList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.ServiceAttachments/AggregatedList", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *serviceAttachmentsClient) Delete(ctx context.Context, in *DeleteServiceAttachmentRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.ServiceAttachments/Delete", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *serviceAttachmentsClient) Get(ctx context.Context, in *GetServiceAttachmentRequest, opts ...grpc.CallOption) (*ServiceAttachment, error) { - out := new(ServiceAttachment) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.ServiceAttachments/Get", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *serviceAttachmentsClient) GetIamPolicy(ctx context.Context, in *GetIamPolicyServiceAttachmentRequest, opts ...grpc.CallOption) (*Policy, error) { - out := new(Policy) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.ServiceAttachments/GetIamPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *serviceAttachmentsClient) Insert(ctx context.Context, in *InsertServiceAttachmentRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.ServiceAttachments/Insert", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *serviceAttachmentsClient) List(ctx context.Context, in *ListServiceAttachmentsRequest, opts ...grpc.CallOption) (*ServiceAttachmentList, error) { - out := new(ServiceAttachmentList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.ServiceAttachments/List", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *serviceAttachmentsClient) Patch(ctx context.Context, in *PatchServiceAttachmentRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.ServiceAttachments/Patch", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *serviceAttachmentsClient) SetIamPolicy(ctx context.Context, in *SetIamPolicyServiceAttachmentRequest, opts ...grpc.CallOption) (*Policy, error) { - out := new(Policy) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.ServiceAttachments/SetIamPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *serviceAttachmentsClient) TestIamPermissions(ctx context.Context, in *TestIamPermissionsServiceAttachmentRequest, opts ...grpc.CallOption) (*TestPermissionsResponse, error) { - out := new(TestPermissionsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.ServiceAttachments/TestIamPermissions", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// ServiceAttachmentsServer is the server API for ServiceAttachments service. -type ServiceAttachmentsServer interface { - // Retrieves the list of all ServiceAttachment resources, regional and global, available to the specified project. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. - AggregatedList(context.Context, *AggregatedListServiceAttachmentsRequest) (*ServiceAttachmentAggregatedList, error) - // Deletes the specified ServiceAttachment in the given scope - Delete(context.Context, *DeleteServiceAttachmentRequest) (*Operation, error) - // Returns the specified ServiceAttachment resource in the given scope. - Get(context.Context, *GetServiceAttachmentRequest) (*ServiceAttachment, error) - // Gets the access control policy for a resource. May be empty if no such policy or resource exists. - GetIamPolicy(context.Context, *GetIamPolicyServiceAttachmentRequest) (*Policy, error) - // Creates a ServiceAttachment in the specified project in the given scope using the parameters that are included in the request. - Insert(context.Context, *InsertServiceAttachmentRequest) (*Operation, error) - // Lists the ServiceAttachments for a project in the given scope. - List(context.Context, *ListServiceAttachmentsRequest) (*ServiceAttachmentList, error) - // Patches the specified ServiceAttachment resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules. - Patch(context.Context, *PatchServiceAttachmentRequest) (*Operation, error) - // Sets the access control policy on the specified resource. Replaces any existing policy. - SetIamPolicy(context.Context, *SetIamPolicyServiceAttachmentRequest) (*Policy, error) - // Returns permissions that a caller has on the specified resource. - TestIamPermissions(context.Context, *TestIamPermissionsServiceAttachmentRequest) (*TestPermissionsResponse, error) -} - -// UnimplementedServiceAttachmentsServer can be embedded to have forward compatible implementations. -type UnimplementedServiceAttachmentsServer struct { -} - -func (*UnimplementedServiceAttachmentsServer) AggregatedList(context.Context, *AggregatedListServiceAttachmentsRequest) (*ServiceAttachmentAggregatedList, error) { - return nil, status.Errorf(codes.Unimplemented, "method AggregatedList not implemented") -} -func (*UnimplementedServiceAttachmentsServer) Delete(context.Context, *DeleteServiceAttachmentRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") -} -func (*UnimplementedServiceAttachmentsServer) Get(context.Context, *GetServiceAttachmentRequest) (*ServiceAttachment, error) { - return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") -} -func (*UnimplementedServiceAttachmentsServer) GetIamPolicy(context.Context, *GetIamPolicyServiceAttachmentRequest) (*Policy, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetIamPolicy not implemented") -} -func (*UnimplementedServiceAttachmentsServer) Insert(context.Context, *InsertServiceAttachmentRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Insert not implemented") -} -func (*UnimplementedServiceAttachmentsServer) List(context.Context, *ListServiceAttachmentsRequest) (*ServiceAttachmentList, error) { - return nil, status.Errorf(codes.Unimplemented, "method List not implemented") -} -func (*UnimplementedServiceAttachmentsServer) Patch(context.Context, *PatchServiceAttachmentRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Patch not implemented") -} -func (*UnimplementedServiceAttachmentsServer) SetIamPolicy(context.Context, *SetIamPolicyServiceAttachmentRequest) (*Policy, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetIamPolicy not implemented") -} -func (*UnimplementedServiceAttachmentsServer) TestIamPermissions(context.Context, *TestIamPermissionsServiceAttachmentRequest) (*TestPermissionsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method TestIamPermissions not implemented") -} - -func RegisterServiceAttachmentsServer(s *grpc.Server, srv ServiceAttachmentsServer) { - s.RegisterService(&_ServiceAttachments_serviceDesc, srv) -} - -func _ServiceAttachments_AggregatedList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AggregatedListServiceAttachmentsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ServiceAttachmentsServer).AggregatedList(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.ServiceAttachments/AggregatedList", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ServiceAttachmentsServer).AggregatedList(ctx, req.(*AggregatedListServiceAttachmentsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ServiceAttachments_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteServiceAttachmentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ServiceAttachmentsServer).Delete(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.ServiceAttachments/Delete", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ServiceAttachmentsServer).Delete(ctx, req.(*DeleteServiceAttachmentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ServiceAttachments_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetServiceAttachmentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ServiceAttachmentsServer).Get(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.ServiceAttachments/Get", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ServiceAttachmentsServer).Get(ctx, req.(*GetServiceAttachmentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ServiceAttachments_GetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetIamPolicyServiceAttachmentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ServiceAttachmentsServer).GetIamPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.ServiceAttachments/GetIamPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ServiceAttachmentsServer).GetIamPolicy(ctx, req.(*GetIamPolicyServiceAttachmentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ServiceAttachments_Insert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(InsertServiceAttachmentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ServiceAttachmentsServer).Insert(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.ServiceAttachments/Insert", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ServiceAttachmentsServer).Insert(ctx, req.(*InsertServiceAttachmentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ServiceAttachments_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListServiceAttachmentsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ServiceAttachmentsServer).List(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.ServiceAttachments/List", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ServiceAttachmentsServer).List(ctx, req.(*ListServiceAttachmentsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ServiceAttachments_Patch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PatchServiceAttachmentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ServiceAttachmentsServer).Patch(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.ServiceAttachments/Patch", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ServiceAttachmentsServer).Patch(ctx, req.(*PatchServiceAttachmentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ServiceAttachments_SetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetIamPolicyServiceAttachmentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ServiceAttachmentsServer).SetIamPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.ServiceAttachments/SetIamPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ServiceAttachmentsServer).SetIamPolicy(ctx, req.(*SetIamPolicyServiceAttachmentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ServiceAttachments_TestIamPermissions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(TestIamPermissionsServiceAttachmentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ServiceAttachmentsServer).TestIamPermissions(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.ServiceAttachments/TestIamPermissions", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ServiceAttachmentsServer).TestIamPermissions(ctx, req.(*TestIamPermissionsServiceAttachmentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _ServiceAttachments_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.ServiceAttachments", - HandlerType: (*ServiceAttachmentsServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "AggregatedList", - Handler: _ServiceAttachments_AggregatedList_Handler, - }, - { - MethodName: "Delete", - Handler: _ServiceAttachments_Delete_Handler, - }, - { - MethodName: "Get", - Handler: _ServiceAttachments_Get_Handler, - }, - { - MethodName: "GetIamPolicy", - Handler: _ServiceAttachments_GetIamPolicy_Handler, - }, - { - MethodName: "Insert", - Handler: _ServiceAttachments_Insert_Handler, - }, - { - MethodName: "List", - Handler: _ServiceAttachments_List_Handler, - }, - { - MethodName: "Patch", - Handler: _ServiceAttachments_Patch_Handler, - }, - { - MethodName: "SetIamPolicy", - Handler: _ServiceAttachments_SetIamPolicy_Handler, - }, - { - MethodName: "TestIamPermissions", - Handler: _ServiceAttachments_TestIamPermissions_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} - -// SnapshotSettingsServiceClient is the client API for SnapshotSettingsService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type SnapshotSettingsServiceClient interface { - // Get snapshot settings. - Get(ctx context.Context, in *GetSnapshotSettingRequest, opts ...grpc.CallOption) (*SnapshotSettings, error) - // Patch snapshot settings. - Patch(ctx context.Context, in *PatchSnapshotSettingRequest, opts ...grpc.CallOption) (*Operation, error) -} - -type snapshotSettingsServiceClient struct { - cc grpc.ClientConnInterface -} - -func NewSnapshotSettingsServiceClient(cc grpc.ClientConnInterface) SnapshotSettingsServiceClient { - return &snapshotSettingsServiceClient{cc} -} - -func (c *snapshotSettingsServiceClient) Get(ctx context.Context, in *GetSnapshotSettingRequest, opts ...grpc.CallOption) (*SnapshotSettings, error) { - out := new(SnapshotSettings) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.SnapshotSettingsService/Get", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *snapshotSettingsServiceClient) Patch(ctx context.Context, in *PatchSnapshotSettingRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.SnapshotSettingsService/Patch", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// SnapshotSettingsServiceServer is the server API for SnapshotSettingsService service. -type SnapshotSettingsServiceServer interface { - // Get snapshot settings. - Get(context.Context, *GetSnapshotSettingRequest) (*SnapshotSettings, error) - // Patch snapshot settings. - Patch(context.Context, *PatchSnapshotSettingRequest) (*Operation, error) -} - -// UnimplementedSnapshotSettingsServiceServer can be embedded to have forward compatible implementations. -type UnimplementedSnapshotSettingsServiceServer struct { -} - -func (*UnimplementedSnapshotSettingsServiceServer) Get(context.Context, *GetSnapshotSettingRequest) (*SnapshotSettings, error) { - return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") -} -func (*UnimplementedSnapshotSettingsServiceServer) Patch(context.Context, *PatchSnapshotSettingRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Patch not implemented") -} - -func RegisterSnapshotSettingsServiceServer(s *grpc.Server, srv SnapshotSettingsServiceServer) { - s.RegisterService(&_SnapshotSettingsService_serviceDesc, srv) -} - -func _SnapshotSettingsService_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetSnapshotSettingRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SnapshotSettingsServiceServer).Get(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.SnapshotSettingsService/Get", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SnapshotSettingsServiceServer).Get(ctx, req.(*GetSnapshotSettingRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _SnapshotSettingsService_Patch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PatchSnapshotSettingRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SnapshotSettingsServiceServer).Patch(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.SnapshotSettingsService/Patch", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SnapshotSettingsServiceServer).Patch(ctx, req.(*PatchSnapshotSettingRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _SnapshotSettingsService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.SnapshotSettingsService", - HandlerType: (*SnapshotSettingsServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "Get", - Handler: _SnapshotSettingsService_Get_Handler, - }, - { - MethodName: "Patch", - Handler: _SnapshotSettingsService_Patch_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} - -// SnapshotsClient is the client API for Snapshots service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type SnapshotsClient interface { - // Deletes the specified Snapshot resource. Keep in mind that deleting a single snapshot might not necessarily delete all the data on that snapshot. If any data on the snapshot that is marked for deletion is needed for subsequent snapshots, the data will be moved to the next corresponding snapshot. For more information, see Deleting snapshots. - Delete(ctx context.Context, in *DeleteSnapshotRequest, opts ...grpc.CallOption) (*Operation, error) - // Returns the specified Snapshot resource. - Get(ctx context.Context, in *GetSnapshotRequest, opts ...grpc.CallOption) (*Snapshot, error) - // Gets the access control policy for a resource. May be empty if no such policy or resource exists. - GetIamPolicy(ctx context.Context, in *GetIamPolicySnapshotRequest, opts ...grpc.CallOption) (*Policy, error) - // Creates a snapshot in the specified project using the data included in the request. For regular snapshot creation, consider using this method instead of disks.createSnapshot, as this method supports more features, such as creating snapshots in a project different from the source disk project. - Insert(ctx context.Context, in *InsertSnapshotRequest, opts ...grpc.CallOption) (*Operation, error) - // Retrieves the list of Snapshot resources contained within the specified project. - List(ctx context.Context, in *ListSnapshotsRequest, opts ...grpc.CallOption) (*SnapshotList, error) - // Sets the access control policy on the specified resource. Replaces any existing policy. - SetIamPolicy(ctx context.Context, in *SetIamPolicySnapshotRequest, opts ...grpc.CallOption) (*Policy, error) - // Sets the labels on a snapshot. To learn more about labels, read the Labeling Resources documentation. - SetLabels(ctx context.Context, in *SetLabelsSnapshotRequest, opts ...grpc.CallOption) (*Operation, error) - // Returns permissions that a caller has on the specified resource. - TestIamPermissions(ctx context.Context, in *TestIamPermissionsSnapshotRequest, opts ...grpc.CallOption) (*TestPermissionsResponse, error) -} - -type snapshotsClient struct { - cc grpc.ClientConnInterface -} - -func NewSnapshotsClient(cc grpc.ClientConnInterface) SnapshotsClient { - return &snapshotsClient{cc} -} - -func (c *snapshotsClient) Delete(ctx context.Context, in *DeleteSnapshotRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Snapshots/Delete", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *snapshotsClient) Get(ctx context.Context, in *GetSnapshotRequest, opts ...grpc.CallOption) (*Snapshot, error) { - out := new(Snapshot) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Snapshots/Get", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *snapshotsClient) GetIamPolicy(ctx context.Context, in *GetIamPolicySnapshotRequest, opts ...grpc.CallOption) (*Policy, error) { - out := new(Policy) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Snapshots/GetIamPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *snapshotsClient) Insert(ctx context.Context, in *InsertSnapshotRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Snapshots/Insert", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *snapshotsClient) List(ctx context.Context, in *ListSnapshotsRequest, opts ...grpc.CallOption) (*SnapshotList, error) { - out := new(SnapshotList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Snapshots/List", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *snapshotsClient) SetIamPolicy(ctx context.Context, in *SetIamPolicySnapshotRequest, opts ...grpc.CallOption) (*Policy, error) { - out := new(Policy) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Snapshots/SetIamPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *snapshotsClient) SetLabels(ctx context.Context, in *SetLabelsSnapshotRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Snapshots/SetLabels", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *snapshotsClient) TestIamPermissions(ctx context.Context, in *TestIamPermissionsSnapshotRequest, opts ...grpc.CallOption) (*TestPermissionsResponse, error) { - out := new(TestPermissionsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Snapshots/TestIamPermissions", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// SnapshotsServer is the server API for Snapshots service. -type SnapshotsServer interface { - // Deletes the specified Snapshot resource. Keep in mind that deleting a single snapshot might not necessarily delete all the data on that snapshot. If any data on the snapshot that is marked for deletion is needed for subsequent snapshots, the data will be moved to the next corresponding snapshot. For more information, see Deleting snapshots. - Delete(context.Context, *DeleteSnapshotRequest) (*Operation, error) - // Returns the specified Snapshot resource. - Get(context.Context, *GetSnapshotRequest) (*Snapshot, error) - // Gets the access control policy for a resource. May be empty if no such policy or resource exists. - GetIamPolicy(context.Context, *GetIamPolicySnapshotRequest) (*Policy, error) - // Creates a snapshot in the specified project using the data included in the request. For regular snapshot creation, consider using this method instead of disks.createSnapshot, as this method supports more features, such as creating snapshots in a project different from the source disk project. - Insert(context.Context, *InsertSnapshotRequest) (*Operation, error) - // Retrieves the list of Snapshot resources contained within the specified project. - List(context.Context, *ListSnapshotsRequest) (*SnapshotList, error) - // Sets the access control policy on the specified resource. Replaces any existing policy. - SetIamPolicy(context.Context, *SetIamPolicySnapshotRequest) (*Policy, error) - // Sets the labels on a snapshot. To learn more about labels, read the Labeling Resources documentation. - SetLabels(context.Context, *SetLabelsSnapshotRequest) (*Operation, error) - // Returns permissions that a caller has on the specified resource. - TestIamPermissions(context.Context, *TestIamPermissionsSnapshotRequest) (*TestPermissionsResponse, error) -} - -// UnimplementedSnapshotsServer can be embedded to have forward compatible implementations. -type UnimplementedSnapshotsServer struct { -} - -func (*UnimplementedSnapshotsServer) Delete(context.Context, *DeleteSnapshotRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") -} -func (*UnimplementedSnapshotsServer) Get(context.Context, *GetSnapshotRequest) (*Snapshot, error) { - return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") -} -func (*UnimplementedSnapshotsServer) GetIamPolicy(context.Context, *GetIamPolicySnapshotRequest) (*Policy, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetIamPolicy not implemented") -} -func (*UnimplementedSnapshotsServer) Insert(context.Context, *InsertSnapshotRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Insert not implemented") -} -func (*UnimplementedSnapshotsServer) List(context.Context, *ListSnapshotsRequest) (*SnapshotList, error) { - return nil, status.Errorf(codes.Unimplemented, "method List not implemented") -} -func (*UnimplementedSnapshotsServer) SetIamPolicy(context.Context, *SetIamPolicySnapshotRequest) (*Policy, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetIamPolicy not implemented") -} -func (*UnimplementedSnapshotsServer) SetLabels(context.Context, *SetLabelsSnapshotRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetLabels not implemented") -} -func (*UnimplementedSnapshotsServer) TestIamPermissions(context.Context, *TestIamPermissionsSnapshotRequest) (*TestPermissionsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method TestIamPermissions not implemented") -} - -func RegisterSnapshotsServer(s *grpc.Server, srv SnapshotsServer) { - s.RegisterService(&_Snapshots_serviceDesc, srv) -} - -func _Snapshots_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteSnapshotRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SnapshotsServer).Delete(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Snapshots/Delete", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SnapshotsServer).Delete(ctx, req.(*DeleteSnapshotRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Snapshots_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetSnapshotRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SnapshotsServer).Get(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Snapshots/Get", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SnapshotsServer).Get(ctx, req.(*GetSnapshotRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Snapshots_GetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetIamPolicySnapshotRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SnapshotsServer).GetIamPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Snapshots/GetIamPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SnapshotsServer).GetIamPolicy(ctx, req.(*GetIamPolicySnapshotRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Snapshots_Insert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(InsertSnapshotRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SnapshotsServer).Insert(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Snapshots/Insert", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SnapshotsServer).Insert(ctx, req.(*InsertSnapshotRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Snapshots_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListSnapshotsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SnapshotsServer).List(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Snapshots/List", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SnapshotsServer).List(ctx, req.(*ListSnapshotsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Snapshots_SetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetIamPolicySnapshotRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SnapshotsServer).SetIamPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Snapshots/SetIamPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SnapshotsServer).SetIamPolicy(ctx, req.(*SetIamPolicySnapshotRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Snapshots_SetLabels_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetLabelsSnapshotRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SnapshotsServer).SetLabels(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Snapshots/SetLabels", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SnapshotsServer).SetLabels(ctx, req.(*SetLabelsSnapshotRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Snapshots_TestIamPermissions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(TestIamPermissionsSnapshotRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SnapshotsServer).TestIamPermissions(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Snapshots/TestIamPermissions", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SnapshotsServer).TestIamPermissions(ctx, req.(*TestIamPermissionsSnapshotRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _Snapshots_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.Snapshots", - HandlerType: (*SnapshotsServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "Delete", - Handler: _Snapshots_Delete_Handler, - }, - { - MethodName: "Get", - Handler: _Snapshots_Get_Handler, - }, - { - MethodName: "GetIamPolicy", - Handler: _Snapshots_GetIamPolicy_Handler, - }, - { - MethodName: "Insert", - Handler: _Snapshots_Insert_Handler, - }, - { - MethodName: "List", - Handler: _Snapshots_List_Handler, - }, - { - MethodName: "SetIamPolicy", - Handler: _Snapshots_SetIamPolicy_Handler, - }, - { - MethodName: "SetLabels", - Handler: _Snapshots_SetLabels_Handler, - }, - { - MethodName: "TestIamPermissions", - Handler: _Snapshots_TestIamPermissions_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} - -// SslCertificatesClient is the client API for SslCertificates service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type SslCertificatesClient interface { - // Retrieves the list of all SslCertificate resources, regional and global, available to the specified project. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. - AggregatedList(ctx context.Context, in *AggregatedListSslCertificatesRequest, opts ...grpc.CallOption) (*SslCertificateAggregatedList, error) - // Deletes the specified SslCertificate resource. - Delete(ctx context.Context, in *DeleteSslCertificateRequest, opts ...grpc.CallOption) (*Operation, error) - // Returns the specified SslCertificate resource. - Get(ctx context.Context, in *GetSslCertificateRequest, opts ...grpc.CallOption) (*SslCertificate, error) - // Creates a SslCertificate resource in the specified project using the data included in the request. - Insert(ctx context.Context, in *InsertSslCertificateRequest, opts ...grpc.CallOption) (*Operation, error) - // Retrieves the list of SslCertificate resources available to the specified project. - List(ctx context.Context, in *ListSslCertificatesRequest, opts ...grpc.CallOption) (*SslCertificateList, error) -} - -type sslCertificatesClient struct { - cc grpc.ClientConnInterface -} - -func NewSslCertificatesClient(cc grpc.ClientConnInterface) SslCertificatesClient { - return &sslCertificatesClient{cc} -} - -func (c *sslCertificatesClient) AggregatedList(ctx context.Context, in *AggregatedListSslCertificatesRequest, opts ...grpc.CallOption) (*SslCertificateAggregatedList, error) { - out := new(SslCertificateAggregatedList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.SslCertificates/AggregatedList", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *sslCertificatesClient) Delete(ctx context.Context, in *DeleteSslCertificateRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.SslCertificates/Delete", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *sslCertificatesClient) Get(ctx context.Context, in *GetSslCertificateRequest, opts ...grpc.CallOption) (*SslCertificate, error) { - out := new(SslCertificate) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.SslCertificates/Get", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *sslCertificatesClient) Insert(ctx context.Context, in *InsertSslCertificateRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.SslCertificates/Insert", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *sslCertificatesClient) List(ctx context.Context, in *ListSslCertificatesRequest, opts ...grpc.CallOption) (*SslCertificateList, error) { - out := new(SslCertificateList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.SslCertificates/List", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// SslCertificatesServer is the server API for SslCertificates service. -type SslCertificatesServer interface { - // Retrieves the list of all SslCertificate resources, regional and global, available to the specified project. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. - AggregatedList(context.Context, *AggregatedListSslCertificatesRequest) (*SslCertificateAggregatedList, error) - // Deletes the specified SslCertificate resource. - Delete(context.Context, *DeleteSslCertificateRequest) (*Operation, error) - // Returns the specified SslCertificate resource. - Get(context.Context, *GetSslCertificateRequest) (*SslCertificate, error) - // Creates a SslCertificate resource in the specified project using the data included in the request. - Insert(context.Context, *InsertSslCertificateRequest) (*Operation, error) - // Retrieves the list of SslCertificate resources available to the specified project. - List(context.Context, *ListSslCertificatesRequest) (*SslCertificateList, error) -} - -// UnimplementedSslCertificatesServer can be embedded to have forward compatible implementations. -type UnimplementedSslCertificatesServer struct { -} - -func (*UnimplementedSslCertificatesServer) AggregatedList(context.Context, *AggregatedListSslCertificatesRequest) (*SslCertificateAggregatedList, error) { - return nil, status.Errorf(codes.Unimplemented, "method AggregatedList not implemented") -} -func (*UnimplementedSslCertificatesServer) Delete(context.Context, *DeleteSslCertificateRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") -} -func (*UnimplementedSslCertificatesServer) Get(context.Context, *GetSslCertificateRequest) (*SslCertificate, error) { - return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") -} -func (*UnimplementedSslCertificatesServer) Insert(context.Context, *InsertSslCertificateRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Insert not implemented") -} -func (*UnimplementedSslCertificatesServer) List(context.Context, *ListSslCertificatesRequest) (*SslCertificateList, error) { - return nil, status.Errorf(codes.Unimplemented, "method List not implemented") -} - -func RegisterSslCertificatesServer(s *grpc.Server, srv SslCertificatesServer) { - s.RegisterService(&_SslCertificates_serviceDesc, srv) -} - -func _SslCertificates_AggregatedList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AggregatedListSslCertificatesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SslCertificatesServer).AggregatedList(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.SslCertificates/AggregatedList", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SslCertificatesServer).AggregatedList(ctx, req.(*AggregatedListSslCertificatesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _SslCertificates_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteSslCertificateRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SslCertificatesServer).Delete(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.SslCertificates/Delete", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SslCertificatesServer).Delete(ctx, req.(*DeleteSslCertificateRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _SslCertificates_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetSslCertificateRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SslCertificatesServer).Get(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.SslCertificates/Get", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SslCertificatesServer).Get(ctx, req.(*GetSslCertificateRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _SslCertificates_Insert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(InsertSslCertificateRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SslCertificatesServer).Insert(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.SslCertificates/Insert", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SslCertificatesServer).Insert(ctx, req.(*InsertSslCertificateRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _SslCertificates_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListSslCertificatesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SslCertificatesServer).List(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.SslCertificates/List", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SslCertificatesServer).List(ctx, req.(*ListSslCertificatesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _SslCertificates_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.SslCertificates", - HandlerType: (*SslCertificatesServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "AggregatedList", - Handler: _SslCertificates_AggregatedList_Handler, - }, - { - MethodName: "Delete", - Handler: _SslCertificates_Delete_Handler, - }, - { - MethodName: "Get", - Handler: _SslCertificates_Get_Handler, - }, - { - MethodName: "Insert", - Handler: _SslCertificates_Insert_Handler, - }, - { - MethodName: "List", - Handler: _SslCertificates_List_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} - -// SslPoliciesClient is the client API for SslPolicies service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type SslPoliciesClient interface { - // Retrieves the list of all SslPolicy resources, regional and global, available to the specified project. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. - AggregatedList(ctx context.Context, in *AggregatedListSslPoliciesRequest, opts ...grpc.CallOption) (*SslPoliciesAggregatedList, error) - // Deletes the specified SSL policy. The SSL policy resource can be deleted only if it is not in use by any TargetHttpsProxy or TargetSslProxy resources. - Delete(ctx context.Context, in *DeleteSslPolicyRequest, opts ...grpc.CallOption) (*Operation, error) - // Lists all of the ordered rules present in a single specified policy. - Get(ctx context.Context, in *GetSslPolicyRequest, opts ...grpc.CallOption) (*SslPolicy, error) - // Returns the specified SSL policy resource. - Insert(ctx context.Context, in *InsertSslPolicyRequest, opts ...grpc.CallOption) (*Operation, error) - // Lists all the SSL policies that have been configured for the specified project. - List(ctx context.Context, in *ListSslPoliciesRequest, opts ...grpc.CallOption) (*SslPoliciesList, error) - // Lists all features that can be specified in the SSL policy when using custom profile. - ListAvailableFeatures(ctx context.Context, in *ListAvailableFeaturesSslPoliciesRequest, opts ...grpc.CallOption) (*SslPoliciesListAvailableFeaturesResponse, error) - // Patches the specified SSL policy with the data included in the request. - Patch(ctx context.Context, in *PatchSslPolicyRequest, opts ...grpc.CallOption) (*Operation, error) -} - -type sslPoliciesClient struct { - cc grpc.ClientConnInterface -} - -func NewSslPoliciesClient(cc grpc.ClientConnInterface) SslPoliciesClient { - return &sslPoliciesClient{cc} -} - -func (c *sslPoliciesClient) AggregatedList(ctx context.Context, in *AggregatedListSslPoliciesRequest, opts ...grpc.CallOption) (*SslPoliciesAggregatedList, error) { - out := new(SslPoliciesAggregatedList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.SslPolicies/AggregatedList", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *sslPoliciesClient) Delete(ctx context.Context, in *DeleteSslPolicyRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.SslPolicies/Delete", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *sslPoliciesClient) Get(ctx context.Context, in *GetSslPolicyRequest, opts ...grpc.CallOption) (*SslPolicy, error) { - out := new(SslPolicy) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.SslPolicies/Get", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *sslPoliciesClient) Insert(ctx context.Context, in *InsertSslPolicyRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.SslPolicies/Insert", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *sslPoliciesClient) List(ctx context.Context, in *ListSslPoliciesRequest, opts ...grpc.CallOption) (*SslPoliciesList, error) { - out := new(SslPoliciesList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.SslPolicies/List", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *sslPoliciesClient) ListAvailableFeatures(ctx context.Context, in *ListAvailableFeaturesSslPoliciesRequest, opts ...grpc.CallOption) (*SslPoliciesListAvailableFeaturesResponse, error) { - out := new(SslPoliciesListAvailableFeaturesResponse) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.SslPolicies/ListAvailableFeatures", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *sslPoliciesClient) Patch(ctx context.Context, in *PatchSslPolicyRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.SslPolicies/Patch", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// SslPoliciesServer is the server API for SslPolicies service. -type SslPoliciesServer interface { - // Retrieves the list of all SslPolicy resources, regional and global, available to the specified project. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. - AggregatedList(context.Context, *AggregatedListSslPoliciesRequest) (*SslPoliciesAggregatedList, error) - // Deletes the specified SSL policy. The SSL policy resource can be deleted only if it is not in use by any TargetHttpsProxy or TargetSslProxy resources. - Delete(context.Context, *DeleteSslPolicyRequest) (*Operation, error) - // Lists all of the ordered rules present in a single specified policy. - Get(context.Context, *GetSslPolicyRequest) (*SslPolicy, error) - // Returns the specified SSL policy resource. - Insert(context.Context, *InsertSslPolicyRequest) (*Operation, error) - // Lists all the SSL policies that have been configured for the specified project. - List(context.Context, *ListSslPoliciesRequest) (*SslPoliciesList, error) - // Lists all features that can be specified in the SSL policy when using custom profile. - ListAvailableFeatures(context.Context, *ListAvailableFeaturesSslPoliciesRequest) (*SslPoliciesListAvailableFeaturesResponse, error) - // Patches the specified SSL policy with the data included in the request. - Patch(context.Context, *PatchSslPolicyRequest) (*Operation, error) -} - -// UnimplementedSslPoliciesServer can be embedded to have forward compatible implementations. -type UnimplementedSslPoliciesServer struct { -} - -func (*UnimplementedSslPoliciesServer) AggregatedList(context.Context, *AggregatedListSslPoliciesRequest) (*SslPoliciesAggregatedList, error) { - return nil, status.Errorf(codes.Unimplemented, "method AggregatedList not implemented") -} -func (*UnimplementedSslPoliciesServer) Delete(context.Context, *DeleteSslPolicyRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") -} -func (*UnimplementedSslPoliciesServer) Get(context.Context, *GetSslPolicyRequest) (*SslPolicy, error) { - return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") -} -func (*UnimplementedSslPoliciesServer) Insert(context.Context, *InsertSslPolicyRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Insert not implemented") -} -func (*UnimplementedSslPoliciesServer) List(context.Context, *ListSslPoliciesRequest) (*SslPoliciesList, error) { - return nil, status.Errorf(codes.Unimplemented, "method List not implemented") -} -func (*UnimplementedSslPoliciesServer) ListAvailableFeatures(context.Context, *ListAvailableFeaturesSslPoliciesRequest) (*SslPoliciesListAvailableFeaturesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListAvailableFeatures not implemented") -} -func (*UnimplementedSslPoliciesServer) Patch(context.Context, *PatchSslPolicyRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Patch not implemented") -} - -func RegisterSslPoliciesServer(s *grpc.Server, srv SslPoliciesServer) { - s.RegisterService(&_SslPolicies_serviceDesc, srv) -} - -func _SslPolicies_AggregatedList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AggregatedListSslPoliciesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SslPoliciesServer).AggregatedList(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.SslPolicies/AggregatedList", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SslPoliciesServer).AggregatedList(ctx, req.(*AggregatedListSslPoliciesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _SslPolicies_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteSslPolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SslPoliciesServer).Delete(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.SslPolicies/Delete", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SslPoliciesServer).Delete(ctx, req.(*DeleteSslPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _SslPolicies_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetSslPolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SslPoliciesServer).Get(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.SslPolicies/Get", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SslPoliciesServer).Get(ctx, req.(*GetSslPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _SslPolicies_Insert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(InsertSslPolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SslPoliciesServer).Insert(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.SslPolicies/Insert", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SslPoliciesServer).Insert(ctx, req.(*InsertSslPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _SslPolicies_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListSslPoliciesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SslPoliciesServer).List(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.SslPolicies/List", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SslPoliciesServer).List(ctx, req.(*ListSslPoliciesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _SslPolicies_ListAvailableFeatures_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListAvailableFeaturesSslPoliciesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SslPoliciesServer).ListAvailableFeatures(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.SslPolicies/ListAvailableFeatures", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SslPoliciesServer).ListAvailableFeatures(ctx, req.(*ListAvailableFeaturesSslPoliciesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _SslPolicies_Patch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PatchSslPolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SslPoliciesServer).Patch(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.SslPolicies/Patch", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SslPoliciesServer).Patch(ctx, req.(*PatchSslPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _SslPolicies_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.SslPolicies", - HandlerType: (*SslPoliciesServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "AggregatedList", - Handler: _SslPolicies_AggregatedList_Handler, - }, - { - MethodName: "Delete", - Handler: _SslPolicies_Delete_Handler, - }, - { - MethodName: "Get", - Handler: _SslPolicies_Get_Handler, - }, - { - MethodName: "Insert", - Handler: _SslPolicies_Insert_Handler, - }, - { - MethodName: "List", - Handler: _SslPolicies_List_Handler, - }, - { - MethodName: "ListAvailableFeatures", - Handler: _SslPolicies_ListAvailableFeatures_Handler, - }, - { - MethodName: "Patch", - Handler: _SslPolicies_Patch_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} - -// StoragePoolTypesClient is the client API for StoragePoolTypes service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type StoragePoolTypesClient interface { - // Retrieves an aggregated list of storage pool types. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. - AggregatedList(ctx context.Context, in *AggregatedListStoragePoolTypesRequest, opts ...grpc.CallOption) (*StoragePoolTypeAggregatedList, error) - // Returns the specified storage pool type. - Get(ctx context.Context, in *GetStoragePoolTypeRequest, opts ...grpc.CallOption) (*StoragePoolType, error) - // Retrieves a list of storage pool types available to the specified project. - List(ctx context.Context, in *ListStoragePoolTypesRequest, opts ...grpc.CallOption) (*StoragePoolTypeList, error) -} - -type storagePoolTypesClient struct { - cc grpc.ClientConnInterface -} - -func NewStoragePoolTypesClient(cc grpc.ClientConnInterface) StoragePoolTypesClient { - return &storagePoolTypesClient{cc} -} - -func (c *storagePoolTypesClient) AggregatedList(ctx context.Context, in *AggregatedListStoragePoolTypesRequest, opts ...grpc.CallOption) (*StoragePoolTypeAggregatedList, error) { - out := new(StoragePoolTypeAggregatedList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.StoragePoolTypes/AggregatedList", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *storagePoolTypesClient) Get(ctx context.Context, in *GetStoragePoolTypeRequest, opts ...grpc.CallOption) (*StoragePoolType, error) { - out := new(StoragePoolType) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.StoragePoolTypes/Get", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *storagePoolTypesClient) List(ctx context.Context, in *ListStoragePoolTypesRequest, opts ...grpc.CallOption) (*StoragePoolTypeList, error) { - out := new(StoragePoolTypeList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.StoragePoolTypes/List", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// StoragePoolTypesServer is the server API for StoragePoolTypes service. -type StoragePoolTypesServer interface { - // Retrieves an aggregated list of storage pool types. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. - AggregatedList(context.Context, *AggregatedListStoragePoolTypesRequest) (*StoragePoolTypeAggregatedList, error) - // Returns the specified storage pool type. - Get(context.Context, *GetStoragePoolTypeRequest) (*StoragePoolType, error) - // Retrieves a list of storage pool types available to the specified project. - List(context.Context, *ListStoragePoolTypesRequest) (*StoragePoolTypeList, error) -} - -// UnimplementedStoragePoolTypesServer can be embedded to have forward compatible implementations. -type UnimplementedStoragePoolTypesServer struct { -} - -func (*UnimplementedStoragePoolTypesServer) AggregatedList(context.Context, *AggregatedListStoragePoolTypesRequest) (*StoragePoolTypeAggregatedList, error) { - return nil, status.Errorf(codes.Unimplemented, "method AggregatedList not implemented") -} -func (*UnimplementedStoragePoolTypesServer) Get(context.Context, *GetStoragePoolTypeRequest) (*StoragePoolType, error) { - return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") -} -func (*UnimplementedStoragePoolTypesServer) List(context.Context, *ListStoragePoolTypesRequest) (*StoragePoolTypeList, error) { - return nil, status.Errorf(codes.Unimplemented, "method List not implemented") -} - -func RegisterStoragePoolTypesServer(s *grpc.Server, srv StoragePoolTypesServer) { - s.RegisterService(&_StoragePoolTypes_serviceDesc, srv) -} - -func _StoragePoolTypes_AggregatedList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AggregatedListStoragePoolTypesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(StoragePoolTypesServer).AggregatedList(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.StoragePoolTypes/AggregatedList", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(StoragePoolTypesServer).AggregatedList(ctx, req.(*AggregatedListStoragePoolTypesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _StoragePoolTypes_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetStoragePoolTypeRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(StoragePoolTypesServer).Get(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.StoragePoolTypes/Get", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(StoragePoolTypesServer).Get(ctx, req.(*GetStoragePoolTypeRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _StoragePoolTypes_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListStoragePoolTypesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(StoragePoolTypesServer).List(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.StoragePoolTypes/List", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(StoragePoolTypesServer).List(ctx, req.(*ListStoragePoolTypesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _StoragePoolTypes_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.StoragePoolTypes", - HandlerType: (*StoragePoolTypesServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "AggregatedList", - Handler: _StoragePoolTypes_AggregatedList_Handler, - }, - { - MethodName: "Get", - Handler: _StoragePoolTypes_Get_Handler, - }, - { - MethodName: "List", - Handler: _StoragePoolTypes_List_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} - -// StoragePoolsClient is the client API for StoragePools service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type StoragePoolsClient interface { - // Retrieves an aggregated list of storage pools. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. - AggregatedList(ctx context.Context, in *AggregatedListStoragePoolsRequest, opts ...grpc.CallOption) (*StoragePoolAggregatedList, error) - // Deletes the specified storage pool. Deleting a storagePool removes its data permanently and is irreversible. However, deleting a storagePool does not delete any snapshots previously made from the storagePool. You must separately delete snapshots. - Delete(ctx context.Context, in *DeleteStoragePoolRequest, opts ...grpc.CallOption) (*Operation, error) - // Returns a specified storage pool. Gets a list of available storage pools by making a list() request. - Get(ctx context.Context, in *GetStoragePoolRequest, opts ...grpc.CallOption) (*StoragePool, error) - // Gets the access control policy for a resource. May be empty if no such policy or resource exists. - GetIamPolicy(ctx context.Context, in *GetIamPolicyStoragePoolRequest, opts ...grpc.CallOption) (*Policy, error) - // Creates a storage pool in the specified project using the data in the request. - Insert(ctx context.Context, in *InsertStoragePoolRequest, opts ...grpc.CallOption) (*Operation, error) - // Retrieves a list of storage pools contained within the specified zone. - List(ctx context.Context, in *ListStoragePoolsRequest, opts ...grpc.CallOption) (*StoragePoolList, error) - // Lists the disks in a specified storage pool. - ListDisks(ctx context.Context, in *ListDisksStoragePoolsRequest, opts ...grpc.CallOption) (*StoragePoolListDisks, error) - // Sets the access control policy on the specified resource. Replaces any existing policy. - SetIamPolicy(ctx context.Context, in *SetIamPolicyStoragePoolRequest, opts ...grpc.CallOption) (*Policy, error) - // Returns permissions that a caller has on the specified resource. - TestIamPermissions(ctx context.Context, in *TestIamPermissionsStoragePoolRequest, opts ...grpc.CallOption) (*TestPermissionsResponse, error) - // Updates the specified storagePool with the data included in the request. The update is performed only on selected fields included as part of update-mask. Only the following fields can be modified: size_tb and provisioned_iops. - Update(ctx context.Context, in *UpdateStoragePoolRequest, opts ...grpc.CallOption) (*Operation, error) -} - -type storagePoolsClient struct { - cc grpc.ClientConnInterface -} - -func NewStoragePoolsClient(cc grpc.ClientConnInterface) StoragePoolsClient { - return &storagePoolsClient{cc} -} - -func (c *storagePoolsClient) AggregatedList(ctx context.Context, in *AggregatedListStoragePoolsRequest, opts ...grpc.CallOption) (*StoragePoolAggregatedList, error) { - out := new(StoragePoolAggregatedList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.StoragePools/AggregatedList", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *storagePoolsClient) Delete(ctx context.Context, in *DeleteStoragePoolRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.StoragePools/Delete", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *storagePoolsClient) Get(ctx context.Context, in *GetStoragePoolRequest, opts ...grpc.CallOption) (*StoragePool, error) { - out := new(StoragePool) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.StoragePools/Get", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *storagePoolsClient) GetIamPolicy(ctx context.Context, in *GetIamPolicyStoragePoolRequest, opts ...grpc.CallOption) (*Policy, error) { - out := new(Policy) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.StoragePools/GetIamPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *storagePoolsClient) Insert(ctx context.Context, in *InsertStoragePoolRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.StoragePools/Insert", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *storagePoolsClient) List(ctx context.Context, in *ListStoragePoolsRequest, opts ...grpc.CallOption) (*StoragePoolList, error) { - out := new(StoragePoolList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.StoragePools/List", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *storagePoolsClient) ListDisks(ctx context.Context, in *ListDisksStoragePoolsRequest, opts ...grpc.CallOption) (*StoragePoolListDisks, error) { - out := new(StoragePoolListDisks) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.StoragePools/ListDisks", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *storagePoolsClient) SetIamPolicy(ctx context.Context, in *SetIamPolicyStoragePoolRequest, opts ...grpc.CallOption) (*Policy, error) { - out := new(Policy) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.StoragePools/SetIamPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *storagePoolsClient) TestIamPermissions(ctx context.Context, in *TestIamPermissionsStoragePoolRequest, opts ...grpc.CallOption) (*TestPermissionsResponse, error) { - out := new(TestPermissionsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.StoragePools/TestIamPermissions", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *storagePoolsClient) Update(ctx context.Context, in *UpdateStoragePoolRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.StoragePools/Update", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// StoragePoolsServer is the server API for StoragePools service. -type StoragePoolsServer interface { - // Retrieves an aggregated list of storage pools. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. - AggregatedList(context.Context, *AggregatedListStoragePoolsRequest) (*StoragePoolAggregatedList, error) - // Deletes the specified storage pool. Deleting a storagePool removes its data permanently and is irreversible. However, deleting a storagePool does not delete any snapshots previously made from the storagePool. You must separately delete snapshots. - Delete(context.Context, *DeleteStoragePoolRequest) (*Operation, error) - // Returns a specified storage pool. Gets a list of available storage pools by making a list() request. - Get(context.Context, *GetStoragePoolRequest) (*StoragePool, error) - // Gets the access control policy for a resource. May be empty if no such policy or resource exists. - GetIamPolicy(context.Context, *GetIamPolicyStoragePoolRequest) (*Policy, error) - // Creates a storage pool in the specified project using the data in the request. - Insert(context.Context, *InsertStoragePoolRequest) (*Operation, error) - // Retrieves a list of storage pools contained within the specified zone. - List(context.Context, *ListStoragePoolsRequest) (*StoragePoolList, error) - // Lists the disks in a specified storage pool. - ListDisks(context.Context, *ListDisksStoragePoolsRequest) (*StoragePoolListDisks, error) - // Sets the access control policy on the specified resource. Replaces any existing policy. - SetIamPolicy(context.Context, *SetIamPolicyStoragePoolRequest) (*Policy, error) - // Returns permissions that a caller has on the specified resource. - TestIamPermissions(context.Context, *TestIamPermissionsStoragePoolRequest) (*TestPermissionsResponse, error) - // Updates the specified storagePool with the data included in the request. The update is performed only on selected fields included as part of update-mask. Only the following fields can be modified: size_tb and provisioned_iops. - Update(context.Context, *UpdateStoragePoolRequest) (*Operation, error) -} - -// UnimplementedStoragePoolsServer can be embedded to have forward compatible implementations. -type UnimplementedStoragePoolsServer struct { -} - -func (*UnimplementedStoragePoolsServer) AggregatedList(context.Context, *AggregatedListStoragePoolsRequest) (*StoragePoolAggregatedList, error) { - return nil, status.Errorf(codes.Unimplemented, "method AggregatedList not implemented") -} -func (*UnimplementedStoragePoolsServer) Delete(context.Context, *DeleteStoragePoolRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") -} -func (*UnimplementedStoragePoolsServer) Get(context.Context, *GetStoragePoolRequest) (*StoragePool, error) { - return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") -} -func (*UnimplementedStoragePoolsServer) GetIamPolicy(context.Context, *GetIamPolicyStoragePoolRequest) (*Policy, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetIamPolicy not implemented") -} -func (*UnimplementedStoragePoolsServer) Insert(context.Context, *InsertStoragePoolRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Insert not implemented") -} -func (*UnimplementedStoragePoolsServer) List(context.Context, *ListStoragePoolsRequest) (*StoragePoolList, error) { - return nil, status.Errorf(codes.Unimplemented, "method List not implemented") -} -func (*UnimplementedStoragePoolsServer) ListDisks(context.Context, *ListDisksStoragePoolsRequest) (*StoragePoolListDisks, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListDisks not implemented") -} -func (*UnimplementedStoragePoolsServer) SetIamPolicy(context.Context, *SetIamPolicyStoragePoolRequest) (*Policy, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetIamPolicy not implemented") -} -func (*UnimplementedStoragePoolsServer) TestIamPermissions(context.Context, *TestIamPermissionsStoragePoolRequest) (*TestPermissionsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method TestIamPermissions not implemented") -} -func (*UnimplementedStoragePoolsServer) Update(context.Context, *UpdateStoragePoolRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Update not implemented") -} - -func RegisterStoragePoolsServer(s *grpc.Server, srv StoragePoolsServer) { - s.RegisterService(&_StoragePools_serviceDesc, srv) -} - -func _StoragePools_AggregatedList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AggregatedListStoragePoolsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(StoragePoolsServer).AggregatedList(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.StoragePools/AggregatedList", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(StoragePoolsServer).AggregatedList(ctx, req.(*AggregatedListStoragePoolsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _StoragePools_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteStoragePoolRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(StoragePoolsServer).Delete(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.StoragePools/Delete", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(StoragePoolsServer).Delete(ctx, req.(*DeleteStoragePoolRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _StoragePools_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetStoragePoolRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(StoragePoolsServer).Get(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.StoragePools/Get", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(StoragePoolsServer).Get(ctx, req.(*GetStoragePoolRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _StoragePools_GetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetIamPolicyStoragePoolRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(StoragePoolsServer).GetIamPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.StoragePools/GetIamPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(StoragePoolsServer).GetIamPolicy(ctx, req.(*GetIamPolicyStoragePoolRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _StoragePools_Insert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(InsertStoragePoolRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(StoragePoolsServer).Insert(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.StoragePools/Insert", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(StoragePoolsServer).Insert(ctx, req.(*InsertStoragePoolRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _StoragePools_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListStoragePoolsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(StoragePoolsServer).List(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.StoragePools/List", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(StoragePoolsServer).List(ctx, req.(*ListStoragePoolsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _StoragePools_ListDisks_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListDisksStoragePoolsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(StoragePoolsServer).ListDisks(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.StoragePools/ListDisks", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(StoragePoolsServer).ListDisks(ctx, req.(*ListDisksStoragePoolsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _StoragePools_SetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetIamPolicyStoragePoolRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(StoragePoolsServer).SetIamPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.StoragePools/SetIamPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(StoragePoolsServer).SetIamPolicy(ctx, req.(*SetIamPolicyStoragePoolRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _StoragePools_TestIamPermissions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(TestIamPermissionsStoragePoolRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(StoragePoolsServer).TestIamPermissions(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.StoragePools/TestIamPermissions", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(StoragePoolsServer).TestIamPermissions(ctx, req.(*TestIamPermissionsStoragePoolRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _StoragePools_Update_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateStoragePoolRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(StoragePoolsServer).Update(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.StoragePools/Update", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(StoragePoolsServer).Update(ctx, req.(*UpdateStoragePoolRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _StoragePools_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.StoragePools", - HandlerType: (*StoragePoolsServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "AggregatedList", - Handler: _StoragePools_AggregatedList_Handler, - }, - { - MethodName: "Delete", - Handler: _StoragePools_Delete_Handler, - }, - { - MethodName: "Get", - Handler: _StoragePools_Get_Handler, - }, - { - MethodName: "GetIamPolicy", - Handler: _StoragePools_GetIamPolicy_Handler, - }, - { - MethodName: "Insert", - Handler: _StoragePools_Insert_Handler, - }, - { - MethodName: "List", - Handler: _StoragePools_List_Handler, - }, - { - MethodName: "ListDisks", - Handler: _StoragePools_ListDisks_Handler, - }, - { - MethodName: "SetIamPolicy", - Handler: _StoragePools_SetIamPolicy_Handler, - }, - { - MethodName: "TestIamPermissions", - Handler: _StoragePools_TestIamPermissions_Handler, - }, - { - MethodName: "Update", - Handler: _StoragePools_Update_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} - -// SubnetworksClient is the client API for Subnetworks service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type SubnetworksClient interface { - // Retrieves an aggregated list of subnetworks. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. - AggregatedList(ctx context.Context, in *AggregatedListSubnetworksRequest, opts ...grpc.CallOption) (*SubnetworkAggregatedList, error) - // Deletes the specified subnetwork. - Delete(ctx context.Context, in *DeleteSubnetworkRequest, opts ...grpc.CallOption) (*Operation, error) - // Expands the IP CIDR range of the subnetwork to a specified value. - ExpandIpCidrRange(ctx context.Context, in *ExpandIpCidrRangeSubnetworkRequest, opts ...grpc.CallOption) (*Operation, error) - // Returns the specified subnetwork. - Get(ctx context.Context, in *GetSubnetworkRequest, opts ...grpc.CallOption) (*Subnetwork, error) - // Gets the access control policy for a resource. May be empty if no such policy or resource exists. - GetIamPolicy(ctx context.Context, in *GetIamPolicySubnetworkRequest, opts ...grpc.CallOption) (*Policy, error) - // Creates a subnetwork in the specified project using the data included in the request. - Insert(ctx context.Context, in *InsertSubnetworkRequest, opts ...grpc.CallOption) (*Operation, error) - // Retrieves a list of subnetworks available to the specified project. - List(ctx context.Context, in *ListSubnetworksRequest, opts ...grpc.CallOption) (*SubnetworkList, error) - // Retrieves an aggregated list of all usable subnetworks in the project. - ListUsable(ctx context.Context, in *ListUsableSubnetworksRequest, opts ...grpc.CallOption) (*UsableSubnetworksAggregatedList, error) - // Patches the specified subnetwork with the data included in the request. Only certain fields can be updated with a patch request as indicated in the field descriptions. You must specify the current fingerprint of the subnetwork resource being patched. - Patch(ctx context.Context, in *PatchSubnetworkRequest, opts ...grpc.CallOption) (*Operation, error) - // Sets the access control policy on the specified resource. Replaces any existing policy. - SetIamPolicy(ctx context.Context, in *SetIamPolicySubnetworkRequest, opts ...grpc.CallOption) (*Policy, error) - // Set whether VMs in this subnet can access Google services without assigning external IP addresses through Private Google Access. - SetPrivateIpGoogleAccess(ctx context.Context, in *SetPrivateIpGoogleAccessSubnetworkRequest, opts ...grpc.CallOption) (*Operation, error) - // Returns permissions that a caller has on the specified resource. - TestIamPermissions(ctx context.Context, in *TestIamPermissionsSubnetworkRequest, opts ...grpc.CallOption) (*TestPermissionsResponse, error) -} - -type subnetworksClient struct { - cc grpc.ClientConnInterface -} - -func NewSubnetworksClient(cc grpc.ClientConnInterface) SubnetworksClient { - return &subnetworksClient{cc} -} - -func (c *subnetworksClient) AggregatedList(ctx context.Context, in *AggregatedListSubnetworksRequest, opts ...grpc.CallOption) (*SubnetworkAggregatedList, error) { - out := new(SubnetworkAggregatedList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Subnetworks/AggregatedList", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *subnetworksClient) Delete(ctx context.Context, in *DeleteSubnetworkRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Subnetworks/Delete", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *subnetworksClient) ExpandIpCidrRange(ctx context.Context, in *ExpandIpCidrRangeSubnetworkRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Subnetworks/ExpandIpCidrRange", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *subnetworksClient) Get(ctx context.Context, in *GetSubnetworkRequest, opts ...grpc.CallOption) (*Subnetwork, error) { - out := new(Subnetwork) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Subnetworks/Get", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *subnetworksClient) GetIamPolicy(ctx context.Context, in *GetIamPolicySubnetworkRequest, opts ...grpc.CallOption) (*Policy, error) { - out := new(Policy) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Subnetworks/GetIamPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *subnetworksClient) Insert(ctx context.Context, in *InsertSubnetworkRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Subnetworks/Insert", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *subnetworksClient) List(ctx context.Context, in *ListSubnetworksRequest, opts ...grpc.CallOption) (*SubnetworkList, error) { - out := new(SubnetworkList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Subnetworks/List", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *subnetworksClient) ListUsable(ctx context.Context, in *ListUsableSubnetworksRequest, opts ...grpc.CallOption) (*UsableSubnetworksAggregatedList, error) { - out := new(UsableSubnetworksAggregatedList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Subnetworks/ListUsable", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *subnetworksClient) Patch(ctx context.Context, in *PatchSubnetworkRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Subnetworks/Patch", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *subnetworksClient) SetIamPolicy(ctx context.Context, in *SetIamPolicySubnetworkRequest, opts ...grpc.CallOption) (*Policy, error) { - out := new(Policy) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Subnetworks/SetIamPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *subnetworksClient) SetPrivateIpGoogleAccess(ctx context.Context, in *SetPrivateIpGoogleAccessSubnetworkRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Subnetworks/SetPrivateIpGoogleAccess", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *subnetworksClient) TestIamPermissions(ctx context.Context, in *TestIamPermissionsSubnetworkRequest, opts ...grpc.CallOption) (*TestPermissionsResponse, error) { - out := new(TestPermissionsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Subnetworks/TestIamPermissions", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// SubnetworksServer is the server API for Subnetworks service. -type SubnetworksServer interface { - // Retrieves an aggregated list of subnetworks. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. - AggregatedList(context.Context, *AggregatedListSubnetworksRequest) (*SubnetworkAggregatedList, error) - // Deletes the specified subnetwork. - Delete(context.Context, *DeleteSubnetworkRequest) (*Operation, error) - // Expands the IP CIDR range of the subnetwork to a specified value. - ExpandIpCidrRange(context.Context, *ExpandIpCidrRangeSubnetworkRequest) (*Operation, error) - // Returns the specified subnetwork. - Get(context.Context, *GetSubnetworkRequest) (*Subnetwork, error) - // Gets the access control policy for a resource. May be empty if no such policy or resource exists. - GetIamPolicy(context.Context, *GetIamPolicySubnetworkRequest) (*Policy, error) - // Creates a subnetwork in the specified project using the data included in the request. - Insert(context.Context, *InsertSubnetworkRequest) (*Operation, error) - // Retrieves a list of subnetworks available to the specified project. - List(context.Context, *ListSubnetworksRequest) (*SubnetworkList, error) - // Retrieves an aggregated list of all usable subnetworks in the project. - ListUsable(context.Context, *ListUsableSubnetworksRequest) (*UsableSubnetworksAggregatedList, error) - // Patches the specified subnetwork with the data included in the request. Only certain fields can be updated with a patch request as indicated in the field descriptions. You must specify the current fingerprint of the subnetwork resource being patched. - Patch(context.Context, *PatchSubnetworkRequest) (*Operation, error) - // Sets the access control policy on the specified resource. Replaces any existing policy. - SetIamPolicy(context.Context, *SetIamPolicySubnetworkRequest) (*Policy, error) - // Set whether VMs in this subnet can access Google services without assigning external IP addresses through Private Google Access. - SetPrivateIpGoogleAccess(context.Context, *SetPrivateIpGoogleAccessSubnetworkRequest) (*Operation, error) - // Returns permissions that a caller has on the specified resource. - TestIamPermissions(context.Context, *TestIamPermissionsSubnetworkRequest) (*TestPermissionsResponse, error) -} - -// UnimplementedSubnetworksServer can be embedded to have forward compatible implementations. -type UnimplementedSubnetworksServer struct { -} - -func (*UnimplementedSubnetworksServer) AggregatedList(context.Context, *AggregatedListSubnetworksRequest) (*SubnetworkAggregatedList, error) { - return nil, status.Errorf(codes.Unimplemented, "method AggregatedList not implemented") -} -func (*UnimplementedSubnetworksServer) Delete(context.Context, *DeleteSubnetworkRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") -} -func (*UnimplementedSubnetworksServer) ExpandIpCidrRange(context.Context, *ExpandIpCidrRangeSubnetworkRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method ExpandIpCidrRange not implemented") -} -func (*UnimplementedSubnetworksServer) Get(context.Context, *GetSubnetworkRequest) (*Subnetwork, error) { - return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") -} -func (*UnimplementedSubnetworksServer) GetIamPolicy(context.Context, *GetIamPolicySubnetworkRequest) (*Policy, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetIamPolicy not implemented") -} -func (*UnimplementedSubnetworksServer) Insert(context.Context, *InsertSubnetworkRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Insert not implemented") -} -func (*UnimplementedSubnetworksServer) List(context.Context, *ListSubnetworksRequest) (*SubnetworkList, error) { - return nil, status.Errorf(codes.Unimplemented, "method List not implemented") -} -func (*UnimplementedSubnetworksServer) ListUsable(context.Context, *ListUsableSubnetworksRequest) (*UsableSubnetworksAggregatedList, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListUsable not implemented") -} -func (*UnimplementedSubnetworksServer) Patch(context.Context, *PatchSubnetworkRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Patch not implemented") -} -func (*UnimplementedSubnetworksServer) SetIamPolicy(context.Context, *SetIamPolicySubnetworkRequest) (*Policy, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetIamPolicy not implemented") -} -func (*UnimplementedSubnetworksServer) SetPrivateIpGoogleAccess(context.Context, *SetPrivateIpGoogleAccessSubnetworkRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetPrivateIpGoogleAccess not implemented") -} -func (*UnimplementedSubnetworksServer) TestIamPermissions(context.Context, *TestIamPermissionsSubnetworkRequest) (*TestPermissionsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method TestIamPermissions not implemented") -} - -func RegisterSubnetworksServer(s *grpc.Server, srv SubnetworksServer) { - s.RegisterService(&_Subnetworks_serviceDesc, srv) -} - -func _Subnetworks_AggregatedList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AggregatedListSubnetworksRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SubnetworksServer).AggregatedList(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Subnetworks/AggregatedList", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SubnetworksServer).AggregatedList(ctx, req.(*AggregatedListSubnetworksRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Subnetworks_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteSubnetworkRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SubnetworksServer).Delete(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Subnetworks/Delete", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SubnetworksServer).Delete(ctx, req.(*DeleteSubnetworkRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Subnetworks_ExpandIpCidrRange_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ExpandIpCidrRangeSubnetworkRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SubnetworksServer).ExpandIpCidrRange(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Subnetworks/ExpandIpCidrRange", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SubnetworksServer).ExpandIpCidrRange(ctx, req.(*ExpandIpCidrRangeSubnetworkRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Subnetworks_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetSubnetworkRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SubnetworksServer).Get(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Subnetworks/Get", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SubnetworksServer).Get(ctx, req.(*GetSubnetworkRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Subnetworks_GetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetIamPolicySubnetworkRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SubnetworksServer).GetIamPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Subnetworks/GetIamPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SubnetworksServer).GetIamPolicy(ctx, req.(*GetIamPolicySubnetworkRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Subnetworks_Insert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(InsertSubnetworkRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SubnetworksServer).Insert(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Subnetworks/Insert", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SubnetworksServer).Insert(ctx, req.(*InsertSubnetworkRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Subnetworks_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListSubnetworksRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SubnetworksServer).List(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Subnetworks/List", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SubnetworksServer).List(ctx, req.(*ListSubnetworksRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Subnetworks_ListUsable_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListUsableSubnetworksRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SubnetworksServer).ListUsable(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Subnetworks/ListUsable", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SubnetworksServer).ListUsable(ctx, req.(*ListUsableSubnetworksRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Subnetworks_Patch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PatchSubnetworkRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SubnetworksServer).Patch(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Subnetworks/Patch", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SubnetworksServer).Patch(ctx, req.(*PatchSubnetworkRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Subnetworks_SetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetIamPolicySubnetworkRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SubnetworksServer).SetIamPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Subnetworks/SetIamPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SubnetworksServer).SetIamPolicy(ctx, req.(*SetIamPolicySubnetworkRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Subnetworks_SetPrivateIpGoogleAccess_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetPrivateIpGoogleAccessSubnetworkRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SubnetworksServer).SetPrivateIpGoogleAccess(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Subnetworks/SetPrivateIpGoogleAccess", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SubnetworksServer).SetPrivateIpGoogleAccess(ctx, req.(*SetPrivateIpGoogleAccessSubnetworkRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Subnetworks_TestIamPermissions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(TestIamPermissionsSubnetworkRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SubnetworksServer).TestIamPermissions(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Subnetworks/TestIamPermissions", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SubnetworksServer).TestIamPermissions(ctx, req.(*TestIamPermissionsSubnetworkRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _Subnetworks_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.Subnetworks", - HandlerType: (*SubnetworksServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "AggregatedList", - Handler: _Subnetworks_AggregatedList_Handler, - }, - { - MethodName: "Delete", - Handler: _Subnetworks_Delete_Handler, - }, - { - MethodName: "ExpandIpCidrRange", - Handler: _Subnetworks_ExpandIpCidrRange_Handler, - }, - { - MethodName: "Get", - Handler: _Subnetworks_Get_Handler, - }, - { - MethodName: "GetIamPolicy", - Handler: _Subnetworks_GetIamPolicy_Handler, - }, - { - MethodName: "Insert", - Handler: _Subnetworks_Insert_Handler, - }, - { - MethodName: "List", - Handler: _Subnetworks_List_Handler, - }, - { - MethodName: "ListUsable", - Handler: _Subnetworks_ListUsable_Handler, - }, - { - MethodName: "Patch", - Handler: _Subnetworks_Patch_Handler, - }, - { - MethodName: "SetIamPolicy", - Handler: _Subnetworks_SetIamPolicy_Handler, - }, - { - MethodName: "SetPrivateIpGoogleAccess", - Handler: _Subnetworks_SetPrivateIpGoogleAccess_Handler, - }, - { - MethodName: "TestIamPermissions", - Handler: _Subnetworks_TestIamPermissions_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} - -// TargetGrpcProxiesClient is the client API for TargetGrpcProxies service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type TargetGrpcProxiesClient interface { - // Deletes the specified TargetGrpcProxy in the given scope - Delete(ctx context.Context, in *DeleteTargetGrpcProxyRequest, opts ...grpc.CallOption) (*Operation, error) - // Returns the specified TargetGrpcProxy resource in the given scope. - Get(ctx context.Context, in *GetTargetGrpcProxyRequest, opts ...grpc.CallOption) (*TargetGrpcProxy, error) - // Creates a TargetGrpcProxy in the specified project in the given scope using the parameters that are included in the request. - Insert(ctx context.Context, in *InsertTargetGrpcProxyRequest, opts ...grpc.CallOption) (*Operation, error) - // Lists the TargetGrpcProxies for a project in the given scope. - List(ctx context.Context, in *ListTargetGrpcProxiesRequest, opts ...grpc.CallOption) (*TargetGrpcProxyList, error) - // Patches the specified TargetGrpcProxy resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules. - Patch(ctx context.Context, in *PatchTargetGrpcProxyRequest, opts ...grpc.CallOption) (*Operation, error) -} - -type targetGrpcProxiesClient struct { - cc grpc.ClientConnInterface -} - -func NewTargetGrpcProxiesClient(cc grpc.ClientConnInterface) TargetGrpcProxiesClient { - return &targetGrpcProxiesClient{cc} -} - -func (c *targetGrpcProxiesClient) Delete(ctx context.Context, in *DeleteTargetGrpcProxyRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.TargetGrpcProxies/Delete", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *targetGrpcProxiesClient) Get(ctx context.Context, in *GetTargetGrpcProxyRequest, opts ...grpc.CallOption) (*TargetGrpcProxy, error) { - out := new(TargetGrpcProxy) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.TargetGrpcProxies/Get", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *targetGrpcProxiesClient) Insert(ctx context.Context, in *InsertTargetGrpcProxyRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.TargetGrpcProxies/Insert", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *targetGrpcProxiesClient) List(ctx context.Context, in *ListTargetGrpcProxiesRequest, opts ...grpc.CallOption) (*TargetGrpcProxyList, error) { - out := new(TargetGrpcProxyList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.TargetGrpcProxies/List", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *targetGrpcProxiesClient) Patch(ctx context.Context, in *PatchTargetGrpcProxyRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.TargetGrpcProxies/Patch", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// TargetGrpcProxiesServer is the server API for TargetGrpcProxies service. -type TargetGrpcProxiesServer interface { - // Deletes the specified TargetGrpcProxy in the given scope - Delete(context.Context, *DeleteTargetGrpcProxyRequest) (*Operation, error) - // Returns the specified TargetGrpcProxy resource in the given scope. - Get(context.Context, *GetTargetGrpcProxyRequest) (*TargetGrpcProxy, error) - // Creates a TargetGrpcProxy in the specified project in the given scope using the parameters that are included in the request. - Insert(context.Context, *InsertTargetGrpcProxyRequest) (*Operation, error) - // Lists the TargetGrpcProxies for a project in the given scope. - List(context.Context, *ListTargetGrpcProxiesRequest) (*TargetGrpcProxyList, error) - // Patches the specified TargetGrpcProxy resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules. - Patch(context.Context, *PatchTargetGrpcProxyRequest) (*Operation, error) -} - -// UnimplementedTargetGrpcProxiesServer can be embedded to have forward compatible implementations. -type UnimplementedTargetGrpcProxiesServer struct { -} - -func (*UnimplementedTargetGrpcProxiesServer) Delete(context.Context, *DeleteTargetGrpcProxyRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") -} -func (*UnimplementedTargetGrpcProxiesServer) Get(context.Context, *GetTargetGrpcProxyRequest) (*TargetGrpcProxy, error) { - return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") -} -func (*UnimplementedTargetGrpcProxiesServer) Insert(context.Context, *InsertTargetGrpcProxyRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Insert not implemented") -} -func (*UnimplementedTargetGrpcProxiesServer) List(context.Context, *ListTargetGrpcProxiesRequest) (*TargetGrpcProxyList, error) { - return nil, status.Errorf(codes.Unimplemented, "method List not implemented") -} -func (*UnimplementedTargetGrpcProxiesServer) Patch(context.Context, *PatchTargetGrpcProxyRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Patch not implemented") -} - -func RegisterTargetGrpcProxiesServer(s *grpc.Server, srv TargetGrpcProxiesServer) { - s.RegisterService(&_TargetGrpcProxies_serviceDesc, srv) -} - -func _TargetGrpcProxies_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteTargetGrpcProxyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TargetGrpcProxiesServer).Delete(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.TargetGrpcProxies/Delete", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TargetGrpcProxiesServer).Delete(ctx, req.(*DeleteTargetGrpcProxyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _TargetGrpcProxies_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetTargetGrpcProxyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TargetGrpcProxiesServer).Get(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.TargetGrpcProxies/Get", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TargetGrpcProxiesServer).Get(ctx, req.(*GetTargetGrpcProxyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _TargetGrpcProxies_Insert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(InsertTargetGrpcProxyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TargetGrpcProxiesServer).Insert(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.TargetGrpcProxies/Insert", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TargetGrpcProxiesServer).Insert(ctx, req.(*InsertTargetGrpcProxyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _TargetGrpcProxies_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListTargetGrpcProxiesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TargetGrpcProxiesServer).List(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.TargetGrpcProxies/List", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TargetGrpcProxiesServer).List(ctx, req.(*ListTargetGrpcProxiesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _TargetGrpcProxies_Patch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PatchTargetGrpcProxyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TargetGrpcProxiesServer).Patch(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.TargetGrpcProxies/Patch", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TargetGrpcProxiesServer).Patch(ctx, req.(*PatchTargetGrpcProxyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _TargetGrpcProxies_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.TargetGrpcProxies", - HandlerType: (*TargetGrpcProxiesServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "Delete", - Handler: _TargetGrpcProxies_Delete_Handler, - }, - { - MethodName: "Get", - Handler: _TargetGrpcProxies_Get_Handler, - }, - { - MethodName: "Insert", - Handler: _TargetGrpcProxies_Insert_Handler, - }, - { - MethodName: "List", - Handler: _TargetGrpcProxies_List_Handler, - }, - { - MethodName: "Patch", - Handler: _TargetGrpcProxies_Patch_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} - -// TargetHttpProxiesClient is the client API for TargetHttpProxies service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type TargetHttpProxiesClient interface { - // Retrieves the list of all TargetHttpProxy resources, regional and global, available to the specified project. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. - AggregatedList(ctx context.Context, in *AggregatedListTargetHttpProxiesRequest, opts ...grpc.CallOption) (*TargetHttpProxyAggregatedList, error) - // Deletes the specified TargetHttpProxy resource. - Delete(ctx context.Context, in *DeleteTargetHttpProxyRequest, opts ...grpc.CallOption) (*Operation, error) - // Returns the specified TargetHttpProxy resource. - Get(ctx context.Context, in *GetTargetHttpProxyRequest, opts ...grpc.CallOption) (*TargetHttpProxy, error) - // Creates a TargetHttpProxy resource in the specified project using the data included in the request. - Insert(ctx context.Context, in *InsertTargetHttpProxyRequest, opts ...grpc.CallOption) (*Operation, error) - // Retrieves the list of TargetHttpProxy resources available to the specified project. - List(ctx context.Context, in *ListTargetHttpProxiesRequest, opts ...grpc.CallOption) (*TargetHttpProxyList, error) - // Patches the specified TargetHttpProxy resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules. - Patch(ctx context.Context, in *PatchTargetHttpProxyRequest, opts ...grpc.CallOption) (*Operation, error) - // Changes the URL map for TargetHttpProxy. - SetUrlMap(ctx context.Context, in *SetUrlMapTargetHttpProxyRequest, opts ...grpc.CallOption) (*Operation, error) -} - -type targetHttpProxiesClient struct { - cc grpc.ClientConnInterface -} - -func NewTargetHttpProxiesClient(cc grpc.ClientConnInterface) TargetHttpProxiesClient { - return &targetHttpProxiesClient{cc} -} - -func (c *targetHttpProxiesClient) AggregatedList(ctx context.Context, in *AggregatedListTargetHttpProxiesRequest, opts ...grpc.CallOption) (*TargetHttpProxyAggregatedList, error) { - out := new(TargetHttpProxyAggregatedList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.TargetHttpProxies/AggregatedList", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *targetHttpProxiesClient) Delete(ctx context.Context, in *DeleteTargetHttpProxyRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.TargetHttpProxies/Delete", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *targetHttpProxiesClient) Get(ctx context.Context, in *GetTargetHttpProxyRequest, opts ...grpc.CallOption) (*TargetHttpProxy, error) { - out := new(TargetHttpProxy) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.TargetHttpProxies/Get", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *targetHttpProxiesClient) Insert(ctx context.Context, in *InsertTargetHttpProxyRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.TargetHttpProxies/Insert", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *targetHttpProxiesClient) List(ctx context.Context, in *ListTargetHttpProxiesRequest, opts ...grpc.CallOption) (*TargetHttpProxyList, error) { - out := new(TargetHttpProxyList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.TargetHttpProxies/List", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *targetHttpProxiesClient) Patch(ctx context.Context, in *PatchTargetHttpProxyRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.TargetHttpProxies/Patch", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *targetHttpProxiesClient) SetUrlMap(ctx context.Context, in *SetUrlMapTargetHttpProxyRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.TargetHttpProxies/SetUrlMap", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// TargetHttpProxiesServer is the server API for TargetHttpProxies service. -type TargetHttpProxiesServer interface { - // Retrieves the list of all TargetHttpProxy resources, regional and global, available to the specified project. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. - AggregatedList(context.Context, *AggregatedListTargetHttpProxiesRequest) (*TargetHttpProxyAggregatedList, error) - // Deletes the specified TargetHttpProxy resource. - Delete(context.Context, *DeleteTargetHttpProxyRequest) (*Operation, error) - // Returns the specified TargetHttpProxy resource. - Get(context.Context, *GetTargetHttpProxyRequest) (*TargetHttpProxy, error) - // Creates a TargetHttpProxy resource in the specified project using the data included in the request. - Insert(context.Context, *InsertTargetHttpProxyRequest) (*Operation, error) - // Retrieves the list of TargetHttpProxy resources available to the specified project. - List(context.Context, *ListTargetHttpProxiesRequest) (*TargetHttpProxyList, error) - // Patches the specified TargetHttpProxy resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules. - Patch(context.Context, *PatchTargetHttpProxyRequest) (*Operation, error) - // Changes the URL map for TargetHttpProxy. - SetUrlMap(context.Context, *SetUrlMapTargetHttpProxyRequest) (*Operation, error) -} - -// UnimplementedTargetHttpProxiesServer can be embedded to have forward compatible implementations. -type UnimplementedTargetHttpProxiesServer struct { -} - -func (*UnimplementedTargetHttpProxiesServer) AggregatedList(context.Context, *AggregatedListTargetHttpProxiesRequest) (*TargetHttpProxyAggregatedList, error) { - return nil, status.Errorf(codes.Unimplemented, "method AggregatedList not implemented") -} -func (*UnimplementedTargetHttpProxiesServer) Delete(context.Context, *DeleteTargetHttpProxyRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") -} -func (*UnimplementedTargetHttpProxiesServer) Get(context.Context, *GetTargetHttpProxyRequest) (*TargetHttpProxy, error) { - return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") -} -func (*UnimplementedTargetHttpProxiesServer) Insert(context.Context, *InsertTargetHttpProxyRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Insert not implemented") -} -func (*UnimplementedTargetHttpProxiesServer) List(context.Context, *ListTargetHttpProxiesRequest) (*TargetHttpProxyList, error) { - return nil, status.Errorf(codes.Unimplemented, "method List not implemented") -} -func (*UnimplementedTargetHttpProxiesServer) Patch(context.Context, *PatchTargetHttpProxyRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Patch not implemented") -} -func (*UnimplementedTargetHttpProxiesServer) SetUrlMap(context.Context, *SetUrlMapTargetHttpProxyRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetUrlMap not implemented") -} - -func RegisterTargetHttpProxiesServer(s *grpc.Server, srv TargetHttpProxiesServer) { - s.RegisterService(&_TargetHttpProxies_serviceDesc, srv) -} - -func _TargetHttpProxies_AggregatedList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AggregatedListTargetHttpProxiesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TargetHttpProxiesServer).AggregatedList(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.TargetHttpProxies/AggregatedList", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TargetHttpProxiesServer).AggregatedList(ctx, req.(*AggregatedListTargetHttpProxiesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _TargetHttpProxies_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteTargetHttpProxyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TargetHttpProxiesServer).Delete(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.TargetHttpProxies/Delete", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TargetHttpProxiesServer).Delete(ctx, req.(*DeleteTargetHttpProxyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _TargetHttpProxies_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetTargetHttpProxyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TargetHttpProxiesServer).Get(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.TargetHttpProxies/Get", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TargetHttpProxiesServer).Get(ctx, req.(*GetTargetHttpProxyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _TargetHttpProxies_Insert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(InsertTargetHttpProxyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TargetHttpProxiesServer).Insert(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.TargetHttpProxies/Insert", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TargetHttpProxiesServer).Insert(ctx, req.(*InsertTargetHttpProxyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _TargetHttpProxies_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListTargetHttpProxiesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TargetHttpProxiesServer).List(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.TargetHttpProxies/List", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TargetHttpProxiesServer).List(ctx, req.(*ListTargetHttpProxiesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _TargetHttpProxies_Patch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PatchTargetHttpProxyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TargetHttpProxiesServer).Patch(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.TargetHttpProxies/Patch", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TargetHttpProxiesServer).Patch(ctx, req.(*PatchTargetHttpProxyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _TargetHttpProxies_SetUrlMap_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetUrlMapTargetHttpProxyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TargetHttpProxiesServer).SetUrlMap(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.TargetHttpProxies/SetUrlMap", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TargetHttpProxiesServer).SetUrlMap(ctx, req.(*SetUrlMapTargetHttpProxyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _TargetHttpProxies_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.TargetHttpProxies", - HandlerType: (*TargetHttpProxiesServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "AggregatedList", - Handler: _TargetHttpProxies_AggregatedList_Handler, - }, - { - MethodName: "Delete", - Handler: _TargetHttpProxies_Delete_Handler, - }, - { - MethodName: "Get", - Handler: _TargetHttpProxies_Get_Handler, - }, - { - MethodName: "Insert", - Handler: _TargetHttpProxies_Insert_Handler, - }, - { - MethodName: "List", - Handler: _TargetHttpProxies_List_Handler, - }, - { - MethodName: "Patch", - Handler: _TargetHttpProxies_Patch_Handler, - }, - { - MethodName: "SetUrlMap", - Handler: _TargetHttpProxies_SetUrlMap_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} - -// TargetHttpsProxiesClient is the client API for TargetHttpsProxies service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type TargetHttpsProxiesClient interface { - // Retrieves the list of all TargetHttpsProxy resources, regional and global, available to the specified project. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. - AggregatedList(ctx context.Context, in *AggregatedListTargetHttpsProxiesRequest, opts ...grpc.CallOption) (*TargetHttpsProxyAggregatedList, error) - // Deletes the specified TargetHttpsProxy resource. - Delete(ctx context.Context, in *DeleteTargetHttpsProxyRequest, opts ...grpc.CallOption) (*Operation, error) - // Returns the specified TargetHttpsProxy resource. - Get(ctx context.Context, in *GetTargetHttpsProxyRequest, opts ...grpc.CallOption) (*TargetHttpsProxy, error) - // Creates a TargetHttpsProxy resource in the specified project using the data included in the request. - Insert(ctx context.Context, in *InsertTargetHttpsProxyRequest, opts ...grpc.CallOption) (*Operation, error) - // Retrieves the list of TargetHttpsProxy resources available to the specified project. - List(ctx context.Context, in *ListTargetHttpsProxiesRequest, opts ...grpc.CallOption) (*TargetHttpsProxyList, error) - // Patches the specified TargetHttpsProxy resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules. - Patch(ctx context.Context, in *PatchTargetHttpsProxyRequest, opts ...grpc.CallOption) (*Operation, error) - // Changes the Certificate Map for TargetHttpsProxy. - SetCertificateMap(ctx context.Context, in *SetCertificateMapTargetHttpsProxyRequest, opts ...grpc.CallOption) (*Operation, error) - // Sets the QUIC override policy for TargetHttpsProxy. - SetQuicOverride(ctx context.Context, in *SetQuicOverrideTargetHttpsProxyRequest, opts ...grpc.CallOption) (*Operation, error) - // Replaces SslCertificates for TargetHttpsProxy. - SetSslCertificates(ctx context.Context, in *SetSslCertificatesTargetHttpsProxyRequest, opts ...grpc.CallOption) (*Operation, error) - // Sets the SSL policy for TargetHttpsProxy. The SSL policy specifies the server-side support for SSL features. This affects connections between clients and the HTTPS proxy load balancer. They do not affect the connection between the load balancer and the backends. - SetSslPolicy(ctx context.Context, in *SetSslPolicyTargetHttpsProxyRequest, opts ...grpc.CallOption) (*Operation, error) - // Changes the URL map for TargetHttpsProxy. - SetUrlMap(ctx context.Context, in *SetUrlMapTargetHttpsProxyRequest, opts ...grpc.CallOption) (*Operation, error) -} - -type targetHttpsProxiesClient struct { - cc grpc.ClientConnInterface -} - -func NewTargetHttpsProxiesClient(cc grpc.ClientConnInterface) TargetHttpsProxiesClient { - return &targetHttpsProxiesClient{cc} -} - -func (c *targetHttpsProxiesClient) AggregatedList(ctx context.Context, in *AggregatedListTargetHttpsProxiesRequest, opts ...grpc.CallOption) (*TargetHttpsProxyAggregatedList, error) { - out := new(TargetHttpsProxyAggregatedList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.TargetHttpsProxies/AggregatedList", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *targetHttpsProxiesClient) Delete(ctx context.Context, in *DeleteTargetHttpsProxyRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.TargetHttpsProxies/Delete", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *targetHttpsProxiesClient) Get(ctx context.Context, in *GetTargetHttpsProxyRequest, opts ...grpc.CallOption) (*TargetHttpsProxy, error) { - out := new(TargetHttpsProxy) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.TargetHttpsProxies/Get", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *targetHttpsProxiesClient) Insert(ctx context.Context, in *InsertTargetHttpsProxyRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.TargetHttpsProxies/Insert", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *targetHttpsProxiesClient) List(ctx context.Context, in *ListTargetHttpsProxiesRequest, opts ...grpc.CallOption) (*TargetHttpsProxyList, error) { - out := new(TargetHttpsProxyList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.TargetHttpsProxies/List", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *targetHttpsProxiesClient) Patch(ctx context.Context, in *PatchTargetHttpsProxyRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.TargetHttpsProxies/Patch", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *targetHttpsProxiesClient) SetCertificateMap(ctx context.Context, in *SetCertificateMapTargetHttpsProxyRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.TargetHttpsProxies/SetCertificateMap", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *targetHttpsProxiesClient) SetQuicOverride(ctx context.Context, in *SetQuicOverrideTargetHttpsProxyRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.TargetHttpsProxies/SetQuicOverride", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *targetHttpsProxiesClient) SetSslCertificates(ctx context.Context, in *SetSslCertificatesTargetHttpsProxyRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.TargetHttpsProxies/SetSslCertificates", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *targetHttpsProxiesClient) SetSslPolicy(ctx context.Context, in *SetSslPolicyTargetHttpsProxyRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.TargetHttpsProxies/SetSslPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *targetHttpsProxiesClient) SetUrlMap(ctx context.Context, in *SetUrlMapTargetHttpsProxyRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.TargetHttpsProxies/SetUrlMap", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// TargetHttpsProxiesServer is the server API for TargetHttpsProxies service. -type TargetHttpsProxiesServer interface { - // Retrieves the list of all TargetHttpsProxy resources, regional and global, available to the specified project. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. - AggregatedList(context.Context, *AggregatedListTargetHttpsProxiesRequest) (*TargetHttpsProxyAggregatedList, error) - // Deletes the specified TargetHttpsProxy resource. - Delete(context.Context, *DeleteTargetHttpsProxyRequest) (*Operation, error) - // Returns the specified TargetHttpsProxy resource. - Get(context.Context, *GetTargetHttpsProxyRequest) (*TargetHttpsProxy, error) - // Creates a TargetHttpsProxy resource in the specified project using the data included in the request. - Insert(context.Context, *InsertTargetHttpsProxyRequest) (*Operation, error) - // Retrieves the list of TargetHttpsProxy resources available to the specified project. - List(context.Context, *ListTargetHttpsProxiesRequest) (*TargetHttpsProxyList, error) - // Patches the specified TargetHttpsProxy resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules. - Patch(context.Context, *PatchTargetHttpsProxyRequest) (*Operation, error) - // Changes the Certificate Map for TargetHttpsProxy. - SetCertificateMap(context.Context, *SetCertificateMapTargetHttpsProxyRequest) (*Operation, error) - // Sets the QUIC override policy for TargetHttpsProxy. - SetQuicOverride(context.Context, *SetQuicOverrideTargetHttpsProxyRequest) (*Operation, error) - // Replaces SslCertificates for TargetHttpsProxy. - SetSslCertificates(context.Context, *SetSslCertificatesTargetHttpsProxyRequest) (*Operation, error) - // Sets the SSL policy for TargetHttpsProxy. The SSL policy specifies the server-side support for SSL features. This affects connections between clients and the HTTPS proxy load balancer. They do not affect the connection between the load balancer and the backends. - SetSslPolicy(context.Context, *SetSslPolicyTargetHttpsProxyRequest) (*Operation, error) - // Changes the URL map for TargetHttpsProxy. - SetUrlMap(context.Context, *SetUrlMapTargetHttpsProxyRequest) (*Operation, error) -} - -// UnimplementedTargetHttpsProxiesServer can be embedded to have forward compatible implementations. -type UnimplementedTargetHttpsProxiesServer struct { -} - -func (*UnimplementedTargetHttpsProxiesServer) AggregatedList(context.Context, *AggregatedListTargetHttpsProxiesRequest) (*TargetHttpsProxyAggregatedList, error) { - return nil, status.Errorf(codes.Unimplemented, "method AggregatedList not implemented") -} -func (*UnimplementedTargetHttpsProxiesServer) Delete(context.Context, *DeleteTargetHttpsProxyRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") -} -func (*UnimplementedTargetHttpsProxiesServer) Get(context.Context, *GetTargetHttpsProxyRequest) (*TargetHttpsProxy, error) { - return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") -} -func (*UnimplementedTargetHttpsProxiesServer) Insert(context.Context, *InsertTargetHttpsProxyRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Insert not implemented") -} -func (*UnimplementedTargetHttpsProxiesServer) List(context.Context, *ListTargetHttpsProxiesRequest) (*TargetHttpsProxyList, error) { - return nil, status.Errorf(codes.Unimplemented, "method List not implemented") -} -func (*UnimplementedTargetHttpsProxiesServer) Patch(context.Context, *PatchTargetHttpsProxyRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Patch not implemented") -} -func (*UnimplementedTargetHttpsProxiesServer) SetCertificateMap(context.Context, *SetCertificateMapTargetHttpsProxyRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetCertificateMap not implemented") -} -func (*UnimplementedTargetHttpsProxiesServer) SetQuicOverride(context.Context, *SetQuicOverrideTargetHttpsProxyRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetQuicOverride not implemented") -} -func (*UnimplementedTargetHttpsProxiesServer) SetSslCertificates(context.Context, *SetSslCertificatesTargetHttpsProxyRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetSslCertificates not implemented") -} -func (*UnimplementedTargetHttpsProxiesServer) SetSslPolicy(context.Context, *SetSslPolicyTargetHttpsProxyRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetSslPolicy not implemented") -} -func (*UnimplementedTargetHttpsProxiesServer) SetUrlMap(context.Context, *SetUrlMapTargetHttpsProxyRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetUrlMap not implemented") -} - -func RegisterTargetHttpsProxiesServer(s *grpc.Server, srv TargetHttpsProxiesServer) { - s.RegisterService(&_TargetHttpsProxies_serviceDesc, srv) -} - -func _TargetHttpsProxies_AggregatedList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AggregatedListTargetHttpsProxiesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TargetHttpsProxiesServer).AggregatedList(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.TargetHttpsProxies/AggregatedList", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TargetHttpsProxiesServer).AggregatedList(ctx, req.(*AggregatedListTargetHttpsProxiesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _TargetHttpsProxies_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteTargetHttpsProxyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TargetHttpsProxiesServer).Delete(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.TargetHttpsProxies/Delete", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TargetHttpsProxiesServer).Delete(ctx, req.(*DeleteTargetHttpsProxyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _TargetHttpsProxies_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetTargetHttpsProxyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TargetHttpsProxiesServer).Get(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.TargetHttpsProxies/Get", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TargetHttpsProxiesServer).Get(ctx, req.(*GetTargetHttpsProxyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _TargetHttpsProxies_Insert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(InsertTargetHttpsProxyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TargetHttpsProxiesServer).Insert(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.TargetHttpsProxies/Insert", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TargetHttpsProxiesServer).Insert(ctx, req.(*InsertTargetHttpsProxyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _TargetHttpsProxies_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListTargetHttpsProxiesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TargetHttpsProxiesServer).List(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.TargetHttpsProxies/List", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TargetHttpsProxiesServer).List(ctx, req.(*ListTargetHttpsProxiesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _TargetHttpsProxies_Patch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PatchTargetHttpsProxyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TargetHttpsProxiesServer).Patch(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.TargetHttpsProxies/Patch", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TargetHttpsProxiesServer).Patch(ctx, req.(*PatchTargetHttpsProxyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _TargetHttpsProxies_SetCertificateMap_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetCertificateMapTargetHttpsProxyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TargetHttpsProxiesServer).SetCertificateMap(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.TargetHttpsProxies/SetCertificateMap", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TargetHttpsProxiesServer).SetCertificateMap(ctx, req.(*SetCertificateMapTargetHttpsProxyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _TargetHttpsProxies_SetQuicOverride_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetQuicOverrideTargetHttpsProxyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TargetHttpsProxiesServer).SetQuicOverride(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.TargetHttpsProxies/SetQuicOverride", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TargetHttpsProxiesServer).SetQuicOverride(ctx, req.(*SetQuicOverrideTargetHttpsProxyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _TargetHttpsProxies_SetSslCertificates_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetSslCertificatesTargetHttpsProxyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TargetHttpsProxiesServer).SetSslCertificates(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.TargetHttpsProxies/SetSslCertificates", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TargetHttpsProxiesServer).SetSslCertificates(ctx, req.(*SetSslCertificatesTargetHttpsProxyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _TargetHttpsProxies_SetSslPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetSslPolicyTargetHttpsProxyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TargetHttpsProxiesServer).SetSslPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.TargetHttpsProxies/SetSslPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TargetHttpsProxiesServer).SetSslPolicy(ctx, req.(*SetSslPolicyTargetHttpsProxyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _TargetHttpsProxies_SetUrlMap_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetUrlMapTargetHttpsProxyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TargetHttpsProxiesServer).SetUrlMap(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.TargetHttpsProxies/SetUrlMap", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TargetHttpsProxiesServer).SetUrlMap(ctx, req.(*SetUrlMapTargetHttpsProxyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _TargetHttpsProxies_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.TargetHttpsProxies", - HandlerType: (*TargetHttpsProxiesServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "AggregatedList", - Handler: _TargetHttpsProxies_AggregatedList_Handler, - }, - { - MethodName: "Delete", - Handler: _TargetHttpsProxies_Delete_Handler, - }, - { - MethodName: "Get", - Handler: _TargetHttpsProxies_Get_Handler, - }, - { - MethodName: "Insert", - Handler: _TargetHttpsProxies_Insert_Handler, - }, - { - MethodName: "List", - Handler: _TargetHttpsProxies_List_Handler, - }, - { - MethodName: "Patch", - Handler: _TargetHttpsProxies_Patch_Handler, - }, - { - MethodName: "SetCertificateMap", - Handler: _TargetHttpsProxies_SetCertificateMap_Handler, - }, - { - MethodName: "SetQuicOverride", - Handler: _TargetHttpsProxies_SetQuicOverride_Handler, - }, - { - MethodName: "SetSslCertificates", - Handler: _TargetHttpsProxies_SetSslCertificates_Handler, - }, - { - MethodName: "SetSslPolicy", - Handler: _TargetHttpsProxies_SetSslPolicy_Handler, - }, - { - MethodName: "SetUrlMap", - Handler: _TargetHttpsProxies_SetUrlMap_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} - -// TargetInstancesClient is the client API for TargetInstances service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type TargetInstancesClient interface { - // Retrieves an aggregated list of target instances. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. - AggregatedList(ctx context.Context, in *AggregatedListTargetInstancesRequest, opts ...grpc.CallOption) (*TargetInstanceAggregatedList, error) - // Deletes the specified TargetInstance resource. - Delete(ctx context.Context, in *DeleteTargetInstanceRequest, opts ...grpc.CallOption) (*Operation, error) - // Returns the specified TargetInstance resource. - Get(ctx context.Context, in *GetTargetInstanceRequest, opts ...grpc.CallOption) (*TargetInstance, error) - // Creates a TargetInstance resource in the specified project and zone using the data included in the request. - Insert(ctx context.Context, in *InsertTargetInstanceRequest, opts ...grpc.CallOption) (*Operation, error) - // Retrieves a list of TargetInstance resources available to the specified project and zone. - List(ctx context.Context, in *ListTargetInstancesRequest, opts ...grpc.CallOption) (*TargetInstanceList, error) - // Sets the Google Cloud Armor security policy for the specified target instance. For more information, see Google Cloud Armor Overview - SetSecurityPolicy(ctx context.Context, in *SetSecurityPolicyTargetInstanceRequest, opts ...grpc.CallOption) (*Operation, error) -} - -type targetInstancesClient struct { - cc grpc.ClientConnInterface -} - -func NewTargetInstancesClient(cc grpc.ClientConnInterface) TargetInstancesClient { - return &targetInstancesClient{cc} -} - -func (c *targetInstancesClient) AggregatedList(ctx context.Context, in *AggregatedListTargetInstancesRequest, opts ...grpc.CallOption) (*TargetInstanceAggregatedList, error) { - out := new(TargetInstanceAggregatedList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.TargetInstances/AggregatedList", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *targetInstancesClient) Delete(ctx context.Context, in *DeleteTargetInstanceRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.TargetInstances/Delete", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *targetInstancesClient) Get(ctx context.Context, in *GetTargetInstanceRequest, opts ...grpc.CallOption) (*TargetInstance, error) { - out := new(TargetInstance) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.TargetInstances/Get", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *targetInstancesClient) Insert(ctx context.Context, in *InsertTargetInstanceRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.TargetInstances/Insert", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *targetInstancesClient) List(ctx context.Context, in *ListTargetInstancesRequest, opts ...grpc.CallOption) (*TargetInstanceList, error) { - out := new(TargetInstanceList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.TargetInstances/List", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *targetInstancesClient) SetSecurityPolicy(ctx context.Context, in *SetSecurityPolicyTargetInstanceRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.TargetInstances/SetSecurityPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// TargetInstancesServer is the server API for TargetInstances service. -type TargetInstancesServer interface { - // Retrieves an aggregated list of target instances. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. - AggregatedList(context.Context, *AggregatedListTargetInstancesRequest) (*TargetInstanceAggregatedList, error) - // Deletes the specified TargetInstance resource. - Delete(context.Context, *DeleteTargetInstanceRequest) (*Operation, error) - // Returns the specified TargetInstance resource. - Get(context.Context, *GetTargetInstanceRequest) (*TargetInstance, error) - // Creates a TargetInstance resource in the specified project and zone using the data included in the request. - Insert(context.Context, *InsertTargetInstanceRequest) (*Operation, error) - // Retrieves a list of TargetInstance resources available to the specified project and zone. - List(context.Context, *ListTargetInstancesRequest) (*TargetInstanceList, error) - // Sets the Google Cloud Armor security policy for the specified target instance. For more information, see Google Cloud Armor Overview - SetSecurityPolicy(context.Context, *SetSecurityPolicyTargetInstanceRequest) (*Operation, error) -} - -// UnimplementedTargetInstancesServer can be embedded to have forward compatible implementations. -type UnimplementedTargetInstancesServer struct { -} - -func (*UnimplementedTargetInstancesServer) AggregatedList(context.Context, *AggregatedListTargetInstancesRequest) (*TargetInstanceAggregatedList, error) { - return nil, status.Errorf(codes.Unimplemented, "method AggregatedList not implemented") -} -func (*UnimplementedTargetInstancesServer) Delete(context.Context, *DeleteTargetInstanceRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") -} -func (*UnimplementedTargetInstancesServer) Get(context.Context, *GetTargetInstanceRequest) (*TargetInstance, error) { - return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") -} -func (*UnimplementedTargetInstancesServer) Insert(context.Context, *InsertTargetInstanceRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Insert not implemented") -} -func (*UnimplementedTargetInstancesServer) List(context.Context, *ListTargetInstancesRequest) (*TargetInstanceList, error) { - return nil, status.Errorf(codes.Unimplemented, "method List not implemented") -} -func (*UnimplementedTargetInstancesServer) SetSecurityPolicy(context.Context, *SetSecurityPolicyTargetInstanceRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetSecurityPolicy not implemented") -} - -func RegisterTargetInstancesServer(s *grpc.Server, srv TargetInstancesServer) { - s.RegisterService(&_TargetInstances_serviceDesc, srv) -} - -func _TargetInstances_AggregatedList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AggregatedListTargetInstancesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TargetInstancesServer).AggregatedList(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.TargetInstances/AggregatedList", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TargetInstancesServer).AggregatedList(ctx, req.(*AggregatedListTargetInstancesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _TargetInstances_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteTargetInstanceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TargetInstancesServer).Delete(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.TargetInstances/Delete", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TargetInstancesServer).Delete(ctx, req.(*DeleteTargetInstanceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _TargetInstances_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetTargetInstanceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TargetInstancesServer).Get(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.TargetInstances/Get", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TargetInstancesServer).Get(ctx, req.(*GetTargetInstanceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _TargetInstances_Insert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(InsertTargetInstanceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TargetInstancesServer).Insert(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.TargetInstances/Insert", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TargetInstancesServer).Insert(ctx, req.(*InsertTargetInstanceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _TargetInstances_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListTargetInstancesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TargetInstancesServer).List(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.TargetInstances/List", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TargetInstancesServer).List(ctx, req.(*ListTargetInstancesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _TargetInstances_SetSecurityPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetSecurityPolicyTargetInstanceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TargetInstancesServer).SetSecurityPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.TargetInstances/SetSecurityPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TargetInstancesServer).SetSecurityPolicy(ctx, req.(*SetSecurityPolicyTargetInstanceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _TargetInstances_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.TargetInstances", - HandlerType: (*TargetInstancesServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "AggregatedList", - Handler: _TargetInstances_AggregatedList_Handler, - }, - { - MethodName: "Delete", - Handler: _TargetInstances_Delete_Handler, - }, - { - MethodName: "Get", - Handler: _TargetInstances_Get_Handler, - }, - { - MethodName: "Insert", - Handler: _TargetInstances_Insert_Handler, - }, - { - MethodName: "List", - Handler: _TargetInstances_List_Handler, - }, - { - MethodName: "SetSecurityPolicy", - Handler: _TargetInstances_SetSecurityPolicy_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} - -// TargetPoolsClient is the client API for TargetPools service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type TargetPoolsClient interface { - // Adds health check URLs to a target pool. - AddHealthCheck(ctx context.Context, in *AddHealthCheckTargetPoolRequest, opts ...grpc.CallOption) (*Operation, error) - // Adds an instance to a target pool. - AddInstance(ctx context.Context, in *AddInstanceTargetPoolRequest, opts ...grpc.CallOption) (*Operation, error) - // Retrieves an aggregated list of target pools. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. - AggregatedList(ctx context.Context, in *AggregatedListTargetPoolsRequest, opts ...grpc.CallOption) (*TargetPoolAggregatedList, error) - // Deletes the specified target pool. - Delete(ctx context.Context, in *DeleteTargetPoolRequest, opts ...grpc.CallOption) (*Operation, error) - // Returns the specified target pool. - Get(ctx context.Context, in *GetTargetPoolRequest, opts ...grpc.CallOption) (*TargetPool, error) - // Gets the most recent health check results for each IP for the instance that is referenced by the given target pool. - GetHealth(ctx context.Context, in *GetHealthTargetPoolRequest, opts ...grpc.CallOption) (*TargetPoolInstanceHealth, error) - // Creates a target pool in the specified project and region using the data included in the request. - Insert(ctx context.Context, in *InsertTargetPoolRequest, opts ...grpc.CallOption) (*Operation, error) - // Retrieves a list of target pools available to the specified project and region. - List(ctx context.Context, in *ListTargetPoolsRequest, opts ...grpc.CallOption) (*TargetPoolList, error) - // Removes health check URL from a target pool. - RemoveHealthCheck(ctx context.Context, in *RemoveHealthCheckTargetPoolRequest, opts ...grpc.CallOption) (*Operation, error) - // Removes instance URL from a target pool. - RemoveInstance(ctx context.Context, in *RemoveInstanceTargetPoolRequest, opts ...grpc.CallOption) (*Operation, error) - // Changes a backup target pool's configurations. - SetBackup(ctx context.Context, in *SetBackupTargetPoolRequest, opts ...grpc.CallOption) (*Operation, error) - // Sets the Google Cloud Armor security policy for the specified target pool. For more information, see Google Cloud Armor Overview - SetSecurityPolicy(ctx context.Context, in *SetSecurityPolicyTargetPoolRequest, opts ...grpc.CallOption) (*Operation, error) -} - -type targetPoolsClient struct { - cc grpc.ClientConnInterface -} - -func NewTargetPoolsClient(cc grpc.ClientConnInterface) TargetPoolsClient { - return &targetPoolsClient{cc} -} - -func (c *targetPoolsClient) AddHealthCheck(ctx context.Context, in *AddHealthCheckTargetPoolRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.TargetPools/AddHealthCheck", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *targetPoolsClient) AddInstance(ctx context.Context, in *AddInstanceTargetPoolRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.TargetPools/AddInstance", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *targetPoolsClient) AggregatedList(ctx context.Context, in *AggregatedListTargetPoolsRequest, opts ...grpc.CallOption) (*TargetPoolAggregatedList, error) { - out := new(TargetPoolAggregatedList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.TargetPools/AggregatedList", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *targetPoolsClient) Delete(ctx context.Context, in *DeleteTargetPoolRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.TargetPools/Delete", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *targetPoolsClient) Get(ctx context.Context, in *GetTargetPoolRequest, opts ...grpc.CallOption) (*TargetPool, error) { - out := new(TargetPool) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.TargetPools/Get", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *targetPoolsClient) GetHealth(ctx context.Context, in *GetHealthTargetPoolRequest, opts ...grpc.CallOption) (*TargetPoolInstanceHealth, error) { - out := new(TargetPoolInstanceHealth) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.TargetPools/GetHealth", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *targetPoolsClient) Insert(ctx context.Context, in *InsertTargetPoolRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.TargetPools/Insert", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *targetPoolsClient) List(ctx context.Context, in *ListTargetPoolsRequest, opts ...grpc.CallOption) (*TargetPoolList, error) { - out := new(TargetPoolList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.TargetPools/List", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *targetPoolsClient) RemoveHealthCheck(ctx context.Context, in *RemoveHealthCheckTargetPoolRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.TargetPools/RemoveHealthCheck", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *targetPoolsClient) RemoveInstance(ctx context.Context, in *RemoveInstanceTargetPoolRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.TargetPools/RemoveInstance", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *targetPoolsClient) SetBackup(ctx context.Context, in *SetBackupTargetPoolRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.TargetPools/SetBackup", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *targetPoolsClient) SetSecurityPolicy(ctx context.Context, in *SetSecurityPolicyTargetPoolRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.TargetPools/SetSecurityPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// TargetPoolsServer is the server API for TargetPools service. -type TargetPoolsServer interface { - // Adds health check URLs to a target pool. - AddHealthCheck(context.Context, *AddHealthCheckTargetPoolRequest) (*Operation, error) - // Adds an instance to a target pool. - AddInstance(context.Context, *AddInstanceTargetPoolRequest) (*Operation, error) - // Retrieves an aggregated list of target pools. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. - AggregatedList(context.Context, *AggregatedListTargetPoolsRequest) (*TargetPoolAggregatedList, error) - // Deletes the specified target pool. - Delete(context.Context, *DeleteTargetPoolRequest) (*Operation, error) - // Returns the specified target pool. - Get(context.Context, *GetTargetPoolRequest) (*TargetPool, error) - // Gets the most recent health check results for each IP for the instance that is referenced by the given target pool. - GetHealth(context.Context, *GetHealthTargetPoolRequest) (*TargetPoolInstanceHealth, error) - // Creates a target pool in the specified project and region using the data included in the request. - Insert(context.Context, *InsertTargetPoolRequest) (*Operation, error) - // Retrieves a list of target pools available to the specified project and region. - List(context.Context, *ListTargetPoolsRequest) (*TargetPoolList, error) - // Removes health check URL from a target pool. - RemoveHealthCheck(context.Context, *RemoveHealthCheckTargetPoolRequest) (*Operation, error) - // Removes instance URL from a target pool. - RemoveInstance(context.Context, *RemoveInstanceTargetPoolRequest) (*Operation, error) - // Changes a backup target pool's configurations. - SetBackup(context.Context, *SetBackupTargetPoolRequest) (*Operation, error) - // Sets the Google Cloud Armor security policy for the specified target pool. For more information, see Google Cloud Armor Overview - SetSecurityPolicy(context.Context, *SetSecurityPolicyTargetPoolRequest) (*Operation, error) -} - -// UnimplementedTargetPoolsServer can be embedded to have forward compatible implementations. -type UnimplementedTargetPoolsServer struct { -} - -func (*UnimplementedTargetPoolsServer) AddHealthCheck(context.Context, *AddHealthCheckTargetPoolRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method AddHealthCheck not implemented") -} -func (*UnimplementedTargetPoolsServer) AddInstance(context.Context, *AddInstanceTargetPoolRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method AddInstance not implemented") -} -func (*UnimplementedTargetPoolsServer) AggregatedList(context.Context, *AggregatedListTargetPoolsRequest) (*TargetPoolAggregatedList, error) { - return nil, status.Errorf(codes.Unimplemented, "method AggregatedList not implemented") -} -func (*UnimplementedTargetPoolsServer) Delete(context.Context, *DeleteTargetPoolRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") -} -func (*UnimplementedTargetPoolsServer) Get(context.Context, *GetTargetPoolRequest) (*TargetPool, error) { - return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") -} -func (*UnimplementedTargetPoolsServer) GetHealth(context.Context, *GetHealthTargetPoolRequest) (*TargetPoolInstanceHealth, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetHealth not implemented") -} -func (*UnimplementedTargetPoolsServer) Insert(context.Context, *InsertTargetPoolRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Insert not implemented") -} -func (*UnimplementedTargetPoolsServer) List(context.Context, *ListTargetPoolsRequest) (*TargetPoolList, error) { - return nil, status.Errorf(codes.Unimplemented, "method List not implemented") -} -func (*UnimplementedTargetPoolsServer) RemoveHealthCheck(context.Context, *RemoveHealthCheckTargetPoolRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method RemoveHealthCheck not implemented") -} -func (*UnimplementedTargetPoolsServer) RemoveInstance(context.Context, *RemoveInstanceTargetPoolRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method RemoveInstance not implemented") -} -func (*UnimplementedTargetPoolsServer) SetBackup(context.Context, *SetBackupTargetPoolRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetBackup not implemented") -} -func (*UnimplementedTargetPoolsServer) SetSecurityPolicy(context.Context, *SetSecurityPolicyTargetPoolRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetSecurityPolicy not implemented") -} - -func RegisterTargetPoolsServer(s *grpc.Server, srv TargetPoolsServer) { - s.RegisterService(&_TargetPools_serviceDesc, srv) -} - -func _TargetPools_AddHealthCheck_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AddHealthCheckTargetPoolRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TargetPoolsServer).AddHealthCheck(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.TargetPools/AddHealthCheck", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TargetPoolsServer).AddHealthCheck(ctx, req.(*AddHealthCheckTargetPoolRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _TargetPools_AddInstance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AddInstanceTargetPoolRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TargetPoolsServer).AddInstance(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.TargetPools/AddInstance", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TargetPoolsServer).AddInstance(ctx, req.(*AddInstanceTargetPoolRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _TargetPools_AggregatedList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AggregatedListTargetPoolsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TargetPoolsServer).AggregatedList(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.TargetPools/AggregatedList", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TargetPoolsServer).AggregatedList(ctx, req.(*AggregatedListTargetPoolsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _TargetPools_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteTargetPoolRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TargetPoolsServer).Delete(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.TargetPools/Delete", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TargetPoolsServer).Delete(ctx, req.(*DeleteTargetPoolRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _TargetPools_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetTargetPoolRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TargetPoolsServer).Get(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.TargetPools/Get", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TargetPoolsServer).Get(ctx, req.(*GetTargetPoolRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _TargetPools_GetHealth_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetHealthTargetPoolRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TargetPoolsServer).GetHealth(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.TargetPools/GetHealth", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TargetPoolsServer).GetHealth(ctx, req.(*GetHealthTargetPoolRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _TargetPools_Insert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(InsertTargetPoolRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TargetPoolsServer).Insert(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.TargetPools/Insert", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TargetPoolsServer).Insert(ctx, req.(*InsertTargetPoolRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _TargetPools_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListTargetPoolsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TargetPoolsServer).List(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.TargetPools/List", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TargetPoolsServer).List(ctx, req.(*ListTargetPoolsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _TargetPools_RemoveHealthCheck_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RemoveHealthCheckTargetPoolRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TargetPoolsServer).RemoveHealthCheck(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.TargetPools/RemoveHealthCheck", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TargetPoolsServer).RemoveHealthCheck(ctx, req.(*RemoveHealthCheckTargetPoolRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _TargetPools_RemoveInstance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RemoveInstanceTargetPoolRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TargetPoolsServer).RemoveInstance(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.TargetPools/RemoveInstance", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TargetPoolsServer).RemoveInstance(ctx, req.(*RemoveInstanceTargetPoolRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _TargetPools_SetBackup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetBackupTargetPoolRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TargetPoolsServer).SetBackup(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.TargetPools/SetBackup", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TargetPoolsServer).SetBackup(ctx, req.(*SetBackupTargetPoolRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _TargetPools_SetSecurityPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetSecurityPolicyTargetPoolRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TargetPoolsServer).SetSecurityPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.TargetPools/SetSecurityPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TargetPoolsServer).SetSecurityPolicy(ctx, req.(*SetSecurityPolicyTargetPoolRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _TargetPools_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.TargetPools", - HandlerType: (*TargetPoolsServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "AddHealthCheck", - Handler: _TargetPools_AddHealthCheck_Handler, - }, - { - MethodName: "AddInstance", - Handler: _TargetPools_AddInstance_Handler, - }, - { - MethodName: "AggregatedList", - Handler: _TargetPools_AggregatedList_Handler, - }, - { - MethodName: "Delete", - Handler: _TargetPools_Delete_Handler, - }, - { - MethodName: "Get", - Handler: _TargetPools_Get_Handler, - }, - { - MethodName: "GetHealth", - Handler: _TargetPools_GetHealth_Handler, - }, - { - MethodName: "Insert", - Handler: _TargetPools_Insert_Handler, - }, - { - MethodName: "List", - Handler: _TargetPools_List_Handler, - }, - { - MethodName: "RemoveHealthCheck", - Handler: _TargetPools_RemoveHealthCheck_Handler, - }, - { - MethodName: "RemoveInstance", - Handler: _TargetPools_RemoveInstance_Handler, - }, - { - MethodName: "SetBackup", - Handler: _TargetPools_SetBackup_Handler, - }, - { - MethodName: "SetSecurityPolicy", - Handler: _TargetPools_SetSecurityPolicy_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} - -// TargetSslProxiesClient is the client API for TargetSslProxies service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type TargetSslProxiesClient interface { - // Deletes the specified TargetSslProxy resource. - Delete(ctx context.Context, in *DeleteTargetSslProxyRequest, opts ...grpc.CallOption) (*Operation, error) - // Returns the specified TargetSslProxy resource. - Get(ctx context.Context, in *GetTargetSslProxyRequest, opts ...grpc.CallOption) (*TargetSslProxy, error) - // Creates a TargetSslProxy resource in the specified project using the data included in the request. - Insert(ctx context.Context, in *InsertTargetSslProxyRequest, opts ...grpc.CallOption) (*Operation, error) - // Retrieves the list of TargetSslProxy resources available to the specified project. - List(ctx context.Context, in *ListTargetSslProxiesRequest, opts ...grpc.CallOption) (*TargetSslProxyList, error) - // Changes the BackendService for TargetSslProxy. - SetBackendService(ctx context.Context, in *SetBackendServiceTargetSslProxyRequest, opts ...grpc.CallOption) (*Operation, error) - // Changes the Certificate Map for TargetSslProxy. - SetCertificateMap(ctx context.Context, in *SetCertificateMapTargetSslProxyRequest, opts ...grpc.CallOption) (*Operation, error) - // Changes the ProxyHeaderType for TargetSslProxy. - SetProxyHeader(ctx context.Context, in *SetProxyHeaderTargetSslProxyRequest, opts ...grpc.CallOption) (*Operation, error) - // Changes SslCertificates for TargetSslProxy. - SetSslCertificates(ctx context.Context, in *SetSslCertificatesTargetSslProxyRequest, opts ...grpc.CallOption) (*Operation, error) - // Sets the SSL policy for TargetSslProxy. The SSL policy specifies the server-side support for SSL features. This affects connections between clients and the load balancer. They do not affect the connection between the load balancer and the backends. - SetSslPolicy(ctx context.Context, in *SetSslPolicyTargetSslProxyRequest, opts ...grpc.CallOption) (*Operation, error) -} - -type targetSslProxiesClient struct { - cc grpc.ClientConnInterface -} - -func NewTargetSslProxiesClient(cc grpc.ClientConnInterface) TargetSslProxiesClient { - return &targetSslProxiesClient{cc} -} - -func (c *targetSslProxiesClient) Delete(ctx context.Context, in *DeleteTargetSslProxyRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.TargetSslProxies/Delete", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *targetSslProxiesClient) Get(ctx context.Context, in *GetTargetSslProxyRequest, opts ...grpc.CallOption) (*TargetSslProxy, error) { - out := new(TargetSslProxy) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.TargetSslProxies/Get", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *targetSslProxiesClient) Insert(ctx context.Context, in *InsertTargetSslProxyRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.TargetSslProxies/Insert", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *targetSslProxiesClient) List(ctx context.Context, in *ListTargetSslProxiesRequest, opts ...grpc.CallOption) (*TargetSslProxyList, error) { - out := new(TargetSslProxyList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.TargetSslProxies/List", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *targetSslProxiesClient) SetBackendService(ctx context.Context, in *SetBackendServiceTargetSslProxyRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.TargetSslProxies/SetBackendService", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *targetSslProxiesClient) SetCertificateMap(ctx context.Context, in *SetCertificateMapTargetSslProxyRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.TargetSslProxies/SetCertificateMap", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *targetSslProxiesClient) SetProxyHeader(ctx context.Context, in *SetProxyHeaderTargetSslProxyRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.TargetSslProxies/SetProxyHeader", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *targetSslProxiesClient) SetSslCertificates(ctx context.Context, in *SetSslCertificatesTargetSslProxyRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.TargetSslProxies/SetSslCertificates", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *targetSslProxiesClient) SetSslPolicy(ctx context.Context, in *SetSslPolicyTargetSslProxyRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.TargetSslProxies/SetSslPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// TargetSslProxiesServer is the server API for TargetSslProxies service. -type TargetSslProxiesServer interface { - // Deletes the specified TargetSslProxy resource. - Delete(context.Context, *DeleteTargetSslProxyRequest) (*Operation, error) - // Returns the specified TargetSslProxy resource. - Get(context.Context, *GetTargetSslProxyRequest) (*TargetSslProxy, error) - // Creates a TargetSslProxy resource in the specified project using the data included in the request. - Insert(context.Context, *InsertTargetSslProxyRequest) (*Operation, error) - // Retrieves the list of TargetSslProxy resources available to the specified project. - List(context.Context, *ListTargetSslProxiesRequest) (*TargetSslProxyList, error) - // Changes the BackendService for TargetSslProxy. - SetBackendService(context.Context, *SetBackendServiceTargetSslProxyRequest) (*Operation, error) - // Changes the Certificate Map for TargetSslProxy. - SetCertificateMap(context.Context, *SetCertificateMapTargetSslProxyRequest) (*Operation, error) - // Changes the ProxyHeaderType for TargetSslProxy. - SetProxyHeader(context.Context, *SetProxyHeaderTargetSslProxyRequest) (*Operation, error) - // Changes SslCertificates for TargetSslProxy. - SetSslCertificates(context.Context, *SetSslCertificatesTargetSslProxyRequest) (*Operation, error) - // Sets the SSL policy for TargetSslProxy. The SSL policy specifies the server-side support for SSL features. This affects connections between clients and the load balancer. They do not affect the connection between the load balancer and the backends. - SetSslPolicy(context.Context, *SetSslPolicyTargetSslProxyRequest) (*Operation, error) -} - -// UnimplementedTargetSslProxiesServer can be embedded to have forward compatible implementations. -type UnimplementedTargetSslProxiesServer struct { -} - -func (*UnimplementedTargetSslProxiesServer) Delete(context.Context, *DeleteTargetSslProxyRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") -} -func (*UnimplementedTargetSslProxiesServer) Get(context.Context, *GetTargetSslProxyRequest) (*TargetSslProxy, error) { - return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") -} -func (*UnimplementedTargetSslProxiesServer) Insert(context.Context, *InsertTargetSslProxyRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Insert not implemented") -} -func (*UnimplementedTargetSslProxiesServer) List(context.Context, *ListTargetSslProxiesRequest) (*TargetSslProxyList, error) { - return nil, status.Errorf(codes.Unimplemented, "method List not implemented") -} -func (*UnimplementedTargetSslProxiesServer) SetBackendService(context.Context, *SetBackendServiceTargetSslProxyRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetBackendService not implemented") -} -func (*UnimplementedTargetSslProxiesServer) SetCertificateMap(context.Context, *SetCertificateMapTargetSslProxyRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetCertificateMap not implemented") -} -func (*UnimplementedTargetSslProxiesServer) SetProxyHeader(context.Context, *SetProxyHeaderTargetSslProxyRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetProxyHeader not implemented") -} -func (*UnimplementedTargetSslProxiesServer) SetSslCertificates(context.Context, *SetSslCertificatesTargetSslProxyRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetSslCertificates not implemented") -} -func (*UnimplementedTargetSslProxiesServer) SetSslPolicy(context.Context, *SetSslPolicyTargetSslProxyRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetSslPolicy not implemented") -} - -func RegisterTargetSslProxiesServer(s *grpc.Server, srv TargetSslProxiesServer) { - s.RegisterService(&_TargetSslProxies_serviceDesc, srv) -} - -func _TargetSslProxies_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteTargetSslProxyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TargetSslProxiesServer).Delete(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.TargetSslProxies/Delete", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TargetSslProxiesServer).Delete(ctx, req.(*DeleteTargetSslProxyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _TargetSslProxies_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetTargetSslProxyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TargetSslProxiesServer).Get(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.TargetSslProxies/Get", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TargetSslProxiesServer).Get(ctx, req.(*GetTargetSslProxyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _TargetSslProxies_Insert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(InsertTargetSslProxyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TargetSslProxiesServer).Insert(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.TargetSslProxies/Insert", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TargetSslProxiesServer).Insert(ctx, req.(*InsertTargetSslProxyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _TargetSslProxies_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListTargetSslProxiesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TargetSslProxiesServer).List(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.TargetSslProxies/List", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TargetSslProxiesServer).List(ctx, req.(*ListTargetSslProxiesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _TargetSslProxies_SetBackendService_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetBackendServiceTargetSslProxyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TargetSslProxiesServer).SetBackendService(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.TargetSslProxies/SetBackendService", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TargetSslProxiesServer).SetBackendService(ctx, req.(*SetBackendServiceTargetSslProxyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _TargetSslProxies_SetCertificateMap_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetCertificateMapTargetSslProxyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TargetSslProxiesServer).SetCertificateMap(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.TargetSslProxies/SetCertificateMap", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TargetSslProxiesServer).SetCertificateMap(ctx, req.(*SetCertificateMapTargetSslProxyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _TargetSslProxies_SetProxyHeader_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetProxyHeaderTargetSslProxyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TargetSslProxiesServer).SetProxyHeader(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.TargetSslProxies/SetProxyHeader", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TargetSslProxiesServer).SetProxyHeader(ctx, req.(*SetProxyHeaderTargetSslProxyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _TargetSslProxies_SetSslCertificates_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetSslCertificatesTargetSslProxyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TargetSslProxiesServer).SetSslCertificates(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.TargetSslProxies/SetSslCertificates", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TargetSslProxiesServer).SetSslCertificates(ctx, req.(*SetSslCertificatesTargetSslProxyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _TargetSslProxies_SetSslPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetSslPolicyTargetSslProxyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TargetSslProxiesServer).SetSslPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.TargetSslProxies/SetSslPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TargetSslProxiesServer).SetSslPolicy(ctx, req.(*SetSslPolicyTargetSslProxyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _TargetSslProxies_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.TargetSslProxies", - HandlerType: (*TargetSslProxiesServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "Delete", - Handler: _TargetSslProxies_Delete_Handler, - }, - { - MethodName: "Get", - Handler: _TargetSslProxies_Get_Handler, - }, - { - MethodName: "Insert", - Handler: _TargetSslProxies_Insert_Handler, - }, - { - MethodName: "List", - Handler: _TargetSslProxies_List_Handler, - }, - { - MethodName: "SetBackendService", - Handler: _TargetSslProxies_SetBackendService_Handler, - }, - { - MethodName: "SetCertificateMap", - Handler: _TargetSslProxies_SetCertificateMap_Handler, - }, - { - MethodName: "SetProxyHeader", - Handler: _TargetSslProxies_SetProxyHeader_Handler, - }, - { - MethodName: "SetSslCertificates", - Handler: _TargetSslProxies_SetSslCertificates_Handler, - }, - { - MethodName: "SetSslPolicy", - Handler: _TargetSslProxies_SetSslPolicy_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} - -// TargetTcpProxiesClient is the client API for TargetTcpProxies service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type TargetTcpProxiesClient interface { - // Retrieves the list of all TargetTcpProxy resources, regional and global, available to the specified project. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. - AggregatedList(ctx context.Context, in *AggregatedListTargetTcpProxiesRequest, opts ...grpc.CallOption) (*TargetTcpProxyAggregatedList, error) - // Deletes the specified TargetTcpProxy resource. - Delete(ctx context.Context, in *DeleteTargetTcpProxyRequest, opts ...grpc.CallOption) (*Operation, error) - // Returns the specified TargetTcpProxy resource. - Get(ctx context.Context, in *GetTargetTcpProxyRequest, opts ...grpc.CallOption) (*TargetTcpProxy, error) - // Creates a TargetTcpProxy resource in the specified project using the data included in the request. - Insert(ctx context.Context, in *InsertTargetTcpProxyRequest, opts ...grpc.CallOption) (*Operation, error) - // Retrieves the list of TargetTcpProxy resources available to the specified project. - List(ctx context.Context, in *ListTargetTcpProxiesRequest, opts ...grpc.CallOption) (*TargetTcpProxyList, error) - // Changes the BackendService for TargetTcpProxy. - SetBackendService(ctx context.Context, in *SetBackendServiceTargetTcpProxyRequest, opts ...grpc.CallOption) (*Operation, error) - // Changes the ProxyHeaderType for TargetTcpProxy. - SetProxyHeader(ctx context.Context, in *SetProxyHeaderTargetTcpProxyRequest, opts ...grpc.CallOption) (*Operation, error) -} - -type targetTcpProxiesClient struct { - cc grpc.ClientConnInterface -} - -func NewTargetTcpProxiesClient(cc grpc.ClientConnInterface) TargetTcpProxiesClient { - return &targetTcpProxiesClient{cc} -} - -func (c *targetTcpProxiesClient) AggregatedList(ctx context.Context, in *AggregatedListTargetTcpProxiesRequest, opts ...grpc.CallOption) (*TargetTcpProxyAggregatedList, error) { - out := new(TargetTcpProxyAggregatedList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.TargetTcpProxies/AggregatedList", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *targetTcpProxiesClient) Delete(ctx context.Context, in *DeleteTargetTcpProxyRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.TargetTcpProxies/Delete", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *targetTcpProxiesClient) Get(ctx context.Context, in *GetTargetTcpProxyRequest, opts ...grpc.CallOption) (*TargetTcpProxy, error) { - out := new(TargetTcpProxy) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.TargetTcpProxies/Get", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *targetTcpProxiesClient) Insert(ctx context.Context, in *InsertTargetTcpProxyRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.TargetTcpProxies/Insert", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *targetTcpProxiesClient) List(ctx context.Context, in *ListTargetTcpProxiesRequest, opts ...grpc.CallOption) (*TargetTcpProxyList, error) { - out := new(TargetTcpProxyList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.TargetTcpProxies/List", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *targetTcpProxiesClient) SetBackendService(ctx context.Context, in *SetBackendServiceTargetTcpProxyRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.TargetTcpProxies/SetBackendService", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *targetTcpProxiesClient) SetProxyHeader(ctx context.Context, in *SetProxyHeaderTargetTcpProxyRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.TargetTcpProxies/SetProxyHeader", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// TargetTcpProxiesServer is the server API for TargetTcpProxies service. -type TargetTcpProxiesServer interface { - // Retrieves the list of all TargetTcpProxy resources, regional and global, available to the specified project. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. - AggregatedList(context.Context, *AggregatedListTargetTcpProxiesRequest) (*TargetTcpProxyAggregatedList, error) - // Deletes the specified TargetTcpProxy resource. - Delete(context.Context, *DeleteTargetTcpProxyRequest) (*Operation, error) - // Returns the specified TargetTcpProxy resource. - Get(context.Context, *GetTargetTcpProxyRequest) (*TargetTcpProxy, error) - // Creates a TargetTcpProxy resource in the specified project using the data included in the request. - Insert(context.Context, *InsertTargetTcpProxyRequest) (*Operation, error) - // Retrieves the list of TargetTcpProxy resources available to the specified project. - List(context.Context, *ListTargetTcpProxiesRequest) (*TargetTcpProxyList, error) - // Changes the BackendService for TargetTcpProxy. - SetBackendService(context.Context, *SetBackendServiceTargetTcpProxyRequest) (*Operation, error) - // Changes the ProxyHeaderType for TargetTcpProxy. - SetProxyHeader(context.Context, *SetProxyHeaderTargetTcpProxyRequest) (*Operation, error) -} - -// UnimplementedTargetTcpProxiesServer can be embedded to have forward compatible implementations. -type UnimplementedTargetTcpProxiesServer struct { -} - -func (*UnimplementedTargetTcpProxiesServer) AggregatedList(context.Context, *AggregatedListTargetTcpProxiesRequest) (*TargetTcpProxyAggregatedList, error) { - return nil, status.Errorf(codes.Unimplemented, "method AggregatedList not implemented") -} -func (*UnimplementedTargetTcpProxiesServer) Delete(context.Context, *DeleteTargetTcpProxyRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") -} -func (*UnimplementedTargetTcpProxiesServer) Get(context.Context, *GetTargetTcpProxyRequest) (*TargetTcpProxy, error) { - return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") -} -func (*UnimplementedTargetTcpProxiesServer) Insert(context.Context, *InsertTargetTcpProxyRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Insert not implemented") -} -func (*UnimplementedTargetTcpProxiesServer) List(context.Context, *ListTargetTcpProxiesRequest) (*TargetTcpProxyList, error) { - return nil, status.Errorf(codes.Unimplemented, "method List not implemented") -} -func (*UnimplementedTargetTcpProxiesServer) SetBackendService(context.Context, *SetBackendServiceTargetTcpProxyRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetBackendService not implemented") -} -func (*UnimplementedTargetTcpProxiesServer) SetProxyHeader(context.Context, *SetProxyHeaderTargetTcpProxyRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetProxyHeader not implemented") -} - -func RegisterTargetTcpProxiesServer(s *grpc.Server, srv TargetTcpProxiesServer) { - s.RegisterService(&_TargetTcpProxies_serviceDesc, srv) -} - -func _TargetTcpProxies_AggregatedList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AggregatedListTargetTcpProxiesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TargetTcpProxiesServer).AggregatedList(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.TargetTcpProxies/AggregatedList", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TargetTcpProxiesServer).AggregatedList(ctx, req.(*AggregatedListTargetTcpProxiesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _TargetTcpProxies_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteTargetTcpProxyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TargetTcpProxiesServer).Delete(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.TargetTcpProxies/Delete", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TargetTcpProxiesServer).Delete(ctx, req.(*DeleteTargetTcpProxyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _TargetTcpProxies_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetTargetTcpProxyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TargetTcpProxiesServer).Get(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.TargetTcpProxies/Get", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TargetTcpProxiesServer).Get(ctx, req.(*GetTargetTcpProxyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _TargetTcpProxies_Insert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(InsertTargetTcpProxyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TargetTcpProxiesServer).Insert(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.TargetTcpProxies/Insert", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TargetTcpProxiesServer).Insert(ctx, req.(*InsertTargetTcpProxyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _TargetTcpProxies_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListTargetTcpProxiesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TargetTcpProxiesServer).List(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.TargetTcpProxies/List", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TargetTcpProxiesServer).List(ctx, req.(*ListTargetTcpProxiesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _TargetTcpProxies_SetBackendService_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetBackendServiceTargetTcpProxyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TargetTcpProxiesServer).SetBackendService(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.TargetTcpProxies/SetBackendService", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TargetTcpProxiesServer).SetBackendService(ctx, req.(*SetBackendServiceTargetTcpProxyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _TargetTcpProxies_SetProxyHeader_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetProxyHeaderTargetTcpProxyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TargetTcpProxiesServer).SetProxyHeader(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.TargetTcpProxies/SetProxyHeader", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TargetTcpProxiesServer).SetProxyHeader(ctx, req.(*SetProxyHeaderTargetTcpProxyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _TargetTcpProxies_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.TargetTcpProxies", - HandlerType: (*TargetTcpProxiesServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "AggregatedList", - Handler: _TargetTcpProxies_AggregatedList_Handler, - }, - { - MethodName: "Delete", - Handler: _TargetTcpProxies_Delete_Handler, - }, - { - MethodName: "Get", - Handler: _TargetTcpProxies_Get_Handler, - }, - { - MethodName: "Insert", - Handler: _TargetTcpProxies_Insert_Handler, - }, - { - MethodName: "List", - Handler: _TargetTcpProxies_List_Handler, - }, - { - MethodName: "SetBackendService", - Handler: _TargetTcpProxies_SetBackendService_Handler, - }, - { - MethodName: "SetProxyHeader", - Handler: _TargetTcpProxies_SetProxyHeader_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} - -// TargetVpnGatewaysClient is the client API for TargetVpnGateways service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type TargetVpnGatewaysClient interface { - // Retrieves an aggregated list of target VPN gateways. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. - AggregatedList(ctx context.Context, in *AggregatedListTargetVpnGatewaysRequest, opts ...grpc.CallOption) (*TargetVpnGatewayAggregatedList, error) - // Deletes the specified target VPN gateway. - Delete(ctx context.Context, in *DeleteTargetVpnGatewayRequest, opts ...grpc.CallOption) (*Operation, error) - // Returns the specified target VPN gateway. - Get(ctx context.Context, in *GetTargetVpnGatewayRequest, opts ...grpc.CallOption) (*TargetVpnGateway, error) - // Creates a target VPN gateway in the specified project and region using the data included in the request. - Insert(ctx context.Context, in *InsertTargetVpnGatewayRequest, opts ...grpc.CallOption) (*Operation, error) - // Retrieves a list of target VPN gateways available to the specified project and region. - List(ctx context.Context, in *ListTargetVpnGatewaysRequest, opts ...grpc.CallOption) (*TargetVpnGatewayList, error) - // Sets the labels on a TargetVpnGateway. To learn more about labels, read the Labeling Resources documentation. - SetLabels(ctx context.Context, in *SetLabelsTargetVpnGatewayRequest, opts ...grpc.CallOption) (*Operation, error) -} - -type targetVpnGatewaysClient struct { - cc grpc.ClientConnInterface -} - -func NewTargetVpnGatewaysClient(cc grpc.ClientConnInterface) TargetVpnGatewaysClient { - return &targetVpnGatewaysClient{cc} -} - -func (c *targetVpnGatewaysClient) AggregatedList(ctx context.Context, in *AggregatedListTargetVpnGatewaysRequest, opts ...grpc.CallOption) (*TargetVpnGatewayAggregatedList, error) { - out := new(TargetVpnGatewayAggregatedList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.TargetVpnGateways/AggregatedList", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *targetVpnGatewaysClient) Delete(ctx context.Context, in *DeleteTargetVpnGatewayRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.TargetVpnGateways/Delete", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *targetVpnGatewaysClient) Get(ctx context.Context, in *GetTargetVpnGatewayRequest, opts ...grpc.CallOption) (*TargetVpnGateway, error) { - out := new(TargetVpnGateway) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.TargetVpnGateways/Get", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *targetVpnGatewaysClient) Insert(ctx context.Context, in *InsertTargetVpnGatewayRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.TargetVpnGateways/Insert", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *targetVpnGatewaysClient) List(ctx context.Context, in *ListTargetVpnGatewaysRequest, opts ...grpc.CallOption) (*TargetVpnGatewayList, error) { - out := new(TargetVpnGatewayList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.TargetVpnGateways/List", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *targetVpnGatewaysClient) SetLabels(ctx context.Context, in *SetLabelsTargetVpnGatewayRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.TargetVpnGateways/SetLabels", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// TargetVpnGatewaysServer is the server API for TargetVpnGateways service. -type TargetVpnGatewaysServer interface { - // Retrieves an aggregated list of target VPN gateways. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. - AggregatedList(context.Context, *AggregatedListTargetVpnGatewaysRequest) (*TargetVpnGatewayAggregatedList, error) - // Deletes the specified target VPN gateway. - Delete(context.Context, *DeleteTargetVpnGatewayRequest) (*Operation, error) - // Returns the specified target VPN gateway. - Get(context.Context, *GetTargetVpnGatewayRequest) (*TargetVpnGateway, error) - // Creates a target VPN gateway in the specified project and region using the data included in the request. - Insert(context.Context, *InsertTargetVpnGatewayRequest) (*Operation, error) - // Retrieves a list of target VPN gateways available to the specified project and region. - List(context.Context, *ListTargetVpnGatewaysRequest) (*TargetVpnGatewayList, error) - // Sets the labels on a TargetVpnGateway. To learn more about labels, read the Labeling Resources documentation. - SetLabels(context.Context, *SetLabelsTargetVpnGatewayRequest) (*Operation, error) -} - -// UnimplementedTargetVpnGatewaysServer can be embedded to have forward compatible implementations. -type UnimplementedTargetVpnGatewaysServer struct { -} - -func (*UnimplementedTargetVpnGatewaysServer) AggregatedList(context.Context, *AggregatedListTargetVpnGatewaysRequest) (*TargetVpnGatewayAggregatedList, error) { - return nil, status.Errorf(codes.Unimplemented, "method AggregatedList not implemented") -} -func (*UnimplementedTargetVpnGatewaysServer) Delete(context.Context, *DeleteTargetVpnGatewayRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") -} -func (*UnimplementedTargetVpnGatewaysServer) Get(context.Context, *GetTargetVpnGatewayRequest) (*TargetVpnGateway, error) { - return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") -} -func (*UnimplementedTargetVpnGatewaysServer) Insert(context.Context, *InsertTargetVpnGatewayRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Insert not implemented") -} -func (*UnimplementedTargetVpnGatewaysServer) List(context.Context, *ListTargetVpnGatewaysRequest) (*TargetVpnGatewayList, error) { - return nil, status.Errorf(codes.Unimplemented, "method List not implemented") -} -func (*UnimplementedTargetVpnGatewaysServer) SetLabels(context.Context, *SetLabelsTargetVpnGatewayRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetLabels not implemented") -} - -func RegisterTargetVpnGatewaysServer(s *grpc.Server, srv TargetVpnGatewaysServer) { - s.RegisterService(&_TargetVpnGateways_serviceDesc, srv) -} - -func _TargetVpnGateways_AggregatedList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AggregatedListTargetVpnGatewaysRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TargetVpnGatewaysServer).AggregatedList(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.TargetVpnGateways/AggregatedList", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TargetVpnGatewaysServer).AggregatedList(ctx, req.(*AggregatedListTargetVpnGatewaysRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _TargetVpnGateways_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteTargetVpnGatewayRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TargetVpnGatewaysServer).Delete(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.TargetVpnGateways/Delete", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TargetVpnGatewaysServer).Delete(ctx, req.(*DeleteTargetVpnGatewayRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _TargetVpnGateways_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetTargetVpnGatewayRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TargetVpnGatewaysServer).Get(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.TargetVpnGateways/Get", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TargetVpnGatewaysServer).Get(ctx, req.(*GetTargetVpnGatewayRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _TargetVpnGateways_Insert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(InsertTargetVpnGatewayRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TargetVpnGatewaysServer).Insert(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.TargetVpnGateways/Insert", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TargetVpnGatewaysServer).Insert(ctx, req.(*InsertTargetVpnGatewayRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _TargetVpnGateways_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListTargetVpnGatewaysRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TargetVpnGatewaysServer).List(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.TargetVpnGateways/List", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TargetVpnGatewaysServer).List(ctx, req.(*ListTargetVpnGatewaysRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _TargetVpnGateways_SetLabels_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetLabelsTargetVpnGatewayRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TargetVpnGatewaysServer).SetLabels(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.TargetVpnGateways/SetLabels", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TargetVpnGatewaysServer).SetLabels(ctx, req.(*SetLabelsTargetVpnGatewayRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _TargetVpnGateways_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.TargetVpnGateways", - HandlerType: (*TargetVpnGatewaysServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "AggregatedList", - Handler: _TargetVpnGateways_AggregatedList_Handler, - }, - { - MethodName: "Delete", - Handler: _TargetVpnGateways_Delete_Handler, - }, - { - MethodName: "Get", - Handler: _TargetVpnGateways_Get_Handler, - }, - { - MethodName: "Insert", - Handler: _TargetVpnGateways_Insert_Handler, - }, - { - MethodName: "List", - Handler: _TargetVpnGateways_List_Handler, - }, - { - MethodName: "SetLabels", - Handler: _TargetVpnGateways_SetLabels_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} - -// UrlMapsClient is the client API for UrlMaps service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type UrlMapsClient interface { - // Retrieves the list of all UrlMap resources, regional and global, available to the specified project. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. - AggregatedList(ctx context.Context, in *AggregatedListUrlMapsRequest, opts ...grpc.CallOption) (*UrlMapsAggregatedList, error) - // Deletes the specified UrlMap resource. - Delete(ctx context.Context, in *DeleteUrlMapRequest, opts ...grpc.CallOption) (*Operation, error) - // Returns the specified UrlMap resource. - Get(ctx context.Context, in *GetUrlMapRequest, opts ...grpc.CallOption) (*UrlMap, error) - // Creates a UrlMap resource in the specified project using the data included in the request. - Insert(ctx context.Context, in *InsertUrlMapRequest, opts ...grpc.CallOption) (*Operation, error) - // Initiates a cache invalidation operation, invalidating the specified path, scoped to the specified UrlMap. For more information, see [Invalidating cached content](/cdn/docs/invalidating-cached-content). - InvalidateCache(ctx context.Context, in *InvalidateCacheUrlMapRequest, opts ...grpc.CallOption) (*Operation, error) - // Retrieves the list of UrlMap resources available to the specified project. - List(ctx context.Context, in *ListUrlMapsRequest, opts ...grpc.CallOption) (*UrlMapList, error) - // Patches the specified UrlMap resource with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. - Patch(ctx context.Context, in *PatchUrlMapRequest, opts ...grpc.CallOption) (*Operation, error) - // Updates the specified UrlMap resource with the data included in the request. - Update(ctx context.Context, in *UpdateUrlMapRequest, opts ...grpc.CallOption) (*Operation, error) - // Runs static validation for the UrlMap. In particular, the tests of the provided UrlMap will be run. Calling this method does NOT create the UrlMap. - Validate(ctx context.Context, in *ValidateUrlMapRequest, opts ...grpc.CallOption) (*UrlMapsValidateResponse, error) -} - -type urlMapsClient struct { - cc grpc.ClientConnInterface -} - -func NewUrlMapsClient(cc grpc.ClientConnInterface) UrlMapsClient { - return &urlMapsClient{cc} -} - -func (c *urlMapsClient) AggregatedList(ctx context.Context, in *AggregatedListUrlMapsRequest, opts ...grpc.CallOption) (*UrlMapsAggregatedList, error) { - out := new(UrlMapsAggregatedList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.UrlMaps/AggregatedList", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *urlMapsClient) Delete(ctx context.Context, in *DeleteUrlMapRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.UrlMaps/Delete", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *urlMapsClient) Get(ctx context.Context, in *GetUrlMapRequest, opts ...grpc.CallOption) (*UrlMap, error) { - out := new(UrlMap) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.UrlMaps/Get", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *urlMapsClient) Insert(ctx context.Context, in *InsertUrlMapRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.UrlMaps/Insert", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *urlMapsClient) InvalidateCache(ctx context.Context, in *InvalidateCacheUrlMapRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.UrlMaps/InvalidateCache", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *urlMapsClient) List(ctx context.Context, in *ListUrlMapsRequest, opts ...grpc.CallOption) (*UrlMapList, error) { - out := new(UrlMapList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.UrlMaps/List", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *urlMapsClient) Patch(ctx context.Context, in *PatchUrlMapRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.UrlMaps/Patch", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *urlMapsClient) Update(ctx context.Context, in *UpdateUrlMapRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.UrlMaps/Update", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *urlMapsClient) Validate(ctx context.Context, in *ValidateUrlMapRequest, opts ...grpc.CallOption) (*UrlMapsValidateResponse, error) { - out := new(UrlMapsValidateResponse) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.UrlMaps/Validate", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// UrlMapsServer is the server API for UrlMaps service. -type UrlMapsServer interface { - // Retrieves the list of all UrlMap resources, regional and global, available to the specified project. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. - AggregatedList(context.Context, *AggregatedListUrlMapsRequest) (*UrlMapsAggregatedList, error) - // Deletes the specified UrlMap resource. - Delete(context.Context, *DeleteUrlMapRequest) (*Operation, error) - // Returns the specified UrlMap resource. - Get(context.Context, *GetUrlMapRequest) (*UrlMap, error) - // Creates a UrlMap resource in the specified project using the data included in the request. - Insert(context.Context, *InsertUrlMapRequest) (*Operation, error) - // Initiates a cache invalidation operation, invalidating the specified path, scoped to the specified UrlMap. For more information, see [Invalidating cached content](/cdn/docs/invalidating-cached-content). - InvalidateCache(context.Context, *InvalidateCacheUrlMapRequest) (*Operation, error) - // Retrieves the list of UrlMap resources available to the specified project. - List(context.Context, *ListUrlMapsRequest) (*UrlMapList, error) - // Patches the specified UrlMap resource with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. - Patch(context.Context, *PatchUrlMapRequest) (*Operation, error) - // Updates the specified UrlMap resource with the data included in the request. - Update(context.Context, *UpdateUrlMapRequest) (*Operation, error) - // Runs static validation for the UrlMap. In particular, the tests of the provided UrlMap will be run. Calling this method does NOT create the UrlMap. - Validate(context.Context, *ValidateUrlMapRequest) (*UrlMapsValidateResponse, error) -} - -// UnimplementedUrlMapsServer can be embedded to have forward compatible implementations. -type UnimplementedUrlMapsServer struct { -} - -func (*UnimplementedUrlMapsServer) AggregatedList(context.Context, *AggregatedListUrlMapsRequest) (*UrlMapsAggregatedList, error) { - return nil, status.Errorf(codes.Unimplemented, "method AggregatedList not implemented") -} -func (*UnimplementedUrlMapsServer) Delete(context.Context, *DeleteUrlMapRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") -} -func (*UnimplementedUrlMapsServer) Get(context.Context, *GetUrlMapRequest) (*UrlMap, error) { - return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") -} -func (*UnimplementedUrlMapsServer) Insert(context.Context, *InsertUrlMapRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Insert not implemented") -} -func (*UnimplementedUrlMapsServer) InvalidateCache(context.Context, *InvalidateCacheUrlMapRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method InvalidateCache not implemented") -} -func (*UnimplementedUrlMapsServer) List(context.Context, *ListUrlMapsRequest) (*UrlMapList, error) { - return nil, status.Errorf(codes.Unimplemented, "method List not implemented") -} -func (*UnimplementedUrlMapsServer) Patch(context.Context, *PatchUrlMapRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Patch not implemented") -} -func (*UnimplementedUrlMapsServer) Update(context.Context, *UpdateUrlMapRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Update not implemented") -} -func (*UnimplementedUrlMapsServer) Validate(context.Context, *ValidateUrlMapRequest) (*UrlMapsValidateResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Validate not implemented") -} - -func RegisterUrlMapsServer(s *grpc.Server, srv UrlMapsServer) { - s.RegisterService(&_UrlMaps_serviceDesc, srv) -} - -func _UrlMaps_AggregatedList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AggregatedListUrlMapsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(UrlMapsServer).AggregatedList(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.UrlMaps/AggregatedList", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(UrlMapsServer).AggregatedList(ctx, req.(*AggregatedListUrlMapsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _UrlMaps_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteUrlMapRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(UrlMapsServer).Delete(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.UrlMaps/Delete", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(UrlMapsServer).Delete(ctx, req.(*DeleteUrlMapRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _UrlMaps_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetUrlMapRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(UrlMapsServer).Get(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.UrlMaps/Get", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(UrlMapsServer).Get(ctx, req.(*GetUrlMapRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _UrlMaps_Insert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(InsertUrlMapRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(UrlMapsServer).Insert(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.UrlMaps/Insert", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(UrlMapsServer).Insert(ctx, req.(*InsertUrlMapRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _UrlMaps_InvalidateCache_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(InvalidateCacheUrlMapRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(UrlMapsServer).InvalidateCache(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.UrlMaps/InvalidateCache", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(UrlMapsServer).InvalidateCache(ctx, req.(*InvalidateCacheUrlMapRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _UrlMaps_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListUrlMapsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(UrlMapsServer).List(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.UrlMaps/List", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(UrlMapsServer).List(ctx, req.(*ListUrlMapsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _UrlMaps_Patch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PatchUrlMapRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(UrlMapsServer).Patch(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.UrlMaps/Patch", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(UrlMapsServer).Patch(ctx, req.(*PatchUrlMapRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _UrlMaps_Update_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateUrlMapRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(UrlMapsServer).Update(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.UrlMaps/Update", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(UrlMapsServer).Update(ctx, req.(*UpdateUrlMapRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _UrlMaps_Validate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ValidateUrlMapRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(UrlMapsServer).Validate(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.UrlMaps/Validate", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(UrlMapsServer).Validate(ctx, req.(*ValidateUrlMapRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _UrlMaps_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.UrlMaps", - HandlerType: (*UrlMapsServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "AggregatedList", - Handler: _UrlMaps_AggregatedList_Handler, - }, - { - MethodName: "Delete", - Handler: _UrlMaps_Delete_Handler, - }, - { - MethodName: "Get", - Handler: _UrlMaps_Get_Handler, - }, - { - MethodName: "Insert", - Handler: _UrlMaps_Insert_Handler, - }, - { - MethodName: "InvalidateCache", - Handler: _UrlMaps_InvalidateCache_Handler, - }, - { - MethodName: "List", - Handler: _UrlMaps_List_Handler, - }, - { - MethodName: "Patch", - Handler: _UrlMaps_Patch_Handler, - }, - { - MethodName: "Update", - Handler: _UrlMaps_Update_Handler, - }, - { - MethodName: "Validate", - Handler: _UrlMaps_Validate_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} - -// VpnGatewaysClient is the client API for VpnGateways service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type VpnGatewaysClient interface { - // Retrieves an aggregated list of VPN gateways. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. - AggregatedList(ctx context.Context, in *AggregatedListVpnGatewaysRequest, opts ...grpc.CallOption) (*VpnGatewayAggregatedList, error) - // Deletes the specified VPN gateway. - Delete(ctx context.Context, in *DeleteVpnGatewayRequest, opts ...grpc.CallOption) (*Operation, error) - // Returns the specified VPN gateway. - Get(ctx context.Context, in *GetVpnGatewayRequest, opts ...grpc.CallOption) (*VpnGateway, error) - // Returns the status for the specified VPN gateway. - GetStatus(ctx context.Context, in *GetStatusVpnGatewayRequest, opts ...grpc.CallOption) (*VpnGatewaysGetStatusResponse, error) - // Creates a VPN gateway in the specified project and region using the data included in the request. - Insert(ctx context.Context, in *InsertVpnGatewayRequest, opts ...grpc.CallOption) (*Operation, error) - // Retrieves a list of VPN gateways available to the specified project and region. - List(ctx context.Context, in *ListVpnGatewaysRequest, opts ...grpc.CallOption) (*VpnGatewayList, error) - // Sets the labels on a VpnGateway. To learn more about labels, read the Labeling Resources documentation. - SetLabels(ctx context.Context, in *SetLabelsVpnGatewayRequest, opts ...grpc.CallOption) (*Operation, error) - // Returns permissions that a caller has on the specified resource. - TestIamPermissions(ctx context.Context, in *TestIamPermissionsVpnGatewayRequest, opts ...grpc.CallOption) (*TestPermissionsResponse, error) -} - -type vpnGatewaysClient struct { - cc grpc.ClientConnInterface -} - -func NewVpnGatewaysClient(cc grpc.ClientConnInterface) VpnGatewaysClient { - return &vpnGatewaysClient{cc} -} - -func (c *vpnGatewaysClient) AggregatedList(ctx context.Context, in *AggregatedListVpnGatewaysRequest, opts ...grpc.CallOption) (*VpnGatewayAggregatedList, error) { - out := new(VpnGatewayAggregatedList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.VpnGateways/AggregatedList", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *vpnGatewaysClient) Delete(ctx context.Context, in *DeleteVpnGatewayRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.VpnGateways/Delete", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *vpnGatewaysClient) Get(ctx context.Context, in *GetVpnGatewayRequest, opts ...grpc.CallOption) (*VpnGateway, error) { - out := new(VpnGateway) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.VpnGateways/Get", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *vpnGatewaysClient) GetStatus(ctx context.Context, in *GetStatusVpnGatewayRequest, opts ...grpc.CallOption) (*VpnGatewaysGetStatusResponse, error) { - out := new(VpnGatewaysGetStatusResponse) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.VpnGateways/GetStatus", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *vpnGatewaysClient) Insert(ctx context.Context, in *InsertVpnGatewayRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.VpnGateways/Insert", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *vpnGatewaysClient) List(ctx context.Context, in *ListVpnGatewaysRequest, opts ...grpc.CallOption) (*VpnGatewayList, error) { - out := new(VpnGatewayList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.VpnGateways/List", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *vpnGatewaysClient) SetLabels(ctx context.Context, in *SetLabelsVpnGatewayRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.VpnGateways/SetLabels", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *vpnGatewaysClient) TestIamPermissions(ctx context.Context, in *TestIamPermissionsVpnGatewayRequest, opts ...grpc.CallOption) (*TestPermissionsResponse, error) { - out := new(TestPermissionsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.VpnGateways/TestIamPermissions", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// VpnGatewaysServer is the server API for VpnGateways service. -type VpnGatewaysServer interface { - // Retrieves an aggregated list of VPN gateways. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. - AggregatedList(context.Context, *AggregatedListVpnGatewaysRequest) (*VpnGatewayAggregatedList, error) - // Deletes the specified VPN gateway. - Delete(context.Context, *DeleteVpnGatewayRequest) (*Operation, error) - // Returns the specified VPN gateway. - Get(context.Context, *GetVpnGatewayRequest) (*VpnGateway, error) - // Returns the status for the specified VPN gateway. - GetStatus(context.Context, *GetStatusVpnGatewayRequest) (*VpnGatewaysGetStatusResponse, error) - // Creates a VPN gateway in the specified project and region using the data included in the request. - Insert(context.Context, *InsertVpnGatewayRequest) (*Operation, error) - // Retrieves a list of VPN gateways available to the specified project and region. - List(context.Context, *ListVpnGatewaysRequest) (*VpnGatewayList, error) - // Sets the labels on a VpnGateway. To learn more about labels, read the Labeling Resources documentation. - SetLabels(context.Context, *SetLabelsVpnGatewayRequest) (*Operation, error) - // Returns permissions that a caller has on the specified resource. - TestIamPermissions(context.Context, *TestIamPermissionsVpnGatewayRequest) (*TestPermissionsResponse, error) -} - -// UnimplementedVpnGatewaysServer can be embedded to have forward compatible implementations. -type UnimplementedVpnGatewaysServer struct { -} - -func (*UnimplementedVpnGatewaysServer) AggregatedList(context.Context, *AggregatedListVpnGatewaysRequest) (*VpnGatewayAggregatedList, error) { - return nil, status.Errorf(codes.Unimplemented, "method AggregatedList not implemented") -} -func (*UnimplementedVpnGatewaysServer) Delete(context.Context, *DeleteVpnGatewayRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") -} -func (*UnimplementedVpnGatewaysServer) Get(context.Context, *GetVpnGatewayRequest) (*VpnGateway, error) { - return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") -} -func (*UnimplementedVpnGatewaysServer) GetStatus(context.Context, *GetStatusVpnGatewayRequest) (*VpnGatewaysGetStatusResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetStatus not implemented") -} -func (*UnimplementedVpnGatewaysServer) Insert(context.Context, *InsertVpnGatewayRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Insert not implemented") -} -func (*UnimplementedVpnGatewaysServer) List(context.Context, *ListVpnGatewaysRequest) (*VpnGatewayList, error) { - return nil, status.Errorf(codes.Unimplemented, "method List not implemented") -} -func (*UnimplementedVpnGatewaysServer) SetLabels(context.Context, *SetLabelsVpnGatewayRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetLabels not implemented") -} -func (*UnimplementedVpnGatewaysServer) TestIamPermissions(context.Context, *TestIamPermissionsVpnGatewayRequest) (*TestPermissionsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method TestIamPermissions not implemented") -} - -func RegisterVpnGatewaysServer(s *grpc.Server, srv VpnGatewaysServer) { - s.RegisterService(&_VpnGateways_serviceDesc, srv) -} - -func _VpnGateways_AggregatedList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AggregatedListVpnGatewaysRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(VpnGatewaysServer).AggregatedList(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.VpnGateways/AggregatedList", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(VpnGatewaysServer).AggregatedList(ctx, req.(*AggregatedListVpnGatewaysRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _VpnGateways_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteVpnGatewayRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(VpnGatewaysServer).Delete(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.VpnGateways/Delete", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(VpnGatewaysServer).Delete(ctx, req.(*DeleteVpnGatewayRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _VpnGateways_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetVpnGatewayRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(VpnGatewaysServer).Get(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.VpnGateways/Get", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(VpnGatewaysServer).Get(ctx, req.(*GetVpnGatewayRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _VpnGateways_GetStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetStatusVpnGatewayRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(VpnGatewaysServer).GetStatus(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.VpnGateways/GetStatus", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(VpnGatewaysServer).GetStatus(ctx, req.(*GetStatusVpnGatewayRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _VpnGateways_Insert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(InsertVpnGatewayRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(VpnGatewaysServer).Insert(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.VpnGateways/Insert", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(VpnGatewaysServer).Insert(ctx, req.(*InsertVpnGatewayRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _VpnGateways_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListVpnGatewaysRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(VpnGatewaysServer).List(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.VpnGateways/List", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(VpnGatewaysServer).List(ctx, req.(*ListVpnGatewaysRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _VpnGateways_SetLabels_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetLabelsVpnGatewayRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(VpnGatewaysServer).SetLabels(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.VpnGateways/SetLabels", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(VpnGatewaysServer).SetLabels(ctx, req.(*SetLabelsVpnGatewayRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _VpnGateways_TestIamPermissions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(TestIamPermissionsVpnGatewayRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(VpnGatewaysServer).TestIamPermissions(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.VpnGateways/TestIamPermissions", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(VpnGatewaysServer).TestIamPermissions(ctx, req.(*TestIamPermissionsVpnGatewayRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _VpnGateways_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.VpnGateways", - HandlerType: (*VpnGatewaysServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "AggregatedList", - Handler: _VpnGateways_AggregatedList_Handler, - }, - { - MethodName: "Delete", - Handler: _VpnGateways_Delete_Handler, - }, - { - MethodName: "Get", - Handler: _VpnGateways_Get_Handler, - }, - { - MethodName: "GetStatus", - Handler: _VpnGateways_GetStatus_Handler, - }, - { - MethodName: "Insert", - Handler: _VpnGateways_Insert_Handler, - }, - { - MethodName: "List", - Handler: _VpnGateways_List_Handler, - }, - { - MethodName: "SetLabels", - Handler: _VpnGateways_SetLabels_Handler, - }, - { - MethodName: "TestIamPermissions", - Handler: _VpnGateways_TestIamPermissions_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} - -// VpnTunnelsClient is the client API for VpnTunnels service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type VpnTunnelsClient interface { - // Retrieves an aggregated list of VPN tunnels. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. - AggregatedList(ctx context.Context, in *AggregatedListVpnTunnelsRequest, opts ...grpc.CallOption) (*VpnTunnelAggregatedList, error) - // Deletes the specified VpnTunnel resource. - Delete(ctx context.Context, in *DeleteVpnTunnelRequest, opts ...grpc.CallOption) (*Operation, error) - // Returns the specified VpnTunnel resource. - Get(ctx context.Context, in *GetVpnTunnelRequest, opts ...grpc.CallOption) (*VpnTunnel, error) - // Creates a VpnTunnel resource in the specified project and region using the data included in the request. - Insert(ctx context.Context, in *InsertVpnTunnelRequest, opts ...grpc.CallOption) (*Operation, error) - // Retrieves a list of VpnTunnel resources contained in the specified project and region. - List(ctx context.Context, in *ListVpnTunnelsRequest, opts ...grpc.CallOption) (*VpnTunnelList, error) - // Sets the labels on a VpnTunnel. To learn more about labels, read the Labeling Resources documentation. - SetLabels(ctx context.Context, in *SetLabelsVpnTunnelRequest, opts ...grpc.CallOption) (*Operation, error) -} - -type vpnTunnelsClient struct { - cc grpc.ClientConnInterface -} - -func NewVpnTunnelsClient(cc grpc.ClientConnInterface) VpnTunnelsClient { - return &vpnTunnelsClient{cc} -} - -func (c *vpnTunnelsClient) AggregatedList(ctx context.Context, in *AggregatedListVpnTunnelsRequest, opts ...grpc.CallOption) (*VpnTunnelAggregatedList, error) { - out := new(VpnTunnelAggregatedList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.VpnTunnels/AggregatedList", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *vpnTunnelsClient) Delete(ctx context.Context, in *DeleteVpnTunnelRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.VpnTunnels/Delete", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *vpnTunnelsClient) Get(ctx context.Context, in *GetVpnTunnelRequest, opts ...grpc.CallOption) (*VpnTunnel, error) { - out := new(VpnTunnel) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.VpnTunnels/Get", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *vpnTunnelsClient) Insert(ctx context.Context, in *InsertVpnTunnelRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.VpnTunnels/Insert", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *vpnTunnelsClient) List(ctx context.Context, in *ListVpnTunnelsRequest, opts ...grpc.CallOption) (*VpnTunnelList, error) { - out := new(VpnTunnelList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.VpnTunnels/List", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *vpnTunnelsClient) SetLabels(ctx context.Context, in *SetLabelsVpnTunnelRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.VpnTunnels/SetLabels", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// VpnTunnelsServer is the server API for VpnTunnels service. -type VpnTunnelsServer interface { - // Retrieves an aggregated list of VPN tunnels. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. - AggregatedList(context.Context, *AggregatedListVpnTunnelsRequest) (*VpnTunnelAggregatedList, error) - // Deletes the specified VpnTunnel resource. - Delete(context.Context, *DeleteVpnTunnelRequest) (*Operation, error) - // Returns the specified VpnTunnel resource. - Get(context.Context, *GetVpnTunnelRequest) (*VpnTunnel, error) - // Creates a VpnTunnel resource in the specified project and region using the data included in the request. - Insert(context.Context, *InsertVpnTunnelRequest) (*Operation, error) - // Retrieves a list of VpnTunnel resources contained in the specified project and region. - List(context.Context, *ListVpnTunnelsRequest) (*VpnTunnelList, error) - // Sets the labels on a VpnTunnel. To learn more about labels, read the Labeling Resources documentation. - SetLabels(context.Context, *SetLabelsVpnTunnelRequest) (*Operation, error) -} - -// UnimplementedVpnTunnelsServer can be embedded to have forward compatible implementations. -type UnimplementedVpnTunnelsServer struct { -} - -func (*UnimplementedVpnTunnelsServer) AggregatedList(context.Context, *AggregatedListVpnTunnelsRequest) (*VpnTunnelAggregatedList, error) { - return nil, status.Errorf(codes.Unimplemented, "method AggregatedList not implemented") -} -func (*UnimplementedVpnTunnelsServer) Delete(context.Context, *DeleteVpnTunnelRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") -} -func (*UnimplementedVpnTunnelsServer) Get(context.Context, *GetVpnTunnelRequest) (*VpnTunnel, error) { - return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") -} -func (*UnimplementedVpnTunnelsServer) Insert(context.Context, *InsertVpnTunnelRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Insert not implemented") -} -func (*UnimplementedVpnTunnelsServer) List(context.Context, *ListVpnTunnelsRequest) (*VpnTunnelList, error) { - return nil, status.Errorf(codes.Unimplemented, "method List not implemented") -} -func (*UnimplementedVpnTunnelsServer) SetLabels(context.Context, *SetLabelsVpnTunnelRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetLabels not implemented") -} - -func RegisterVpnTunnelsServer(s *grpc.Server, srv VpnTunnelsServer) { - s.RegisterService(&_VpnTunnels_serviceDesc, srv) -} - -func _VpnTunnels_AggregatedList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AggregatedListVpnTunnelsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(VpnTunnelsServer).AggregatedList(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.VpnTunnels/AggregatedList", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(VpnTunnelsServer).AggregatedList(ctx, req.(*AggregatedListVpnTunnelsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _VpnTunnels_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteVpnTunnelRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(VpnTunnelsServer).Delete(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.VpnTunnels/Delete", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(VpnTunnelsServer).Delete(ctx, req.(*DeleteVpnTunnelRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _VpnTunnels_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetVpnTunnelRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(VpnTunnelsServer).Get(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.VpnTunnels/Get", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(VpnTunnelsServer).Get(ctx, req.(*GetVpnTunnelRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _VpnTunnels_Insert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(InsertVpnTunnelRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(VpnTunnelsServer).Insert(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.VpnTunnels/Insert", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(VpnTunnelsServer).Insert(ctx, req.(*InsertVpnTunnelRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _VpnTunnels_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListVpnTunnelsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(VpnTunnelsServer).List(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.VpnTunnels/List", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(VpnTunnelsServer).List(ctx, req.(*ListVpnTunnelsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _VpnTunnels_SetLabels_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetLabelsVpnTunnelRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(VpnTunnelsServer).SetLabels(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.VpnTunnels/SetLabels", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(VpnTunnelsServer).SetLabels(ctx, req.(*SetLabelsVpnTunnelRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _VpnTunnels_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.VpnTunnels", - HandlerType: (*VpnTunnelsServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "AggregatedList", - Handler: _VpnTunnels_AggregatedList_Handler, - }, - { - MethodName: "Delete", - Handler: _VpnTunnels_Delete_Handler, - }, - { - MethodName: "Get", - Handler: _VpnTunnels_Get_Handler, - }, - { - MethodName: "Insert", - Handler: _VpnTunnels_Insert_Handler, - }, - { - MethodName: "List", - Handler: _VpnTunnels_List_Handler, - }, - { - MethodName: "SetLabels", - Handler: _VpnTunnels_SetLabels_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} - -// ZoneOperationsClient is the client API for ZoneOperations service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type ZoneOperationsClient interface { - // Deletes the specified zone-specific Operations resource. - Delete(ctx context.Context, in *DeleteZoneOperationRequest, opts ...grpc.CallOption) (*DeleteZoneOperationResponse, error) - // Retrieves the specified zone-specific Operations resource. - Get(ctx context.Context, in *GetZoneOperationRequest, opts ...grpc.CallOption) (*Operation, error) - // Retrieves a list of Operation resources contained within the specified zone. - List(ctx context.Context, in *ListZoneOperationsRequest, opts ...grpc.CallOption) (*OperationList, error) - // Waits for the specified Operation resource to return as `DONE` or for the request to approach the 2 minute deadline, and retrieves the specified Operation resource. This method waits for no more than the 2 minutes and then returns the current state of the operation, which might be `DONE` or still in progress. This method is called on a best-effort basis. Specifically: - In uncommon cases, when the server is overloaded, the request might return before the default deadline is reached, or might return after zero seconds. - If the default deadline is reached, there is no guarantee that the operation is actually done when the method returns. Be prepared to retry if the operation is not `DONE`. - Wait(ctx context.Context, in *WaitZoneOperationRequest, opts ...grpc.CallOption) (*Operation, error) -} - -type zoneOperationsClient struct { - cc grpc.ClientConnInterface -} - -func NewZoneOperationsClient(cc grpc.ClientConnInterface) ZoneOperationsClient { - return &zoneOperationsClient{cc} -} - -func (c *zoneOperationsClient) Delete(ctx context.Context, in *DeleteZoneOperationRequest, opts ...grpc.CallOption) (*DeleteZoneOperationResponse, error) { - out := new(DeleteZoneOperationResponse) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.ZoneOperations/Delete", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *zoneOperationsClient) Get(ctx context.Context, in *GetZoneOperationRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.ZoneOperations/Get", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *zoneOperationsClient) List(ctx context.Context, in *ListZoneOperationsRequest, opts ...grpc.CallOption) (*OperationList, error) { - out := new(OperationList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.ZoneOperations/List", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *zoneOperationsClient) Wait(ctx context.Context, in *WaitZoneOperationRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.ZoneOperations/Wait", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// ZoneOperationsServer is the server API for ZoneOperations service. -type ZoneOperationsServer interface { - // Deletes the specified zone-specific Operations resource. - Delete(context.Context, *DeleteZoneOperationRequest) (*DeleteZoneOperationResponse, error) - // Retrieves the specified zone-specific Operations resource. - Get(context.Context, *GetZoneOperationRequest) (*Operation, error) - // Retrieves a list of Operation resources contained within the specified zone. - List(context.Context, *ListZoneOperationsRequest) (*OperationList, error) - // Waits for the specified Operation resource to return as `DONE` or for the request to approach the 2 minute deadline, and retrieves the specified Operation resource. This method waits for no more than the 2 minutes and then returns the current state of the operation, which might be `DONE` or still in progress. This method is called on a best-effort basis. Specifically: - In uncommon cases, when the server is overloaded, the request might return before the default deadline is reached, or might return after zero seconds. - If the default deadline is reached, there is no guarantee that the operation is actually done when the method returns. Be prepared to retry if the operation is not `DONE`. - Wait(context.Context, *WaitZoneOperationRequest) (*Operation, error) -} - -// UnimplementedZoneOperationsServer can be embedded to have forward compatible implementations. -type UnimplementedZoneOperationsServer struct { -} - -func (*UnimplementedZoneOperationsServer) Delete(context.Context, *DeleteZoneOperationRequest) (*DeleteZoneOperationResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") -} -func (*UnimplementedZoneOperationsServer) Get(context.Context, *GetZoneOperationRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") -} -func (*UnimplementedZoneOperationsServer) List(context.Context, *ListZoneOperationsRequest) (*OperationList, error) { - return nil, status.Errorf(codes.Unimplemented, "method List not implemented") -} -func (*UnimplementedZoneOperationsServer) Wait(context.Context, *WaitZoneOperationRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method Wait not implemented") -} - -func RegisterZoneOperationsServer(s *grpc.Server, srv ZoneOperationsServer) { - s.RegisterService(&_ZoneOperations_serviceDesc, srv) -} - -func _ZoneOperations_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteZoneOperationRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ZoneOperationsServer).Delete(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.ZoneOperations/Delete", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ZoneOperationsServer).Delete(ctx, req.(*DeleteZoneOperationRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ZoneOperations_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetZoneOperationRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ZoneOperationsServer).Get(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.ZoneOperations/Get", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ZoneOperationsServer).Get(ctx, req.(*GetZoneOperationRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ZoneOperations_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListZoneOperationsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ZoneOperationsServer).List(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.ZoneOperations/List", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ZoneOperationsServer).List(ctx, req.(*ListZoneOperationsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ZoneOperations_Wait_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(WaitZoneOperationRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ZoneOperationsServer).Wait(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.ZoneOperations/Wait", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ZoneOperationsServer).Wait(ctx, req.(*WaitZoneOperationRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _ZoneOperations_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.ZoneOperations", - HandlerType: (*ZoneOperationsServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "Delete", - Handler: _ZoneOperations_Delete_Handler, - }, - { - MethodName: "Get", - Handler: _ZoneOperations_Get_Handler, - }, - { - MethodName: "List", - Handler: _ZoneOperations_List_Handler, - }, - { - MethodName: "Wait", - Handler: _ZoneOperations_Wait_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} - -// ZonesClient is the client API for Zones service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type ZonesClient interface { - // Returns the specified Zone resource. - Get(ctx context.Context, in *GetZoneRequest, opts ...grpc.CallOption) (*Zone, error) - // Retrieves the list of Zone resources available to the specified project. - List(ctx context.Context, in *ListZonesRequest, opts ...grpc.CallOption) (*ZoneList, error) -} - -type zonesClient struct { - cc grpc.ClientConnInterface -} - -func NewZonesClient(cc grpc.ClientConnInterface) ZonesClient { - return &zonesClient{cc} -} - -func (c *zonesClient) Get(ctx context.Context, in *GetZoneRequest, opts ...grpc.CallOption) (*Zone, error) { - out := new(Zone) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Zones/Get", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *zonesClient) List(ctx context.Context, in *ListZonesRequest, opts ...grpc.CallOption) (*ZoneList, error) { - out := new(ZoneList) - err := c.cc.Invoke(ctx, "/google.cloud.compute.v1.Zones/List", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// ZonesServer is the server API for Zones service. -type ZonesServer interface { - // Returns the specified Zone resource. - Get(context.Context, *GetZoneRequest) (*Zone, error) - // Retrieves the list of Zone resources available to the specified project. - List(context.Context, *ListZonesRequest) (*ZoneList, error) -} - -// UnimplementedZonesServer can be embedded to have forward compatible implementations. -type UnimplementedZonesServer struct { -} - -func (*UnimplementedZonesServer) Get(context.Context, *GetZoneRequest) (*Zone, error) { - return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") -} -func (*UnimplementedZonesServer) List(context.Context, *ListZonesRequest) (*ZoneList, error) { - return nil, status.Errorf(codes.Unimplemented, "method List not implemented") -} - -func RegisterZonesServer(s *grpc.Server, srv ZonesServer) { - s.RegisterService(&_Zones_serviceDesc, srv) -} - -func _Zones_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetZoneRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ZonesServer).Get(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Zones/Get", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ZonesServer).Get(ctx, req.(*GetZoneRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Zones_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListZonesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ZonesServer).List(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.compute.v1.Zones/List", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ZonesServer).List(ctx, req.(*ListZonesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _Zones_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.compute.v1.Zones", - HandlerType: (*ZonesServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "Get", - Handler: _Zones_Get_Handler, - }, - { - MethodName: "List", - Handler: _Zones_List_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/compute/v1/compute.proto", -} diff --git a/compute/apiv1/image_family_views_client_example_go123_test.go b/compute/apiv1/image_family_views_client_example_go123_test.go index 6f8858b6c7a7..30ce6043e6ba 100644 --- a/compute/apiv1/image_family_views_client_example_go123_test.go +++ b/compute/apiv1/image_family_views_client_example_go123_test.go @@ -17,3 +17,7 @@ //go:build go1.23 package compute_test + +import ( + compute "cloud.google.com/go/compute/apiv1" +) diff --git a/compute/apiv1/instance_settings_client_example_go123_test.go b/compute/apiv1/instance_settings_client_example_go123_test.go index 6f8858b6c7a7..30ce6043e6ba 100644 --- a/compute/apiv1/instance_settings_client_example_go123_test.go +++ b/compute/apiv1/instance_settings_client_example_go123_test.go @@ -17,3 +17,7 @@ //go:build go1.23 package compute_test + +import ( + compute "cloud.google.com/go/compute/apiv1" +) diff --git a/compute/apiv1/license_codes_client_example_go123_test.go b/compute/apiv1/license_codes_client_example_go123_test.go index 6f8858b6c7a7..30ce6043e6ba 100644 --- a/compute/apiv1/license_codes_client_example_go123_test.go +++ b/compute/apiv1/license_codes_client_example_go123_test.go @@ -17,3 +17,7 @@ //go:build go1.23 package compute_test + +import ( + compute "cloud.google.com/go/compute/apiv1" +) diff --git a/compute/apiv1/region_instances_client_example_go123_test.go b/compute/apiv1/region_instances_client_example_go123_test.go index 6f8858b6c7a7..30ce6043e6ba 100644 --- a/compute/apiv1/region_instances_client_example_go123_test.go +++ b/compute/apiv1/region_instances_client_example_go123_test.go @@ -17,3 +17,7 @@ //go:build go1.23 package compute_test + +import ( + compute "cloud.google.com/go/compute/apiv1" +) diff --git a/compute/apiv1/snapshot_settings_client_example_go123_test.go b/compute/apiv1/snapshot_settings_client_example_go123_test.go index 6f8858b6c7a7..30ce6043e6ba 100644 --- a/compute/apiv1/snapshot_settings_client_example_go123_test.go +++ b/compute/apiv1/snapshot_settings_client_example_go123_test.go @@ -17,3 +17,7 @@ //go:build go1.23 package compute_test + +import ( + compute "cloud.google.com/go/compute/apiv1" +) diff --git a/confidentialcomputing/apiv1/confidentialcomputingpb/service.pb.go b/confidentialcomputing/apiv1/confidentialcomputingpb/service.pb.go index 44313ffd991d..a3d9cc0f7846 100755 --- a/confidentialcomputing/apiv1/confidentialcomputingpb/service.pb.go +++ b/confidentialcomputing/apiv1/confidentialcomputingpb/service.pb.go @@ -22,9 +22,6 @@ package confidentialcomputingpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -33,6 +30,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/confidentialcomputing/apiv1alpha1/confidentialcomputingpb/service.pb.go b/confidentialcomputing/apiv1alpha1/confidentialcomputingpb/service.pb.go index 56bfa2f69b79..0ec9702356eb 100755 --- a/confidentialcomputing/apiv1alpha1/confidentialcomputingpb/service.pb.go +++ b/confidentialcomputing/apiv1alpha1/confidentialcomputingpb/service.pb.go @@ -22,9 +22,6 @@ package confidentialcomputingpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/config/apiv1/configpb/config.pb.go b/config/apiv1/configpb/config.pb.go index f15554a4a3ab..8b586fa863ff 100755 --- a/config/apiv1/configpb/config.pb.go +++ b/config/apiv1/configpb/config.pb.go @@ -21,11 +21,8 @@ package configpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -37,6 +34,8 @@ import ( fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/contactcenterinsights/apiv1/contactcenterinsightspb/contact_center_insights.pb.go b/contactcenterinsights/apiv1/contactcenterinsightspb/contact_center_insights.pb.go index a60925e0eed6..45025860e3e2 100755 --- a/contactcenterinsights/apiv1/contactcenterinsightspb/contact_center_insights.pb.go +++ b/contactcenterinsights/apiv1/contactcenterinsightspb/contact_center_insights.pb.go @@ -21,11 +21,8 @@ package contactcenterinsightspb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -37,6 +34,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/contactcenterinsights/apiv1/contactcenterinsightspb/resources.pb.go b/contactcenterinsights/apiv1/contactcenterinsightspb/resources.pb.go index 72e5e8bb1912..6c7784b18276 100755 --- a/contactcenterinsights/apiv1/contactcenterinsightspb/resources.pb.go +++ b/contactcenterinsights/apiv1/contactcenterinsightspb/resources.pb.go @@ -21,14 +21,13 @@ package contactcenterinsightspb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/container/apiv1/containerpb/cluster_service.pb.go b/container/apiv1/containerpb/cluster_service.pb.go index 9dcda8374fc5..badf559614e6 100755 --- a/container/apiv1/containerpb/cluster_service.pb.go +++ b/container/apiv1/containerpb/cluster_service.pb.go @@ -22,9 +22,6 @@ package containerpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" code "google.golang.org/genproto/googleapis/rpc/code" status "google.golang.org/genproto/googleapis/rpc/status" @@ -37,6 +34,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( diff --git a/containeranalysis/apiv1beta1/container_analysis_v1_beta1_client_example_go123_test.go b/containeranalysis/apiv1beta1/container_analysis_v1_beta1_client_example_go123_test.go index 35f8b1b619f3..5ab9fb140e27 100644 --- a/containeranalysis/apiv1beta1/container_analysis_v1_beta1_client_example_go123_test.go +++ b/containeranalysis/apiv1beta1/container_analysis_v1_beta1_client_example_go123_test.go @@ -17,3 +17,7 @@ //go:build go1.23 package containeranalysis_test + +import ( + containeranalysis "cloud.google.com/go/containeranalysis/apiv1beta1" +) diff --git a/containeranalysis/apiv1beta1/containeranalysispb/containeranalysis.pb.go b/containeranalysis/apiv1beta1/containeranalysispb/containeranalysis.pb.go index 3141b15cfecd..4887ee26b4a7 100755 --- a/containeranalysis/apiv1beta1/containeranalysispb/containeranalysis.pb.go +++ b/containeranalysis/apiv1beta1/containeranalysispb/containeranalysis.pb.go @@ -21,17 +21,16 @@ package containeranalysispb import ( - context "context" - reflect "reflect" - sync "sync" - iampb "cloud.google.com/go/iam/apiv1/iampb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/datacatalog/apiv1/datacatalogpb/bigquery.pb.go b/datacatalog/apiv1/datacatalogpb/bigquery.pb.go index 2bb5a5c246f6..1ceab0cfc9b5 100755 --- a/datacatalog/apiv1/datacatalogpb/bigquery.pb.go +++ b/datacatalog/apiv1/datacatalogpb/bigquery.pb.go @@ -21,12 +21,11 @@ package datacatalogpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/datacatalog/apiv1/datacatalogpb/common.pb.go b/datacatalog/apiv1/datacatalogpb/common.pb.go index 0168ce74cf1c..2e6ff11bb8e4 100755 --- a/datacatalog/apiv1/datacatalogpb/common.pb.go +++ b/datacatalog/apiv1/datacatalogpb/common.pb.go @@ -21,12 +21,11 @@ package datacatalogpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/datacatalog/apiv1/datacatalogpb/data_source.pb.go b/datacatalog/apiv1/datacatalogpb/data_source.pb.go index d94fa5b11050..45ffc3c21d37 100755 --- a/datacatalog/apiv1/datacatalogpb/data_source.pb.go +++ b/datacatalog/apiv1/datacatalogpb/data_source.pb.go @@ -21,12 +21,11 @@ package datacatalogpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/datacatalog/apiv1/datacatalogpb/datacatalog.pb.go b/datacatalog/apiv1/datacatalogpb/datacatalog.pb.go index bf67c852b791..459152851458 100755 --- a/datacatalog/apiv1/datacatalogpb/datacatalog.pb.go +++ b/datacatalog/apiv1/datacatalogpb/datacatalog.pb.go @@ -21,12 +21,9 @@ package datacatalogpb import ( - context "context" - reflect "reflect" - sync "sync" - iampb "cloud.google.com/go/iam/apiv1/iampb" longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -36,6 +33,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/datacatalog/apiv1/datacatalogpb/dataplex_spec.pb.go b/datacatalog/apiv1/datacatalogpb/dataplex_spec.pb.go index e1816cdb659d..afac310ebea7 100755 --- a/datacatalog/apiv1/datacatalogpb/dataplex_spec.pb.go +++ b/datacatalog/apiv1/datacatalogpb/dataplex_spec.pb.go @@ -21,11 +21,10 @@ package datacatalogpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/datacatalog/apiv1/datacatalogpb/dump_content.pb.go b/datacatalog/apiv1/datacatalogpb/dump_content.pb.go index aea54e1d481f..394ce5ef2445 100755 --- a/datacatalog/apiv1/datacatalogpb/dump_content.pb.go +++ b/datacatalog/apiv1/datacatalogpb/dump_content.pb.go @@ -21,12 +21,11 @@ package datacatalogpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/datacatalog/apiv1/datacatalogpb/gcs_fileset_spec.pb.go b/datacatalog/apiv1/datacatalogpb/gcs_fileset_spec.pb.go index 357561d38d0c..814f6e1eb98d 100755 --- a/datacatalog/apiv1/datacatalogpb/gcs_fileset_spec.pb.go +++ b/datacatalog/apiv1/datacatalogpb/gcs_fileset_spec.pb.go @@ -21,12 +21,11 @@ package datacatalogpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/datacatalog/apiv1/datacatalogpb/physical_schema.pb.go b/datacatalog/apiv1/datacatalogpb/physical_schema.pb.go index 98dbb017f4d0..f0cd43f9e681 100755 --- a/datacatalog/apiv1/datacatalogpb/physical_schema.pb.go +++ b/datacatalog/apiv1/datacatalogpb/physical_schema.pb.go @@ -21,11 +21,10 @@ package datacatalogpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/datacatalog/apiv1/datacatalogpb/policytagmanager.pb.go b/datacatalog/apiv1/datacatalogpb/policytagmanager.pb.go index a5419ed7b9da..06c9e1f156ae 100755 --- a/datacatalog/apiv1/datacatalogpb/policytagmanager.pb.go +++ b/datacatalog/apiv1/datacatalogpb/policytagmanager.pb.go @@ -21,11 +21,8 @@ package datacatalogpb import ( - context "context" - reflect "reflect" - sync "sync" - iampb "cloud.google.com/go/iam/apiv1/iampb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/datacatalog/apiv1/datacatalogpb/policytagmanagerserialization.pb.go b/datacatalog/apiv1/datacatalogpb/policytagmanagerserialization.pb.go index 1c4ee1fc9c43..51a3e95a0aca 100755 --- a/datacatalog/apiv1/datacatalogpb/policytagmanagerserialization.pb.go +++ b/datacatalog/apiv1/datacatalogpb/policytagmanagerserialization.pb.go @@ -22,15 +22,14 @@ package datacatalogpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/datacatalog/apiv1/datacatalogpb/schema.pb.go b/datacatalog/apiv1/datacatalogpb/schema.pb.go index 5b3bd49d3320..27472cc2773d 100755 --- a/datacatalog/apiv1/datacatalogpb/schema.pb.go +++ b/datacatalog/apiv1/datacatalogpb/schema.pb.go @@ -21,12 +21,11 @@ package datacatalogpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/datacatalog/apiv1/datacatalogpb/search.pb.go b/datacatalog/apiv1/datacatalogpb/search.pb.go index 68c2638ce0da..dc63aeda6410 100755 --- a/datacatalog/apiv1/datacatalogpb/search.pb.go +++ b/datacatalog/apiv1/datacatalogpb/search.pb.go @@ -21,13 +21,12 @@ package datacatalogpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/datacatalog/apiv1/datacatalogpb/table_spec.pb.go b/datacatalog/apiv1/datacatalogpb/table_spec.pb.go index 4ce7621698be..cd8739d3ac51 100755 --- a/datacatalog/apiv1/datacatalogpb/table_spec.pb.go +++ b/datacatalog/apiv1/datacatalogpb/table_spec.pb.go @@ -21,12 +21,11 @@ package datacatalogpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/datacatalog/apiv1/datacatalogpb/tags.pb.go b/datacatalog/apiv1/datacatalogpb/tags.pb.go index 984e0b0510dd..3ff711e21e1b 100755 --- a/datacatalog/apiv1/datacatalogpb/tags.pb.go +++ b/datacatalog/apiv1/datacatalogpb/tags.pb.go @@ -21,13 +21,12 @@ package datacatalogpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/datacatalog/apiv1/datacatalogpb/timestamps.pb.go b/datacatalog/apiv1/datacatalogpb/timestamps.pb.go index aa40a5e72949..efce5869a6e8 100755 --- a/datacatalog/apiv1/datacatalogpb/timestamps.pb.go +++ b/datacatalog/apiv1/datacatalogpb/timestamps.pb.go @@ -21,13 +21,12 @@ package datacatalogpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/datacatalog/apiv1/datacatalogpb/usage.pb.go b/datacatalog/apiv1/datacatalogpb/usage.pb.go index 52eef1448477..d40b4c744f40 100755 --- a/datacatalog/apiv1/datacatalogpb/usage.pb.go +++ b/datacatalog/apiv1/datacatalogpb/usage.pb.go @@ -21,13 +21,12 @@ package datacatalogpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/datacatalog/apiv1beta1/datacatalogpb/common.pb.go b/datacatalog/apiv1beta1/datacatalogpb/common.pb.go index e08116c86c91..8b56ccbb2b43 100755 --- a/datacatalog/apiv1beta1/datacatalogpb/common.pb.go +++ b/datacatalog/apiv1beta1/datacatalogpb/common.pb.go @@ -21,11 +21,10 @@ package datacatalogpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/datacatalog/apiv1beta1/datacatalogpb/datacatalog.pb.go b/datacatalog/apiv1beta1/datacatalogpb/datacatalog.pb.go index 2456752cebeb..8ac7c8b27059 100755 --- a/datacatalog/apiv1beta1/datacatalogpb/datacatalog.pb.go +++ b/datacatalog/apiv1beta1/datacatalogpb/datacatalog.pb.go @@ -21,11 +21,8 @@ package datacatalogpb import ( - context "context" - reflect "reflect" - sync "sync" - iampb "cloud.google.com/go/iam/apiv1/iampb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/datacatalog/apiv1beta1/datacatalogpb/gcs_fileset_spec.pb.go b/datacatalog/apiv1beta1/datacatalogpb/gcs_fileset_spec.pb.go index 650804bd0243..795bd74c29d5 100755 --- a/datacatalog/apiv1beta1/datacatalogpb/gcs_fileset_spec.pb.go +++ b/datacatalog/apiv1beta1/datacatalogpb/gcs_fileset_spec.pb.go @@ -21,12 +21,11 @@ package datacatalogpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/datacatalog/apiv1beta1/datacatalogpb/policytagmanager.pb.go b/datacatalog/apiv1beta1/datacatalogpb/policytagmanager.pb.go index 478991612d2c..1fe9c060858d 100755 --- a/datacatalog/apiv1beta1/datacatalogpb/policytagmanager.pb.go +++ b/datacatalog/apiv1beta1/datacatalogpb/policytagmanager.pb.go @@ -21,11 +21,8 @@ package datacatalogpb import ( - context "context" - reflect "reflect" - sync "sync" - iampb "cloud.google.com/go/iam/apiv1/iampb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/datacatalog/apiv1beta1/datacatalogpb/policytagmanagerserialization.pb.go b/datacatalog/apiv1beta1/datacatalogpb/policytagmanagerserialization.pb.go index f887e486be2d..cc6a6e985e91 100755 --- a/datacatalog/apiv1beta1/datacatalogpb/policytagmanagerserialization.pb.go +++ b/datacatalog/apiv1beta1/datacatalogpb/policytagmanagerserialization.pb.go @@ -22,15 +22,14 @@ package datacatalogpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/datacatalog/apiv1beta1/datacatalogpb/schema.pb.go b/datacatalog/apiv1beta1/datacatalogpb/schema.pb.go index 5953907653be..624aaddb637d 100755 --- a/datacatalog/apiv1beta1/datacatalogpb/schema.pb.go +++ b/datacatalog/apiv1beta1/datacatalogpb/schema.pb.go @@ -21,12 +21,11 @@ package datacatalogpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/datacatalog/apiv1beta1/datacatalogpb/search.pb.go b/datacatalog/apiv1beta1/datacatalogpb/search.pb.go index 30de752a06a2..84e38eadb24e 100755 --- a/datacatalog/apiv1beta1/datacatalogpb/search.pb.go +++ b/datacatalog/apiv1beta1/datacatalogpb/search.pb.go @@ -21,13 +21,12 @@ package datacatalogpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/datacatalog/apiv1beta1/datacatalogpb/table_spec.pb.go b/datacatalog/apiv1beta1/datacatalogpb/table_spec.pb.go index 206df881ca79..0692b0c72cf7 100755 --- a/datacatalog/apiv1beta1/datacatalogpb/table_spec.pb.go +++ b/datacatalog/apiv1beta1/datacatalogpb/table_spec.pb.go @@ -21,12 +21,11 @@ package datacatalogpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/datacatalog/apiv1beta1/datacatalogpb/tags.pb.go b/datacatalog/apiv1beta1/datacatalogpb/tags.pb.go index 0e3bf1d5d699..23680f404302 100755 --- a/datacatalog/apiv1beta1/datacatalogpb/tags.pb.go +++ b/datacatalog/apiv1beta1/datacatalogpb/tags.pb.go @@ -21,13 +21,12 @@ package datacatalogpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/datacatalog/apiv1beta1/datacatalogpb/timestamps.pb.go b/datacatalog/apiv1beta1/datacatalogpb/timestamps.pb.go index 96cbda67fa30..2908123d2f8f 100755 --- a/datacatalog/apiv1beta1/datacatalogpb/timestamps.pb.go +++ b/datacatalog/apiv1beta1/datacatalogpb/timestamps.pb.go @@ -21,13 +21,12 @@ package datacatalogpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/datacatalog/apiv1beta1/datacatalogpb/usage.pb.go b/datacatalog/apiv1beta1/datacatalogpb/usage.pb.go index 3c44347853c3..01870cc013f0 100755 --- a/datacatalog/apiv1beta1/datacatalogpb/usage.pb.go +++ b/datacatalog/apiv1beta1/datacatalogpb/usage.pb.go @@ -21,12 +21,11 @@ package datacatalogpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/datacatalog/apiv1beta1/policy_tag_manager_serialization_client_example_go123_test.go b/datacatalog/apiv1beta1/policy_tag_manager_serialization_client_example_go123_test.go index 0f0a5ae9b721..dbc367055e5e 100644 --- a/datacatalog/apiv1beta1/policy_tag_manager_serialization_client_example_go123_test.go +++ b/datacatalog/apiv1beta1/policy_tag_manager_serialization_client_example_go123_test.go @@ -17,3 +17,7 @@ //go:build go1.23 package datacatalog_test + +import ( + datacatalog "cloud.google.com/go/datacatalog/apiv1beta1" +) diff --git a/datacatalog/lineage/apiv1/lineagepb/lineage.pb.go b/datacatalog/lineage/apiv1/lineagepb/lineage.pb.go index 9bb7568d71d7..4fbddce40113 100755 --- a/datacatalog/lineage/apiv1/lineagepb/lineage.pb.go +++ b/datacatalog/lineage/apiv1/lineagepb/lineage.pb.go @@ -21,11 +21,8 @@ package lineagepb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -36,6 +33,8 @@ import ( fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dataflow/apiv1beta3/dataflowpb/environment.pb.go b/dataflow/apiv1beta3/dataflowpb/environment.pb.go index 8a5e41bde468..e53c56aa1f0f 100755 --- a/dataflow/apiv1beta3/dataflowpb/environment.pb.go +++ b/dataflow/apiv1beta3/dataflowpb/environment.pb.go @@ -21,14 +21,13 @@ package dataflowpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" anypb "google.golang.org/protobuf/types/known/anypb" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dataflow/apiv1beta3/dataflowpb/jobs.pb.go b/dataflow/apiv1beta3/dataflowpb/jobs.pb.go index fadecc7714c5..2a2a0993062c 100755 --- a/dataflow/apiv1beta3/dataflowpb/jobs.pb.go +++ b/dataflow/apiv1beta3/dataflowpb/jobs.pb.go @@ -22,9 +22,6 @@ package dataflowpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( durationpb "google.golang.org/protobuf/types/known/durationpb" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dataflow/apiv1beta3/dataflowpb/messages.pb.go b/dataflow/apiv1beta3/dataflowpb/messages.pb.go index 8b85f8c5374b..4b18ecc0a236 100755 --- a/dataflow/apiv1beta3/dataflowpb/messages.pb.go +++ b/dataflow/apiv1beta3/dataflowpb/messages.pb.go @@ -22,9 +22,6 @@ package dataflowpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dataflow/apiv1beta3/dataflowpb/metrics.pb.go b/dataflow/apiv1beta3/dataflowpb/metrics.pb.go index 5358a02c9bfa..f5edd235c093 100755 --- a/dataflow/apiv1beta3/dataflowpb/metrics.pb.go +++ b/dataflow/apiv1beta3/dataflowpb/metrics.pb.go @@ -22,9 +22,6 @@ package dataflowpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dataflow/apiv1beta3/dataflowpb/snapshots.pb.go b/dataflow/apiv1beta3/dataflowpb/snapshots.pb.go index b606d028db25..31e9af88d9b0 100755 --- a/dataflow/apiv1beta3/dataflowpb/snapshots.pb.go +++ b/dataflow/apiv1beta3/dataflowpb/snapshots.pb.go @@ -22,9 +22,6 @@ package dataflowpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dataflow/apiv1beta3/dataflowpb/streaming.pb.go b/dataflow/apiv1beta3/dataflowpb/streaming.pb.go index 177cf66dda07..8fd6a5f11b1d 100755 --- a/dataflow/apiv1beta3/dataflowpb/streaming.pb.go +++ b/dataflow/apiv1beta3/dataflowpb/streaming.pb.go @@ -21,11 +21,10 @@ package dataflowpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/dataflow/apiv1beta3/dataflowpb/templates.pb.go b/dataflow/apiv1beta3/dataflowpb/templates.pb.go index 396f600f57e5..465cd01c289f 100755 --- a/dataflow/apiv1beta3/dataflowpb/templates.pb.go +++ b/dataflow/apiv1beta3/dataflowpb/templates.pb.go @@ -22,9 +22,6 @@ package dataflowpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -32,6 +29,8 @@ import ( status1 "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/dataflow/apiv1beta3/flex_templates_client_example_go123_test.go b/dataflow/apiv1beta3/flex_templates_client_example_go123_test.go index 129c65cfffc3..d53359a5d095 100644 --- a/dataflow/apiv1beta3/flex_templates_client_example_go123_test.go +++ b/dataflow/apiv1beta3/flex_templates_client_example_go123_test.go @@ -17,3 +17,7 @@ //go:build go1.23 package dataflow_test + +import ( + dataflow "cloud.google.com/go/dataflow/apiv1beta3" +) diff --git a/dataflow/apiv1beta3/snapshots_v1_beta3_client_example_go123_test.go b/dataflow/apiv1beta3/snapshots_v1_beta3_client_example_go123_test.go index 129c65cfffc3..d53359a5d095 100644 --- a/dataflow/apiv1beta3/snapshots_v1_beta3_client_example_go123_test.go +++ b/dataflow/apiv1beta3/snapshots_v1_beta3_client_example_go123_test.go @@ -17,3 +17,7 @@ //go:build go1.23 package dataflow_test + +import ( + dataflow "cloud.google.com/go/dataflow/apiv1beta3" +) diff --git a/dataflow/apiv1beta3/templates_client_example_go123_test.go b/dataflow/apiv1beta3/templates_client_example_go123_test.go index 129c65cfffc3..d53359a5d095 100644 --- a/dataflow/apiv1beta3/templates_client_example_go123_test.go +++ b/dataflow/apiv1beta3/templates_client_example_go123_test.go @@ -17,3 +17,7 @@ //go:build go1.23 package dataflow_test + +import ( + dataflow "cloud.google.com/go/dataflow/apiv1beta3" +) diff --git a/dataform/apiv1alpha2/dataformpb/dataform.pb.go b/dataform/apiv1alpha2/dataformpb/dataform.pb.go index c0f3de4cd736..b58ed49ad12f 100755 --- a/dataform/apiv1alpha2/dataformpb/dataform.pb.go +++ b/dataform/apiv1alpha2/dataformpb/dataform.pb.go @@ -22,9 +22,6 @@ package dataformpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" interval "google.golang.org/genproto/googleapis/type/interval" grpc "google.golang.org/grpc" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dataform/apiv1beta1/dataformpb/dataform.pb.go b/dataform/apiv1beta1/dataformpb/dataform.pb.go index 269a87091910..967dfb3a553e 100755 --- a/dataform/apiv1beta1/dataformpb/dataform.pb.go +++ b/dataform/apiv1beta1/dataformpb/dataform.pb.go @@ -22,9 +22,6 @@ package dataformpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" interval "google.golang.org/genproto/googleapis/type/interval" @@ -36,6 +33,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/datafusion/apiv1/datafusionpb/datafusion.pb.go b/datafusion/apiv1/datafusionpb/datafusion.pb.go index 771be6d1d0c8..9110cf17f9a7 100755 --- a/datafusion/apiv1/datafusionpb/datafusion.pb.go +++ b/datafusion/apiv1/datafusionpb/datafusion.pb.go @@ -21,11 +21,8 @@ package datafusionpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/datalabeling/apiv1beta1/datalabelingpb/annotation.pb.go b/datalabeling/apiv1beta1/datalabelingpb/annotation.pb.go index 45e25e2ce4e0..7c954e33f5aa 100755 --- a/datalabeling/apiv1beta1/datalabelingpb/annotation.pb.go +++ b/datalabeling/apiv1beta1/datalabelingpb/annotation.pb.go @@ -22,12 +22,11 @@ package datalabelingpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/datalabeling/apiv1beta1/datalabelingpb/annotation_spec_set.pb.go b/datalabeling/apiv1beta1/datalabelingpb/annotation_spec_set.pb.go index 1663486a6fb0..bcb908d3e4ee 100755 --- a/datalabeling/apiv1beta1/datalabelingpb/annotation_spec_set.pb.go +++ b/datalabeling/apiv1beta1/datalabelingpb/annotation_spec_set.pb.go @@ -22,12 +22,11 @@ package datalabelingpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/datalabeling/apiv1beta1/datalabelingpb/data_labeling_service.pb.go b/datalabeling/apiv1beta1/datalabelingpb/data_labeling_service.pb.go index 810ce6cd1e04..f24394450d3f 100755 --- a/datalabeling/apiv1beta1/datalabelingpb/data_labeling_service.pb.go +++ b/datalabeling/apiv1beta1/datalabelingpb/data_labeling_service.pb.go @@ -22,11 +22,8 @@ package datalabelingpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/datalabeling/apiv1beta1/datalabelingpb/data_payloads.pb.go b/datalabeling/apiv1beta1/datalabelingpb/data_payloads.pb.go index 28c910a85ac0..a4ec2f54aeb4 100755 --- a/datalabeling/apiv1beta1/datalabelingpb/data_payloads.pb.go +++ b/datalabeling/apiv1beta1/datalabelingpb/data_payloads.pb.go @@ -22,12 +22,11 @@ package datalabelingpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/datalabeling/apiv1beta1/datalabelingpb/dataset.pb.go b/datalabeling/apiv1beta1/datalabelingpb/dataset.pb.go index 412870be90b2..5e18181989e5 100755 --- a/datalabeling/apiv1beta1/datalabelingpb/dataset.pb.go +++ b/datalabeling/apiv1beta1/datalabelingpb/dataset.pb.go @@ -22,13 +22,12 @@ package datalabelingpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/datalabeling/apiv1beta1/datalabelingpb/evaluation.pb.go b/datalabeling/apiv1beta1/datalabelingpb/evaluation.pb.go index bb513e2e2ad1..7d0edd172f68 100755 --- a/datalabeling/apiv1beta1/datalabelingpb/evaluation.pb.go +++ b/datalabeling/apiv1beta1/datalabelingpb/evaluation.pb.go @@ -22,13 +22,12 @@ package datalabelingpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/datalabeling/apiv1beta1/datalabelingpb/evaluation_job.pb.go b/datalabeling/apiv1beta1/datalabelingpb/evaluation_job.pb.go index 871addf1a106..6381bbee2630 100755 --- a/datalabeling/apiv1beta1/datalabelingpb/evaluation_job.pb.go +++ b/datalabeling/apiv1beta1/datalabelingpb/evaluation_job.pb.go @@ -22,14 +22,13 @@ package datalabelingpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/datalabeling/apiv1beta1/datalabelingpb/human_annotation_config.pb.go b/datalabeling/apiv1beta1/datalabelingpb/human_annotation_config.pb.go index 7fab0e6e6c1d..a4f4b43c25c1 100755 --- a/datalabeling/apiv1beta1/datalabelingpb/human_annotation_config.pb.go +++ b/datalabeling/apiv1beta1/datalabelingpb/human_annotation_config.pb.go @@ -22,13 +22,12 @@ package datalabelingpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/datalabeling/apiv1beta1/datalabelingpb/instruction.pb.go b/datalabeling/apiv1beta1/datalabelingpb/instruction.pb.go index ca78e09ffc0d..a6cd232a57cb 100755 --- a/datalabeling/apiv1beta1/datalabelingpb/instruction.pb.go +++ b/datalabeling/apiv1beta1/datalabelingpb/instruction.pb.go @@ -22,13 +22,12 @@ package datalabelingpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/datalabeling/apiv1beta1/datalabelingpb/operations.pb.go b/datalabeling/apiv1beta1/datalabelingpb/operations.pb.go index 193941a3ab02..3408f17b69c3 100755 --- a/datalabeling/apiv1beta1/datalabelingpb/operations.pb.go +++ b/datalabeling/apiv1beta1/datalabelingpb/operations.pb.go @@ -22,13 +22,12 @@ package datalabelingpb import ( - reflect "reflect" - sync "sync" - status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dataplex/apiv1/dataplexpb/analyze.pb.go b/dataplex/apiv1/dataplexpb/analyze.pb.go index d0f2b5b80af0..0494d6ad0703 100755 --- a/dataplex/apiv1/dataplexpb/analyze.pb.go +++ b/dataplex/apiv1/dataplexpb/analyze.pb.go @@ -21,14 +21,13 @@ package dataplexpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dataplex/apiv1/dataplexpb/catalog.pb.go b/dataplex/apiv1/dataplexpb/catalog.pb.go index bc4bd7250051..5e63a0b9ece4 100755 --- a/dataplex/apiv1/dataplexpb/catalog.pb.go +++ b/dataplex/apiv1/dataplexpb/catalog.pb.go @@ -21,11 +21,8 @@ package dataplexpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -36,6 +33,8 @@ import ( fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dataplex/apiv1/dataplexpb/content.pb.go b/dataplex/apiv1/dataplexpb/content.pb.go index 5c3f993bd3c5..a89caca2ef41 100755 --- a/dataplex/apiv1/dataplexpb/content.pb.go +++ b/dataplex/apiv1/dataplexpb/content.pb.go @@ -21,11 +21,8 @@ package dataplexpb import ( - context "context" - reflect "reflect" - sync "sync" - iampb "cloud.google.com/go/iam/apiv1/iampb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dataplex/apiv1/dataplexpb/data_profile.pb.go b/dataplex/apiv1/dataplexpb/data_profile.pb.go index 12e0e082ca1e..67e26fb9daf8 100755 --- a/dataplex/apiv1/dataplexpb/data_profile.pb.go +++ b/dataplex/apiv1/dataplexpb/data_profile.pb.go @@ -21,12 +21,11 @@ package dataplexpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/dataplex/apiv1/dataplexpb/data_quality.pb.go b/dataplex/apiv1/dataplexpb/data_quality.pb.go index a3ac658c89f4..a20926e1b946 100755 --- a/dataplex/apiv1/dataplexpb/data_quality.pb.go +++ b/dataplex/apiv1/dataplexpb/data_quality.pb.go @@ -21,12 +21,11 @@ package dataplexpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/dataplex/apiv1/dataplexpb/data_taxonomy.pb.go b/dataplex/apiv1/dataplexpb/data_taxonomy.pb.go index cf8f77c5bb9b..05e7237c517d 100755 --- a/dataplex/apiv1/dataplexpb/data_taxonomy.pb.go +++ b/dataplex/apiv1/dataplexpb/data_taxonomy.pb.go @@ -21,11 +21,8 @@ package dataplexpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dataplex/apiv1/dataplexpb/datascans.pb.go b/dataplex/apiv1/dataplexpb/datascans.pb.go index fc000208dddb..9efd6d2d866a 100755 --- a/dataplex/apiv1/dataplexpb/datascans.pb.go +++ b/dataplex/apiv1/dataplexpb/datascans.pb.go @@ -21,11 +21,8 @@ package dataplexpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dataplex/apiv1/dataplexpb/logs.pb.go b/dataplex/apiv1/dataplexpb/logs.pb.go index 1af605496fea..348a3c1633d0 100755 --- a/dataplex/apiv1/dataplexpb/logs.pb.go +++ b/dataplex/apiv1/dataplexpb/logs.pb.go @@ -21,14 +21,13 @@ package dataplexpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dataplex/apiv1/dataplexpb/metadata.pb.go b/dataplex/apiv1/dataplexpb/metadata.pb.go index 7aaf5c08e1ad..ff0a9dcd1b8d 100755 --- a/dataplex/apiv1/dataplexpb/metadata.pb.go +++ b/dataplex/apiv1/dataplexpb/metadata.pb.go @@ -22,9 +22,6 @@ package dataplexpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dataplex/apiv1/dataplexpb/processing.pb.go b/dataplex/apiv1/dataplexpb/processing.pb.go index 2d51ed2b7c19..94cc989e7d85 100755 --- a/dataplex/apiv1/dataplexpb/processing.pb.go +++ b/dataplex/apiv1/dataplexpb/processing.pb.go @@ -21,12 +21,11 @@ package dataplexpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/dataplex/apiv1/dataplexpb/resources.pb.go b/dataplex/apiv1/dataplexpb/resources.pb.go index 44dc482857f9..22ccb2e6f96a 100755 --- a/dataplex/apiv1/dataplexpb/resources.pb.go +++ b/dataplex/apiv1/dataplexpb/resources.pb.go @@ -21,14 +21,13 @@ package dataplexpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dataplex/apiv1/dataplexpb/security.pb.go b/dataplex/apiv1/dataplexpb/security.pb.go index 841bc2d948e5..daf1a9e867f2 100755 --- a/dataplex/apiv1/dataplexpb/security.pb.go +++ b/dataplex/apiv1/dataplexpb/security.pb.go @@ -21,12 +21,11 @@ package dataplexpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/dataplex/apiv1/dataplexpb/service.pb.go b/dataplex/apiv1/dataplexpb/service.pb.go index ff896a3a8844..92b9aa941fcf 100755 --- a/dataplex/apiv1/dataplexpb/service.pb.go +++ b/dataplex/apiv1/dataplexpb/service.pb.go @@ -21,11 +21,8 @@ package dataplexpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dataplex/apiv1/dataplexpb/tasks.pb.go b/dataplex/apiv1/dataplexpb/tasks.pb.go index e97b3305f138..796b157a7bc0 100755 --- a/dataplex/apiv1/dataplexpb/tasks.pb.go +++ b/dataplex/apiv1/dataplexpb/tasks.pb.go @@ -21,14 +21,13 @@ package dataplexpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dataproc/apiv1/dataprocpb/autoscaling_policies.pb.go b/dataproc/apiv1/dataprocpb/autoscaling_policies.pb.go index b86bd8592f92..24f9aa0da187 100755 --- a/dataproc/apiv1/dataprocpb/autoscaling_policies.pb.go +++ b/dataproc/apiv1/dataprocpb/autoscaling_policies.pb.go @@ -22,9 +22,6 @@ package dataprocpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" emptypb "google.golang.org/protobuf/types/known/emptypb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dataproc/apiv1/dataprocpb/batches.pb.go b/dataproc/apiv1/dataprocpb/batches.pb.go index 3105b2eb3706..27d4e61c8d4d 100755 --- a/dataproc/apiv1/dataprocpb/batches.pb.go +++ b/dataproc/apiv1/dataprocpb/batches.pb.go @@ -21,11 +21,8 @@ package dataprocpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dataproc/apiv1/dataprocpb/clusters.pb.go b/dataproc/apiv1/dataprocpb/clusters.pb.go index 4a7bc1e2aa94..250ca1cf084c 100755 --- a/dataproc/apiv1/dataprocpb/clusters.pb.go +++ b/dataproc/apiv1/dataprocpb/clusters.pb.go @@ -21,11 +21,8 @@ package dataprocpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" interval "google.golang.org/genproto/googleapis/type/interval" grpc "google.golang.org/grpc" @@ -38,6 +35,8 @@ import ( fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" _ "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dataproc/apiv1/dataprocpb/jobs.pb.go b/dataproc/apiv1/dataprocpb/jobs.pb.go index 3c35e0536b09..928158c37ac1 100755 --- a/dataproc/apiv1/dataprocpb/jobs.pb.go +++ b/dataproc/apiv1/dataprocpb/jobs.pb.go @@ -21,11 +21,8 @@ package dataprocpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dataproc/apiv1/dataprocpb/node_groups.pb.go b/dataproc/apiv1/dataprocpb/node_groups.pb.go index f6d9a4059028..49b2cb822e24 100755 --- a/dataproc/apiv1/dataprocpb/node_groups.pb.go +++ b/dataproc/apiv1/dataprocpb/node_groups.pb.go @@ -21,11 +21,8 @@ package dataprocpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dataproc/apiv1/dataprocpb/operations.pb.go b/dataproc/apiv1/dataprocpb/operations.pb.go index fcd836b5c9d2..c6ebc2a08dd5 100755 --- a/dataproc/apiv1/dataprocpb/operations.pb.go +++ b/dataproc/apiv1/dataprocpb/operations.pb.go @@ -21,13 +21,12 @@ package dataprocpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dataproc/apiv1/dataprocpb/session_templates.pb.go b/dataproc/apiv1/dataprocpb/session_templates.pb.go index ef081a3a2188..07e126425132 100755 --- a/dataproc/apiv1/dataprocpb/session_templates.pb.go +++ b/dataproc/apiv1/dataprocpb/session_templates.pb.go @@ -22,9 +22,6 @@ package dataprocpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dataproc/apiv1/dataprocpb/sessions.pb.go b/dataproc/apiv1/dataprocpb/sessions.pb.go index 3be27d4b5899..906e4ebe8b77 100755 --- a/dataproc/apiv1/dataprocpb/sessions.pb.go +++ b/dataproc/apiv1/dataprocpb/sessions.pb.go @@ -21,11 +21,8 @@ package dataprocpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dataproc/apiv1/dataprocpb/shared.pb.go b/dataproc/apiv1/dataprocpb/shared.pb.go index bad8b42ed6b4..683526c179e3 100755 --- a/dataproc/apiv1/dataprocpb/shared.pb.go +++ b/dataproc/apiv1/dataprocpb/shared.pb.go @@ -21,14 +21,13 @@ package dataprocpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dataproc/apiv1/dataprocpb/workflow_templates.pb.go b/dataproc/apiv1/dataprocpb/workflow_templates.pb.go index f382089e0364..4e07e1235943 100755 --- a/dataproc/apiv1/dataprocpb/workflow_templates.pb.go +++ b/dataproc/apiv1/dataprocpb/workflow_templates.pb.go @@ -21,11 +21,8 @@ package dataprocpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( durationpb "google.golang.org/protobuf/types/known/durationpb" emptypb "google.golang.org/protobuf/types/known/emptypb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dataqna/apiv1alpha/auto_suggestion_client_example_go123_test.go b/dataqna/apiv1alpha/auto_suggestion_client_example_go123_test.go index 78d1c4add7ce..92580bf31f8c 100644 --- a/dataqna/apiv1alpha/auto_suggestion_client_example_go123_test.go +++ b/dataqna/apiv1alpha/auto_suggestion_client_example_go123_test.go @@ -17,3 +17,7 @@ //go:build go1.23 package dataqna_test + +import ( + dataqna "cloud.google.com/go/dataqna/apiv1alpha" +) diff --git a/dataqna/apiv1alpha/auxiliary.go b/dataqna/apiv1alpha/auxiliary.go index a7942539de2a..8b1bb940f9fa 100755 --- a/dataqna/apiv1alpha/auxiliary.go +++ b/dataqna/apiv1alpha/auxiliary.go @@ -15,3 +15,5 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package dataqna + +import () diff --git a/dataqna/apiv1alpha/auxiliary_go123.go b/dataqna/apiv1alpha/auxiliary_go123.go index a5c785b8d096..f130641189da 100755 --- a/dataqna/apiv1alpha/auxiliary_go123.go +++ b/dataqna/apiv1alpha/auxiliary_go123.go @@ -17,3 +17,5 @@ //go:build go1.23 package dataqna + +import () diff --git a/dataqna/apiv1alpha/dataqnapb/annotated_string.pb.go b/dataqna/apiv1alpha/dataqnapb/annotated_string.pb.go index c28ac58eb918..4b5b4277ab56 100755 --- a/dataqna/apiv1alpha/dataqnapb/annotated_string.pb.go +++ b/dataqna/apiv1alpha/dataqnapb/annotated_string.pb.go @@ -21,11 +21,10 @@ package dataqnapb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/dataqna/apiv1alpha/dataqnapb/auto_suggestion_service.pb.go b/dataqna/apiv1alpha/dataqnapb/auto_suggestion_service.pb.go index 48a77405385b..4d05be4f615f 100755 --- a/dataqna/apiv1alpha/dataqnapb/auto_suggestion_service.pb.go +++ b/dataqna/apiv1alpha/dataqnapb/auto_suggestion_service.pb.go @@ -22,15 +22,14 @@ package dataqnapb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/dataqna/apiv1alpha/dataqnapb/question.pb.go b/dataqna/apiv1alpha/dataqnapb/question.pb.go index 594d5b23ef99..e96dba189131 100755 --- a/dataqna/apiv1alpha/dataqnapb/question.pb.go +++ b/dataqna/apiv1alpha/dataqnapb/question.pb.go @@ -21,15 +21,14 @@ package dataqnapb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" anypb "google.golang.org/protobuf/types/known/anypb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dataqna/apiv1alpha/dataqnapb/question_service.pb.go b/dataqna/apiv1alpha/dataqnapb/question_service.pb.go index 3665da153b90..2adc968250b1 100755 --- a/dataqna/apiv1alpha/dataqnapb/question_service.pb.go +++ b/dataqna/apiv1alpha/dataqnapb/question_service.pb.go @@ -22,9 +22,6 @@ package dataqnapb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dataqna/apiv1alpha/dataqnapb/user_feedback.pb.go b/dataqna/apiv1alpha/dataqnapb/user_feedback.pb.go index 4cc03b75faef..6061973a6737 100755 --- a/dataqna/apiv1alpha/dataqnapb/user_feedback.pb.go +++ b/dataqna/apiv1alpha/dataqnapb/user_feedback.pb.go @@ -21,12 +21,11 @@ package dataqnapb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/dataqna/apiv1alpha/question_client_example_go123_test.go b/dataqna/apiv1alpha/question_client_example_go123_test.go index 78d1c4add7ce..92580bf31f8c 100644 --- a/dataqna/apiv1alpha/question_client_example_go123_test.go +++ b/dataqna/apiv1alpha/question_client_example_go123_test.go @@ -17,3 +17,7 @@ //go:build go1.23 package dataqna_test + +import ( + dataqna "cloud.google.com/go/dataqna/apiv1alpha" +) diff --git a/datastore/admin/apiv1/adminpb/datastore_admin.pb.go b/datastore/admin/apiv1/adminpb/datastore_admin.pb.go index 2757c994f694..44cdead58e11 100755 --- a/datastore/admin/apiv1/adminpb/datastore_admin.pb.go +++ b/datastore/admin/apiv1/adminpb/datastore_admin.pb.go @@ -21,11 +21,8 @@ package adminpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/datastore/admin/apiv1/adminpb/index.pb.go b/datastore/admin/apiv1/adminpb/index.pb.go index a51b96bade39..572959abb777 100755 --- a/datastore/admin/apiv1/adminpb/index.pb.go +++ b/datastore/admin/apiv1/adminpb/index.pb.go @@ -21,12 +21,11 @@ package adminpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/datastore/admin/apiv1/adminpb/migration.pb.go b/datastore/admin/apiv1/adminpb/migration.pb.go index 9dc40ec71228..19bfc298a8f4 100755 --- a/datastore/admin/apiv1/adminpb/migration.pb.go +++ b/datastore/admin/apiv1/adminpb/migration.pb.go @@ -21,11 +21,10 @@ package adminpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/datastore/apiv1/datastorepb/aggregation_result.pb.go b/datastore/apiv1/datastorepb/aggregation_result.pb.go index 1c411eb7a0ea..6e3d19b4b2d6 100755 --- a/datastore/apiv1/datastorepb/aggregation_result.pb.go +++ b/datastore/apiv1/datastorepb/aggregation_result.pb.go @@ -21,12 +21,11 @@ package datastorepb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/datastore/apiv1/datastorepb/datastore.pb.go b/datastore/apiv1/datastorepb/datastore.pb.go index bff72a1b5aac..6c8836fdd6dd 100755 --- a/datastore/apiv1/datastorepb/datastore.pb.go +++ b/datastore/apiv1/datastorepb/datastore.pb.go @@ -22,9 +22,6 @@ package datastorepb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/datastore/apiv1/datastorepb/entity.pb.go b/datastore/apiv1/datastorepb/entity.pb.go index 752144840e4c..e8c52d7ddc7f 100755 --- a/datastore/apiv1/datastorepb/entity.pb.go +++ b/datastore/apiv1/datastorepb/entity.pb.go @@ -21,14 +21,13 @@ package datastorepb import ( - reflect "reflect" - sync "sync" - latlng "google.golang.org/genproto/googleapis/type/latlng" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/datastore/apiv1/datastorepb/query.pb.go b/datastore/apiv1/datastorepb/query.pb.go index bfa4c3952df5..8da9ce2a0113 100755 --- a/datastore/apiv1/datastorepb/query.pb.go +++ b/datastore/apiv1/datastorepb/query.pb.go @@ -21,14 +21,13 @@ package datastorepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( diff --git a/datastore/apiv1/datastorepb/query_profile.pb.go b/datastore/apiv1/datastorepb/query_profile.pb.go index 9651b37db87e..703280c85d38 100755 --- a/datastore/apiv1/datastorepb/query_profile.pb.go +++ b/datastore/apiv1/datastorepb/query_profile.pb.go @@ -21,14 +21,13 @@ package datastorepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/datastream/apiv1/datastreampb/datastream.pb.go b/datastream/apiv1/datastreampb/datastream.pb.go index 439d55055110..8d8b008b6d78 100755 --- a/datastream/apiv1/datastreampb/datastream.pb.go +++ b/datastream/apiv1/datastreampb/datastream.pb.go @@ -21,11 +21,8 @@ package datastreampb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/datastream/apiv1/datastreampb/datastream_resources.pb.go b/datastream/apiv1/datastreampb/datastream_resources.pb.go index e7a2b5059c62..019f6bde6a2d 100755 --- a/datastream/apiv1/datastreampb/datastream_resources.pb.go +++ b/datastream/apiv1/datastreampb/datastream_resources.pb.go @@ -21,14 +21,13 @@ package datastreampb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/datastream/apiv1alpha1/datastreampb/datastream.pb.go b/datastream/apiv1alpha1/datastreampb/datastream.pb.go index 8274f96675f7..0048b6afdafd 100755 --- a/datastream/apiv1alpha1/datastreampb/datastream.pb.go +++ b/datastream/apiv1alpha1/datastreampb/datastream.pb.go @@ -21,11 +21,8 @@ package datastreampb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/datastream/apiv1alpha1/datastreampb/datastream_resources.pb.go b/datastream/apiv1alpha1/datastreampb/datastream_resources.pb.go index 1f6b8e4049b4..4d04b17ee5f0 100755 --- a/datastream/apiv1alpha1/datastreampb/datastream_resources.pb.go +++ b/datastream/apiv1alpha1/datastreampb/datastream_resources.pb.go @@ -21,14 +21,13 @@ package datastreampb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/deploy/apiv1/deploypb/automation_payload.pb.go b/deploy/apiv1/deploypb/automation_payload.pb.go index cb1b90d75b59..7e49e8b9107e 100755 --- a/deploy/apiv1/deploypb/automation_payload.pb.go +++ b/deploy/apiv1/deploypb/automation_payload.pb.go @@ -21,11 +21,10 @@ package deploypb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/deploy/apiv1/deploypb/automationrun_payload.pb.go b/deploy/apiv1/deploypb/automationrun_payload.pb.go index b5737fd68497..cb230838c474 100755 --- a/deploy/apiv1/deploypb/automationrun_payload.pb.go +++ b/deploy/apiv1/deploypb/automationrun_payload.pb.go @@ -21,11 +21,10 @@ package deploypb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/deploy/apiv1/deploypb/cloud_deploy.pb.go b/deploy/apiv1/deploypb/cloud_deploy.pb.go index 8929dcde11c7..b2e53e28dfb4 100755 --- a/deploy/apiv1/deploypb/cloud_deploy.pb.go +++ b/deploy/apiv1/deploypb/cloud_deploy.pb.go @@ -21,11 +21,8 @@ package deploypb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" date "google.golang.org/genproto/googleapis/type/date" dayofweek "google.golang.org/genproto/googleapis/type/dayofweek" @@ -39,6 +36,8 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/deploy/apiv1/deploypb/customtargettype_notification_payload.pb.go b/deploy/apiv1/deploypb/customtargettype_notification_payload.pb.go index c73d2d02f373..7b4bd5330d29 100755 --- a/deploy/apiv1/deploypb/customtargettype_notification_payload.pb.go +++ b/deploy/apiv1/deploypb/customtargettype_notification_payload.pb.go @@ -21,11 +21,10 @@ package deploypb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/deploy/apiv1/deploypb/deliverypipeline_notification_payload.pb.go b/deploy/apiv1/deploypb/deliverypipeline_notification_payload.pb.go index a900367dec9b..dfbb7ba5108f 100755 --- a/deploy/apiv1/deploypb/deliverypipeline_notification_payload.pb.go +++ b/deploy/apiv1/deploypb/deliverypipeline_notification_payload.pb.go @@ -21,11 +21,10 @@ package deploypb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/deploy/apiv1/deploypb/deploypolicy_evaluation_payload.pb.go b/deploy/apiv1/deploypb/deploypolicy_evaluation_payload.pb.go index 008d309f21ac..5824a0c408bc 100755 --- a/deploy/apiv1/deploypb/deploypolicy_evaluation_payload.pb.go +++ b/deploy/apiv1/deploypb/deploypolicy_evaluation_payload.pb.go @@ -21,11 +21,10 @@ package deploypb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/deploy/apiv1/deploypb/deploypolicy_notification_payload.pb.go b/deploy/apiv1/deploypb/deploypolicy_notification_payload.pb.go index 811a5388380b..d4d853343921 100755 --- a/deploy/apiv1/deploypb/deploypolicy_notification_payload.pb.go +++ b/deploy/apiv1/deploypb/deploypolicy_notification_payload.pb.go @@ -21,11 +21,10 @@ package deploypb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/deploy/apiv1/deploypb/jobrun_notification_payload.pb.go b/deploy/apiv1/deploypb/jobrun_notification_payload.pb.go index 5bac4844880f..c0b112ebf720 100755 --- a/deploy/apiv1/deploypb/jobrun_notification_payload.pb.go +++ b/deploy/apiv1/deploypb/jobrun_notification_payload.pb.go @@ -21,11 +21,10 @@ package deploypb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/deploy/apiv1/deploypb/log_enums.pb.go b/deploy/apiv1/deploypb/log_enums.pb.go index 75db6fe6a940..b76946b30f84 100755 --- a/deploy/apiv1/deploypb/log_enums.pb.go +++ b/deploy/apiv1/deploypb/log_enums.pb.go @@ -21,11 +21,10 @@ package deploypb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/deploy/apiv1/deploypb/release_notification_payload.pb.go b/deploy/apiv1/deploypb/release_notification_payload.pb.go index 749395c3ff08..0402eb1dbf71 100755 --- a/deploy/apiv1/deploypb/release_notification_payload.pb.go +++ b/deploy/apiv1/deploypb/release_notification_payload.pb.go @@ -21,11 +21,10 @@ package deploypb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/deploy/apiv1/deploypb/release_render_payload.pb.go b/deploy/apiv1/deploypb/release_render_payload.pb.go index a52a71a7d281..75b8900e336b 100755 --- a/deploy/apiv1/deploypb/release_render_payload.pb.go +++ b/deploy/apiv1/deploypb/release_render_payload.pb.go @@ -21,11 +21,10 @@ package deploypb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/deploy/apiv1/deploypb/rollout_notification_payload.pb.go b/deploy/apiv1/deploypb/rollout_notification_payload.pb.go index 86df0025f403..5781e0e0cbad 100755 --- a/deploy/apiv1/deploypb/rollout_notification_payload.pb.go +++ b/deploy/apiv1/deploypb/rollout_notification_payload.pb.go @@ -21,11 +21,10 @@ package deploypb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/deploy/apiv1/deploypb/rollout_update_payload.pb.go b/deploy/apiv1/deploypb/rollout_update_payload.pb.go index fa7e04f0122b..3d113f623164 100755 --- a/deploy/apiv1/deploypb/rollout_update_payload.pb.go +++ b/deploy/apiv1/deploypb/rollout_update_payload.pb.go @@ -21,11 +21,10 @@ package deploypb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/deploy/apiv1/deploypb/target_notification_payload.pb.go b/deploy/apiv1/deploypb/target_notification_payload.pb.go index 5f1c7514a959..3395205f5775 100755 --- a/deploy/apiv1/deploypb/target_notification_payload.pb.go +++ b/deploy/apiv1/deploypb/target_notification_payload.pb.go @@ -21,11 +21,10 @@ package deploypb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/developerconnect/apiv1/developerconnectpb/developer_connect.pb.go b/developerconnect/apiv1/developerconnectpb/developer_connect.pb.go index 106c12700250..ea2f0711a9a1 100755 --- a/developerconnect/apiv1/developerconnectpb/developer_connect.pb.go +++ b/developerconnect/apiv1/developerconnectpb/developer_connect.pb.go @@ -21,11 +21,8 @@ package developerconnectpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/apiv2/dialogflowpb/agent.pb.go b/dialogflow/apiv2/dialogflowpb/agent.pb.go index 3dee934a8377..7c0a3df454bb 100755 --- a/dialogflow/apiv2/dialogflowpb/agent.pb.go +++ b/dialogflow/apiv2/dialogflowpb/agent.pb.go @@ -21,11 +21,8 @@ package dialogflowpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" _ "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/apiv2/dialogflowpb/answer_record.pb.go b/dialogflow/apiv2/dialogflowpb/answer_record.pb.go index 73c8d2764c82..d84af10140a2 100755 --- a/dialogflow/apiv2/dialogflowpb/answer_record.pb.go +++ b/dialogflow/apiv2/dialogflowpb/answer_record.pb.go @@ -22,9 +22,6 @@ package dialogflowpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/apiv2/dialogflowpb/audio_config.pb.go b/dialogflow/apiv2/dialogflowpb/audio_config.pb.go index b5200f18fe69..41068e5a1669 100755 --- a/dialogflow/apiv2/dialogflowpb/audio_config.pb.go +++ b/dialogflow/apiv2/dialogflowpb/audio_config.pb.go @@ -21,13 +21,12 @@ package dialogflowpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/apiv2/dialogflowpb/context.pb.go b/dialogflow/apiv2/dialogflowpb/context.pb.go index 6d336e52cbd4..2d3b034bbd5d 100755 --- a/dialogflow/apiv2/dialogflowpb/context.pb.go +++ b/dialogflow/apiv2/dialogflowpb/context.pb.go @@ -22,9 +22,6 @@ package dialogflowpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/apiv2/dialogflowpb/conversation.pb.go b/dialogflow/apiv2/dialogflowpb/conversation.pb.go index 2292799b4cac..4fda8c388007 100755 --- a/dialogflow/apiv2/dialogflowpb/conversation.pb.go +++ b/dialogflow/apiv2/dialogflowpb/conversation.pb.go @@ -22,9 +22,6 @@ package dialogflowpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/apiv2/dialogflowpb/conversation_dataset.pb.go b/dialogflow/apiv2/dialogflowpb/conversation_dataset.pb.go index dd5219ac8480..847fa14d77d8 100755 --- a/dialogflow/apiv2/dialogflowpb/conversation_dataset.pb.go +++ b/dialogflow/apiv2/dialogflowpb/conversation_dataset.pb.go @@ -21,11 +21,8 @@ package dialogflowpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -35,6 +32,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/apiv2/dialogflowpb/conversation_event.pb.go b/dialogflow/apiv2/dialogflowpb/conversation_event.pb.go index 3deab0db659b..68e01f6ce7bb 100755 --- a/dialogflow/apiv2/dialogflowpb/conversation_event.pb.go +++ b/dialogflow/apiv2/dialogflowpb/conversation_event.pb.go @@ -21,12 +21,11 @@ package dialogflowpb import ( - reflect "reflect" - sync "sync" - status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/apiv2/dialogflowpb/conversation_model.pb.go b/dialogflow/apiv2/dialogflowpb/conversation_model.pb.go index ccaca1433ea0..adbf883366c3 100755 --- a/dialogflow/apiv2/dialogflowpb/conversation_model.pb.go +++ b/dialogflow/apiv2/dialogflowpb/conversation_model.pb.go @@ -21,11 +21,8 @@ package dialogflowpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/apiv2/dialogflowpb/conversation_profile.pb.go b/dialogflow/apiv2/dialogflowpb/conversation_profile.pb.go index 2e1be2030699..10e55251ad7c 100755 --- a/dialogflow/apiv2/dialogflowpb/conversation_profile.pb.go +++ b/dialogflow/apiv2/dialogflowpb/conversation_profile.pb.go @@ -21,11 +21,8 @@ package dialogflowpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -36,6 +33,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/apiv2/dialogflowpb/document.pb.go b/dialogflow/apiv2/dialogflowpb/document.pb.go index e16deecac279..9fd282c39707 100755 --- a/dialogflow/apiv2/dialogflowpb/document.pb.go +++ b/dialogflow/apiv2/dialogflowpb/document.pb.go @@ -21,11 +21,8 @@ package dialogflowpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -36,6 +33,8 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/apiv2/dialogflowpb/encryption_spec.pb.go b/dialogflow/apiv2/dialogflowpb/encryption_spec.pb.go index d3caaf9dcd7e..83988240dd53 100755 --- a/dialogflow/apiv2/dialogflowpb/encryption_spec.pb.go +++ b/dialogflow/apiv2/dialogflowpb/encryption_spec.pb.go @@ -21,17 +21,16 @@ package dialogflowpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/apiv2/dialogflowpb/entity_type.pb.go b/dialogflow/apiv2/dialogflowpb/entity_type.pb.go index 525c05e46402..c7ed9af26f99 100755 --- a/dialogflow/apiv2/dialogflowpb/entity_type.pb.go +++ b/dialogflow/apiv2/dialogflowpb/entity_type.pb.go @@ -21,11 +21,8 @@ package dialogflowpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" _ "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/apiv2/dialogflowpb/environment.pb.go b/dialogflow/apiv2/dialogflowpb/environment.pb.go index 4caadaf6ec47..f6fee02a8f1c 100755 --- a/dialogflow/apiv2/dialogflowpb/environment.pb.go +++ b/dialogflow/apiv2/dialogflowpb/environment.pb.go @@ -22,9 +22,6 @@ package dialogflowpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/apiv2/dialogflowpb/fulfillment.pb.go b/dialogflow/apiv2/dialogflowpb/fulfillment.pb.go index 3316a840e18c..63c7e62c5ffc 100755 --- a/dialogflow/apiv2/dialogflowpb/fulfillment.pb.go +++ b/dialogflow/apiv2/dialogflowpb/fulfillment.pb.go @@ -22,9 +22,6 @@ package dialogflowpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/apiv2/dialogflowpb/gcs.pb.go b/dialogflow/apiv2/dialogflowpb/gcs.pb.go index 28625d535499..cabba40f171a 100755 --- a/dialogflow/apiv2/dialogflowpb/gcs.pb.go +++ b/dialogflow/apiv2/dialogflowpb/gcs.pb.go @@ -21,12 +21,11 @@ package dialogflowpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/apiv2/dialogflowpb/generator.pb.go b/dialogflow/apiv2/dialogflowpb/generator.pb.go index cfd1c400b793..84470dcfe685 100755 --- a/dialogflow/apiv2/dialogflowpb/generator.pb.go +++ b/dialogflow/apiv2/dialogflowpb/generator.pb.go @@ -22,9 +22,6 @@ package dialogflowpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/apiv2/dialogflowpb/human_agent_assistant_event.pb.go b/dialogflow/apiv2/dialogflowpb/human_agent_assistant_event.pb.go index eef0f510ac4d..d159ab9fdf4e 100755 --- a/dialogflow/apiv2/dialogflowpb/human_agent_assistant_event.pb.go +++ b/dialogflow/apiv2/dialogflowpb/human_agent_assistant_event.pb.go @@ -21,11 +21,10 @@ package dialogflowpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/apiv2/dialogflowpb/intent.pb.go b/dialogflow/apiv2/dialogflowpb/intent.pb.go index d28f15917899..46e2d582743a 100755 --- a/dialogflow/apiv2/dialogflowpb/intent.pb.go +++ b/dialogflow/apiv2/dialogflowpb/intent.pb.go @@ -21,11 +21,8 @@ package dialogflowpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/apiv2/dialogflowpb/knowledge_base.pb.go b/dialogflow/apiv2/dialogflowpb/knowledge_base.pb.go index 1b47e454b113..6456bdb8e717 100755 --- a/dialogflow/apiv2/dialogflowpb/knowledge_base.pb.go +++ b/dialogflow/apiv2/dialogflowpb/knowledge_base.pb.go @@ -22,9 +22,6 @@ package dialogflowpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/apiv2/dialogflowpb/participant.pb.go b/dialogflow/apiv2/dialogflowpb/participant.pb.go index 532a22a99e6a..97324c5171d8 100755 --- a/dialogflow/apiv2/dialogflowpb/participant.pb.go +++ b/dialogflow/apiv2/dialogflowpb/participant.pb.go @@ -22,9 +22,6 @@ package dialogflowpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -35,6 +32,8 @@ import ( fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/apiv2/dialogflowpb/session.pb.go b/dialogflow/apiv2/dialogflowpb/session.pb.go index 6fbbd289662c..aae3c473153d 100755 --- a/dialogflow/apiv2/dialogflowpb/session.pb.go +++ b/dialogflow/apiv2/dialogflowpb/session.pb.go @@ -22,9 +22,6 @@ package dialogflowpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" latlng "google.golang.org/genproto/googleapis/type/latlng" @@ -36,6 +33,8 @@ import ( durationpb "google.golang.org/protobuf/types/known/durationpb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/apiv2/dialogflowpb/session_entity_type.pb.go b/dialogflow/apiv2/dialogflowpb/session_entity_type.pb.go index eba786eed38e..e9d76ae78bc5 100755 --- a/dialogflow/apiv2/dialogflowpb/session_entity_type.pb.go +++ b/dialogflow/apiv2/dialogflowpb/session_entity_type.pb.go @@ -22,9 +22,6 @@ package dialogflowpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/apiv2/dialogflowpb/validation_result.pb.go b/dialogflow/apiv2/dialogflowpb/validation_result.pb.go index 5af64d80fcb5..47ae313de218 100755 --- a/dialogflow/apiv2/dialogflowpb/validation_result.pb.go +++ b/dialogflow/apiv2/dialogflowpb/validation_result.pb.go @@ -21,11 +21,10 @@ package dialogflowpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/apiv2/dialogflowpb/version.pb.go b/dialogflow/apiv2/dialogflowpb/version.pb.go index a29edb0a286e..5df0dd011c73 100755 --- a/dialogflow/apiv2/dialogflowpb/version.pb.go +++ b/dialogflow/apiv2/dialogflowpb/version.pb.go @@ -22,9 +22,6 @@ package dialogflowpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/apiv2/dialogflowpb/webhook.pb.go b/dialogflow/apiv2/dialogflowpb/webhook.pb.go index edf9fc1a0e93..d15bb28bffa7 100755 --- a/dialogflow/apiv2/dialogflowpb/webhook.pb.go +++ b/dialogflow/apiv2/dialogflowpb/webhook.pb.go @@ -21,12 +21,11 @@ package dialogflowpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/apiv2beta1/dialogflowpb/agent.pb.go b/dialogflow/apiv2beta1/dialogflowpb/agent.pb.go index 7a565b744141..baf737b378cd 100755 --- a/dialogflow/apiv2beta1/dialogflowpb/agent.pb.go +++ b/dialogflow/apiv2beta1/dialogflowpb/agent.pb.go @@ -21,11 +21,8 @@ package dialogflowpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" _ "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/apiv2beta1/dialogflowpb/answer_record.pb.go b/dialogflow/apiv2beta1/dialogflowpb/answer_record.pb.go index ecda9500e661..5766245d72c2 100755 --- a/dialogflow/apiv2beta1/dialogflowpb/answer_record.pb.go +++ b/dialogflow/apiv2beta1/dialogflowpb/answer_record.pb.go @@ -22,9 +22,6 @@ package dialogflowpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/apiv2beta1/dialogflowpb/audio_config.pb.go b/dialogflow/apiv2beta1/dialogflowpb/audio_config.pb.go index f79713ea5765..09795b644bcb 100755 --- a/dialogflow/apiv2beta1/dialogflowpb/audio_config.pb.go +++ b/dialogflow/apiv2beta1/dialogflowpb/audio_config.pb.go @@ -21,13 +21,12 @@ package dialogflowpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/apiv2beta1/dialogflowpb/context.pb.go b/dialogflow/apiv2beta1/dialogflowpb/context.pb.go index 6f292c7aa8ea..636155f5e967 100755 --- a/dialogflow/apiv2beta1/dialogflowpb/context.pb.go +++ b/dialogflow/apiv2beta1/dialogflowpb/context.pb.go @@ -22,9 +22,6 @@ package dialogflowpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/apiv2beta1/dialogflowpb/conversation.pb.go b/dialogflow/apiv2beta1/dialogflowpb/conversation.pb.go index 70bae900da8e..ec4bdb0cd236 100755 --- a/dialogflow/apiv2beta1/dialogflowpb/conversation.pb.go +++ b/dialogflow/apiv2beta1/dialogflowpb/conversation.pb.go @@ -22,9 +22,6 @@ package dialogflowpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/apiv2beta1/dialogflowpb/conversation_event.pb.go b/dialogflow/apiv2beta1/dialogflowpb/conversation_event.pb.go index f9b884a128fe..e78e5e613372 100755 --- a/dialogflow/apiv2beta1/dialogflowpb/conversation_event.pb.go +++ b/dialogflow/apiv2beta1/dialogflowpb/conversation_event.pb.go @@ -21,12 +21,11 @@ package dialogflowpb import ( - reflect "reflect" - sync "sync" - status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/apiv2beta1/dialogflowpb/conversation_profile.pb.go b/dialogflow/apiv2beta1/dialogflowpb/conversation_profile.pb.go index b9e6650a9c52..3a22a9bfafc3 100755 --- a/dialogflow/apiv2beta1/dialogflowpb/conversation_profile.pb.go +++ b/dialogflow/apiv2beta1/dialogflowpb/conversation_profile.pb.go @@ -21,11 +21,8 @@ package dialogflowpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -36,6 +33,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/apiv2beta1/dialogflowpb/document.pb.go b/dialogflow/apiv2beta1/dialogflowpb/document.pb.go index 395206f05539..29830e2656aa 100755 --- a/dialogflow/apiv2beta1/dialogflowpb/document.pb.go +++ b/dialogflow/apiv2beta1/dialogflowpb/document.pb.go @@ -21,11 +21,8 @@ package dialogflowpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -36,6 +33,8 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/apiv2beta1/dialogflowpb/encryption_spec.pb.go b/dialogflow/apiv2beta1/dialogflowpb/encryption_spec.pb.go index 1b7033cdc414..972a293b045e 100755 --- a/dialogflow/apiv2beta1/dialogflowpb/encryption_spec.pb.go +++ b/dialogflow/apiv2beta1/dialogflowpb/encryption_spec.pb.go @@ -21,17 +21,16 @@ package dialogflowpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/apiv2beta1/dialogflowpb/entity_type.pb.go b/dialogflow/apiv2beta1/dialogflowpb/entity_type.pb.go index 3ec95d4f81c7..84e98bf9ea5c 100755 --- a/dialogflow/apiv2beta1/dialogflowpb/entity_type.pb.go +++ b/dialogflow/apiv2beta1/dialogflowpb/entity_type.pb.go @@ -21,11 +21,8 @@ package dialogflowpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" _ "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/apiv2beta1/dialogflowpb/environment.pb.go b/dialogflow/apiv2beta1/dialogflowpb/environment.pb.go index e0b42c53689a..86bc7bfd31e0 100755 --- a/dialogflow/apiv2beta1/dialogflowpb/environment.pb.go +++ b/dialogflow/apiv2beta1/dialogflowpb/environment.pb.go @@ -22,9 +22,6 @@ package dialogflowpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/apiv2beta1/dialogflowpb/fulfillment.pb.go b/dialogflow/apiv2beta1/dialogflowpb/fulfillment.pb.go index 64087424f964..986e66d12f72 100755 --- a/dialogflow/apiv2beta1/dialogflowpb/fulfillment.pb.go +++ b/dialogflow/apiv2beta1/dialogflowpb/fulfillment.pb.go @@ -22,9 +22,6 @@ package dialogflowpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/apiv2beta1/dialogflowpb/gcs.pb.go b/dialogflow/apiv2beta1/dialogflowpb/gcs.pb.go index 428a8b6d01d2..5d041f254121 100755 --- a/dialogflow/apiv2beta1/dialogflowpb/gcs.pb.go +++ b/dialogflow/apiv2beta1/dialogflowpb/gcs.pb.go @@ -21,12 +21,11 @@ package dialogflowpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/apiv2beta1/dialogflowpb/generator.pb.go b/dialogflow/apiv2beta1/dialogflowpb/generator.pb.go index 31651fe46dc6..a5ef2f175d6f 100755 --- a/dialogflow/apiv2beta1/dialogflowpb/generator.pb.go +++ b/dialogflow/apiv2beta1/dialogflowpb/generator.pb.go @@ -22,9 +22,6 @@ package dialogflowpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/apiv2beta1/dialogflowpb/human_agent_assistant_event.pb.go b/dialogflow/apiv2beta1/dialogflowpb/human_agent_assistant_event.pb.go index 686a3e7fb85d..fdbe16d62acd 100755 --- a/dialogflow/apiv2beta1/dialogflowpb/human_agent_assistant_event.pb.go +++ b/dialogflow/apiv2beta1/dialogflowpb/human_agent_assistant_event.pb.go @@ -21,11 +21,10 @@ package dialogflowpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/apiv2beta1/dialogflowpb/intent.pb.go b/dialogflow/apiv2beta1/dialogflowpb/intent.pb.go index 57d48e605e92..c68968d68f04 100755 --- a/dialogflow/apiv2beta1/dialogflowpb/intent.pb.go +++ b/dialogflow/apiv2beta1/dialogflowpb/intent.pb.go @@ -21,11 +21,8 @@ package dialogflowpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/apiv2beta1/dialogflowpb/knowledge_base.pb.go b/dialogflow/apiv2beta1/dialogflowpb/knowledge_base.pb.go index 40ee3f553673..d920bd8affb7 100755 --- a/dialogflow/apiv2beta1/dialogflowpb/knowledge_base.pb.go +++ b/dialogflow/apiv2beta1/dialogflowpb/knowledge_base.pb.go @@ -22,9 +22,6 @@ package dialogflowpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/apiv2beta1/dialogflowpb/participant.pb.go b/dialogflow/apiv2beta1/dialogflowpb/participant.pb.go index e75621bf21c5..0c3bf9010d7e 100755 --- a/dialogflow/apiv2beta1/dialogflowpb/participant.pb.go +++ b/dialogflow/apiv2beta1/dialogflowpb/participant.pb.go @@ -22,9 +22,6 @@ package dialogflowpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -35,6 +32,8 @@ import ( fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/apiv2beta1/dialogflowpb/session.pb.go b/dialogflow/apiv2beta1/dialogflowpb/session.pb.go index 3c0bc9366f9f..6945f4718cc5 100755 --- a/dialogflow/apiv2beta1/dialogflowpb/session.pb.go +++ b/dialogflow/apiv2beta1/dialogflowpb/session.pb.go @@ -22,9 +22,6 @@ package dialogflowpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" latlng "google.golang.org/genproto/googleapis/type/latlng" @@ -36,6 +33,8 @@ import ( durationpb "google.golang.org/protobuf/types/known/durationpb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/apiv2beta1/dialogflowpb/session_entity_type.pb.go b/dialogflow/apiv2beta1/dialogflowpb/session_entity_type.pb.go index df0a925d470f..cdedf2a81805 100755 --- a/dialogflow/apiv2beta1/dialogflowpb/session_entity_type.pb.go +++ b/dialogflow/apiv2beta1/dialogflowpb/session_entity_type.pb.go @@ -22,9 +22,6 @@ package dialogflowpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/apiv2beta1/dialogflowpb/validation_result.pb.go b/dialogflow/apiv2beta1/dialogflowpb/validation_result.pb.go index 882beaf49ac4..29f1fc506c35 100755 --- a/dialogflow/apiv2beta1/dialogflowpb/validation_result.pb.go +++ b/dialogflow/apiv2beta1/dialogflowpb/validation_result.pb.go @@ -21,11 +21,10 @@ package dialogflowpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/apiv2beta1/dialogflowpb/version.pb.go b/dialogflow/apiv2beta1/dialogflowpb/version.pb.go index ca6452687ce5..fe3a1a78f4c1 100755 --- a/dialogflow/apiv2beta1/dialogflowpb/version.pb.go +++ b/dialogflow/apiv2beta1/dialogflowpb/version.pb.go @@ -22,9 +22,6 @@ package dialogflowpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/apiv2beta1/dialogflowpb/webhook.pb.go b/dialogflow/apiv2beta1/dialogflowpb/webhook.pb.go index 6dc1a3db8e54..eec7d3d71fc3 100755 --- a/dialogflow/apiv2beta1/dialogflowpb/webhook.pb.go +++ b/dialogflow/apiv2beta1/dialogflowpb/webhook.pb.go @@ -21,12 +21,11 @@ package dialogflowpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3/cxpb/advanced_settings.pb.go b/dialogflow/cx/apiv3/cxpb/advanced_settings.pb.go index 3f01f36cb601..09dcd7f3af14 100755 --- a/dialogflow/cx/apiv3/cxpb/advanced_settings.pb.go +++ b/dialogflow/cx/apiv3/cxpb/advanced_settings.pb.go @@ -21,13 +21,12 @@ package cxpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3/cxpb/agent.pb.go b/dialogflow/cx/apiv3/cxpb/agent.pb.go index e02785d419a9..4e161959ae7d 100755 --- a/dialogflow/cx/apiv3/cxpb/agent.pb.go +++ b/dialogflow/cx/apiv3/cxpb/agent.pb.go @@ -21,11 +21,8 @@ package cxpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3/cxpb/audio_config.pb.go b/dialogflow/cx/apiv3/cxpb/audio_config.pb.go index 20bc946f6416..0e6af170aeb5 100755 --- a/dialogflow/cx/apiv3/cxpb/audio_config.pb.go +++ b/dialogflow/cx/apiv3/cxpb/audio_config.pb.go @@ -21,13 +21,12 @@ package cxpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3/cxpb/changelog.pb.go b/dialogflow/cx/apiv3/cxpb/changelog.pb.go index 9ee417c198b6..41492e83c268 100755 --- a/dialogflow/cx/apiv3/cxpb/changelog.pb.go +++ b/dialogflow/cx/apiv3/cxpb/changelog.pb.go @@ -22,9 +22,6 @@ package cxpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3/cxpb/data_store_connection.pb.go b/dialogflow/cx/apiv3/cxpb/data_store_connection.pb.go index 9239bb4b0c1b..301e10087953 100755 --- a/dialogflow/cx/apiv3/cxpb/data_store_connection.pb.go +++ b/dialogflow/cx/apiv3/cxpb/data_store_connection.pb.go @@ -21,12 +21,11 @@ package cxpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3/cxpb/deployment.pb.go b/dialogflow/cx/apiv3/cxpb/deployment.pb.go index 2a8f9723a471..e95be36c6a0c 100755 --- a/dialogflow/cx/apiv3/cxpb/deployment.pb.go +++ b/dialogflow/cx/apiv3/cxpb/deployment.pb.go @@ -22,9 +22,6 @@ package cxpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3/cxpb/entity_type.pb.go b/dialogflow/cx/apiv3/cxpb/entity_type.pb.go index 838190a86d2b..2f753c206344 100755 --- a/dialogflow/cx/apiv3/cxpb/entity_type.pb.go +++ b/dialogflow/cx/apiv3/cxpb/entity_type.pb.go @@ -21,11 +21,8 @@ package cxpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3/cxpb/environment.pb.go b/dialogflow/cx/apiv3/cxpb/environment.pb.go index 3db664148793..dd60ccbc0cc6 100755 --- a/dialogflow/cx/apiv3/cxpb/environment.pb.go +++ b/dialogflow/cx/apiv3/cxpb/environment.pb.go @@ -21,11 +21,8 @@ package cxpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -36,6 +33,8 @@ import ( fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" _ "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3/cxpb/experiment.pb.go b/dialogflow/cx/apiv3/cxpb/experiment.pb.go index ade971e74841..aab2ce711efc 100755 --- a/dialogflow/cx/apiv3/cxpb/experiment.pb.go +++ b/dialogflow/cx/apiv3/cxpb/experiment.pb.go @@ -22,9 +22,6 @@ package cxpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3/cxpb/flow.pb.go b/dialogflow/cx/apiv3/cxpb/flow.pb.go index 31fa336a84b4..ac153c68913e 100755 --- a/dialogflow/cx/apiv3/cxpb/flow.pb.go +++ b/dialogflow/cx/apiv3/cxpb/flow.pb.go @@ -21,11 +21,8 @@ package cxpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -36,6 +33,8 @@ import ( fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" _ "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3/cxpb/fulfillment.pb.go b/dialogflow/cx/apiv3/cxpb/fulfillment.pb.go index 1518cebf68d4..c15354928372 100755 --- a/dialogflow/cx/apiv3/cxpb/fulfillment.pb.go +++ b/dialogflow/cx/apiv3/cxpb/fulfillment.pb.go @@ -21,13 +21,12 @@ package cxpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3/cxpb/gcs.pb.go b/dialogflow/cx/apiv3/cxpb/gcs.pb.go index 5514a775539d..8e08365ee1d5 100755 --- a/dialogflow/cx/apiv3/cxpb/gcs.pb.go +++ b/dialogflow/cx/apiv3/cxpb/gcs.pb.go @@ -21,12 +21,11 @@ package cxpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3/cxpb/generative_settings.pb.go b/dialogflow/cx/apiv3/cxpb/generative_settings.pb.go index 1e38620e78e1..931086d2ef15 100755 --- a/dialogflow/cx/apiv3/cxpb/generative_settings.pb.go +++ b/dialogflow/cx/apiv3/cxpb/generative_settings.pb.go @@ -21,12 +21,11 @@ package cxpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3/cxpb/generator.pb.go b/dialogflow/cx/apiv3/cxpb/generator.pb.go index fddf0a6de287..5b8a31054024 100755 --- a/dialogflow/cx/apiv3/cxpb/generator.pb.go +++ b/dialogflow/cx/apiv3/cxpb/generator.pb.go @@ -22,9 +22,6 @@ package cxpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3/cxpb/import_strategy.pb.go b/dialogflow/cx/apiv3/cxpb/import_strategy.pb.go index 958e68f67974..4897506bb458 100755 --- a/dialogflow/cx/apiv3/cxpb/import_strategy.pb.go +++ b/dialogflow/cx/apiv3/cxpb/import_strategy.pb.go @@ -21,11 +21,10 @@ package cxpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3/cxpb/inline.pb.go b/dialogflow/cx/apiv3/cxpb/inline.pb.go index 5dd4c94e6d02..508928832e86 100755 --- a/dialogflow/cx/apiv3/cxpb/inline.pb.go +++ b/dialogflow/cx/apiv3/cxpb/inline.pb.go @@ -21,12 +21,11 @@ package cxpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3/cxpb/intent.pb.go b/dialogflow/cx/apiv3/cxpb/intent.pb.go index d4257480f430..a09d5b420513 100755 --- a/dialogflow/cx/apiv3/cxpb/intent.pb.go +++ b/dialogflow/cx/apiv3/cxpb/intent.pb.go @@ -21,11 +21,8 @@ package cxpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3/cxpb/page.pb.go b/dialogflow/cx/apiv3/cxpb/page.pb.go index c616b62f2948..e79dca9c94b8 100755 --- a/dialogflow/cx/apiv3/cxpb/page.pb.go +++ b/dialogflow/cx/apiv3/cxpb/page.pb.go @@ -22,9 +22,6 @@ package cxpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3/cxpb/response_message.pb.go b/dialogflow/cx/apiv3/cxpb/response_message.pb.go index b8ee1d0733f3..f2f46a7c6bcc 100755 --- a/dialogflow/cx/apiv3/cxpb/response_message.pb.go +++ b/dialogflow/cx/apiv3/cxpb/response_message.pb.go @@ -21,13 +21,12 @@ package cxpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( @@ -430,10 +429,10 @@ func (x *ResponseMessage_Text) GetAllowPlaybackInterruption() bool { // [entry_fulfillment][google.cloud.dialogflow.cx.v3.Page.entry_fulfillment] // of a [Page][google.cloud.dialogflow.cx.v3.Page] if // -// entering the page indicates something went extremely wrong in the -// conversation. -// - In a webhook response when you determine that the customer issue can only -// be handled by a human. +// entering the page indicates something went extremely wrong in the +// conversation. +// - In a webhook response when you determine that the customer issue can only +// be handled by a human. type ResponseMessage_LiveAgentHandoff struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -497,9 +496,9 @@ func (x *ResponseMessage_LiveAgentHandoff) GetMetadata() *structpb.Struct { // [entry_fulfillment][google.cloud.dialogflow.cx.v3.Page.entry_fulfillment] // of a [Page][google.cloud.dialogflow.cx.v3.Page] if // -// entering the page indicates that the conversation succeeded. -// - In a webhook response when you determine that you handled the customer -// issue. +// entering the page indicates that the conversation succeeded. +// - In a webhook response when you determine that you handled the customer +// issue. type ResponseMessage_ConversationSuccess struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/dialogflow/cx/apiv3/cxpb/safety_settings.pb.go b/dialogflow/cx/apiv3/cxpb/safety_settings.pb.go index 844cab42f285..68153efe57c8 100755 --- a/dialogflow/cx/apiv3/cxpb/safety_settings.pb.go +++ b/dialogflow/cx/apiv3/cxpb/safety_settings.pb.go @@ -21,12 +21,11 @@ package cxpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3/cxpb/security_settings.pb.go b/dialogflow/cx/apiv3/cxpb/security_settings.pb.go index 31bd7e3a6cec..446583ffd9e1 100755 --- a/dialogflow/cx/apiv3/cxpb/security_settings.pb.go +++ b/dialogflow/cx/apiv3/cxpb/security_settings.pb.go @@ -22,9 +22,6 @@ package cxpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3/cxpb/session.pb.go b/dialogflow/cx/apiv3/cxpb/session.pb.go index 55d8cde57d65..1c14f2840e6d 100755 --- a/dialogflow/cx/apiv3/cxpb/session.pb.go +++ b/dialogflow/cx/apiv3/cxpb/session.pb.go @@ -22,9 +22,6 @@ package cxpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" latlng "google.golang.org/genproto/googleapis/type/latlng" @@ -36,6 +33,8 @@ import ( durationpb "google.golang.org/protobuf/types/known/durationpb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3/cxpb/session_entity_type.pb.go b/dialogflow/cx/apiv3/cxpb/session_entity_type.pb.go index d3e2db9f087d..b019745a323c 100755 --- a/dialogflow/cx/apiv3/cxpb/session_entity_type.pb.go +++ b/dialogflow/cx/apiv3/cxpb/session_entity_type.pb.go @@ -22,9 +22,6 @@ package cxpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3/cxpb/test_case.pb.go b/dialogflow/cx/apiv3/cxpb/test_case.pb.go index dc950d629329..5517974bf599 100755 --- a/dialogflow/cx/apiv3/cxpb/test_case.pb.go +++ b/dialogflow/cx/apiv3/cxpb/test_case.pb.go @@ -21,11 +21,8 @@ package cxpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -37,6 +34,8 @@ import ( fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3/cxpb/transition_route_group.pb.go b/dialogflow/cx/apiv3/cxpb/transition_route_group.pb.go index fd6606b354b8..5eefe3b8ebeb 100755 --- a/dialogflow/cx/apiv3/cxpb/transition_route_group.pb.go +++ b/dialogflow/cx/apiv3/cxpb/transition_route_group.pb.go @@ -22,9 +22,6 @@ package cxpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3/cxpb/validation_message.pb.go b/dialogflow/cx/apiv3/cxpb/validation_message.pb.go index 90451c7a8d8a..ce5fc3a85686 100755 --- a/dialogflow/cx/apiv3/cxpb/validation_message.pb.go +++ b/dialogflow/cx/apiv3/cxpb/validation_message.pb.go @@ -21,11 +21,10 @@ package cxpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3/cxpb/version.pb.go b/dialogflow/cx/apiv3/cxpb/version.pb.go index 8be1dc2888ec..bdd136dd8317 100755 --- a/dialogflow/cx/apiv3/cxpb/version.pb.go +++ b/dialogflow/cx/apiv3/cxpb/version.pb.go @@ -21,11 +21,8 @@ package cxpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -36,6 +33,8 @@ import ( fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" _ "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3/cxpb/webhook.pb.go b/dialogflow/cx/apiv3/cxpb/webhook.pb.go index 2dfbb3a0db4b..5677edc4a55a 100755 --- a/dialogflow/cx/apiv3/cxpb/webhook.pb.go +++ b/dialogflow/cx/apiv3/cxpb/webhook.pb.go @@ -22,9 +22,6 @@ package cxpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3beta1/cxpb/advanced_settings.pb.go b/dialogflow/cx/apiv3beta1/cxpb/advanced_settings.pb.go index c96dd487477f..c65074590893 100755 --- a/dialogflow/cx/apiv3beta1/cxpb/advanced_settings.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/advanced_settings.pb.go @@ -21,13 +21,12 @@ package cxpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3beta1/cxpb/agent.pb.go b/dialogflow/cx/apiv3beta1/cxpb/agent.pb.go index 5eb7c3a8c7e6..dd4083b99bc5 100755 --- a/dialogflow/cx/apiv3beta1/cxpb/agent.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/agent.pb.go @@ -21,11 +21,8 @@ package cxpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3beta1/cxpb/audio_config.pb.go b/dialogflow/cx/apiv3beta1/cxpb/audio_config.pb.go index 5ceb1e1e2e10..ca34f7d645ee 100755 --- a/dialogflow/cx/apiv3beta1/cxpb/audio_config.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/audio_config.pb.go @@ -21,13 +21,12 @@ package cxpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3beta1/cxpb/changelog.pb.go b/dialogflow/cx/apiv3beta1/cxpb/changelog.pb.go index b2e7c6483d1f..12a92310918d 100755 --- a/dialogflow/cx/apiv3beta1/cxpb/changelog.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/changelog.pb.go @@ -22,9 +22,6 @@ package cxpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3beta1/cxpb/conversation_history.pb.go b/dialogflow/cx/apiv3beta1/cxpb/conversation_history.pb.go index 7c4b2bbd74e5..531df9307802 100755 --- a/dialogflow/cx/apiv3beta1/cxpb/conversation_history.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/conversation_history.pb.go @@ -22,9 +22,6 @@ package cxpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( durationpb "google.golang.org/protobuf/types/known/durationpb" emptypb "google.golang.org/protobuf/types/known/emptypb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3beta1/cxpb/data_store_connection.pb.go b/dialogflow/cx/apiv3beta1/cxpb/data_store_connection.pb.go index 2c22c8f4c681..f76125e0315d 100755 --- a/dialogflow/cx/apiv3beta1/cxpb/data_store_connection.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/data_store_connection.pb.go @@ -21,12 +21,11 @@ package cxpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3beta1/cxpb/deployment.pb.go b/dialogflow/cx/apiv3beta1/cxpb/deployment.pb.go index d9bf533527d9..48db871cbe11 100755 --- a/dialogflow/cx/apiv3beta1/cxpb/deployment.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/deployment.pb.go @@ -22,9 +22,6 @@ package cxpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3beta1/cxpb/entity_type.pb.go b/dialogflow/cx/apiv3beta1/cxpb/entity_type.pb.go index 4b248ab01937..f069117729a1 100755 --- a/dialogflow/cx/apiv3beta1/cxpb/entity_type.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/entity_type.pb.go @@ -21,11 +21,8 @@ package cxpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3beta1/cxpb/environment.pb.go b/dialogflow/cx/apiv3beta1/cxpb/environment.pb.go index 826e6baa4837..a8a214b449e2 100755 --- a/dialogflow/cx/apiv3beta1/cxpb/environment.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/environment.pb.go @@ -21,11 +21,8 @@ package cxpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -36,6 +33,8 @@ import ( fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" _ "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3beta1/cxpb/example.pb.go b/dialogflow/cx/apiv3beta1/cxpb/example.pb.go index 3ebbc2f857e4..ad28da204088 100755 --- a/dialogflow/cx/apiv3beta1/cxpb/example.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/example.pb.go @@ -22,9 +22,6 @@ package cxpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3beta1/cxpb/experiment.pb.go b/dialogflow/cx/apiv3beta1/cxpb/experiment.pb.go index 500f9d0e31f2..b2b57e6b3071 100755 --- a/dialogflow/cx/apiv3beta1/cxpb/experiment.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/experiment.pb.go @@ -22,9 +22,6 @@ package cxpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3beta1/cxpb/flow.pb.go b/dialogflow/cx/apiv3beta1/cxpb/flow.pb.go index ba635e3b21ff..4814d463f1be 100755 --- a/dialogflow/cx/apiv3beta1/cxpb/flow.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/flow.pb.go @@ -21,11 +21,8 @@ package cxpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -36,6 +33,8 @@ import ( fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" _ "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3beta1/cxpb/fulfillment.pb.go b/dialogflow/cx/apiv3beta1/cxpb/fulfillment.pb.go index 463fb86af775..7b28a71f9e5f 100755 --- a/dialogflow/cx/apiv3beta1/cxpb/fulfillment.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/fulfillment.pb.go @@ -21,13 +21,12 @@ package cxpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3beta1/cxpb/gcs.pb.go b/dialogflow/cx/apiv3beta1/cxpb/gcs.pb.go index ff8b4b23c71c..956079753f11 100755 --- a/dialogflow/cx/apiv3beta1/cxpb/gcs.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/gcs.pb.go @@ -21,12 +21,11 @@ package cxpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3beta1/cxpb/generative_settings.pb.go b/dialogflow/cx/apiv3beta1/cxpb/generative_settings.pb.go index d328d374dd97..457164885c56 100755 --- a/dialogflow/cx/apiv3beta1/cxpb/generative_settings.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/generative_settings.pb.go @@ -21,12 +21,11 @@ package cxpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3beta1/cxpb/generator.pb.go b/dialogflow/cx/apiv3beta1/cxpb/generator.pb.go index 92a89bf03538..47fe51f851aa 100755 --- a/dialogflow/cx/apiv3beta1/cxpb/generator.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/generator.pb.go @@ -22,9 +22,6 @@ package cxpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3beta1/cxpb/import_strategy.pb.go b/dialogflow/cx/apiv3beta1/cxpb/import_strategy.pb.go index cca254fd0c16..c61ecbd25f8b 100755 --- a/dialogflow/cx/apiv3beta1/cxpb/import_strategy.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/import_strategy.pb.go @@ -21,11 +21,10 @@ package cxpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3beta1/cxpb/inline.pb.go b/dialogflow/cx/apiv3beta1/cxpb/inline.pb.go index 4d34530207bf..7fde52562e52 100755 --- a/dialogflow/cx/apiv3beta1/cxpb/inline.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/inline.pb.go @@ -21,12 +21,11 @@ package cxpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3beta1/cxpb/intent.pb.go b/dialogflow/cx/apiv3beta1/cxpb/intent.pb.go index 4bae5f4652d4..503954e5fe0e 100755 --- a/dialogflow/cx/apiv3beta1/cxpb/intent.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/intent.pb.go @@ -21,11 +21,8 @@ package cxpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3beta1/cxpb/page.pb.go b/dialogflow/cx/apiv3beta1/cxpb/page.pb.go index b8a684539927..f5f6cb813a0d 100755 --- a/dialogflow/cx/apiv3beta1/cxpb/page.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/page.pb.go @@ -22,9 +22,6 @@ package cxpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3beta1/cxpb/parameter_definition.pb.go b/dialogflow/cx/apiv3beta1/cxpb/parameter_definition.pb.go index 0da70c41a61d..d0d1833d83b6 100755 --- a/dialogflow/cx/apiv3beta1/cxpb/parameter_definition.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/parameter_definition.pb.go @@ -21,12 +21,11 @@ package cxpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3beta1/cxpb/playbook.pb.go b/dialogflow/cx/apiv3beta1/cxpb/playbook.pb.go index 15b02d6d9869..5661f67b4dcb 100755 --- a/dialogflow/cx/apiv3beta1/cxpb/playbook.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/playbook.pb.go @@ -22,9 +22,6 @@ package cxpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3beta1/cxpb/response_message.pb.go b/dialogflow/cx/apiv3beta1/cxpb/response_message.pb.go index bdff085a8b31..7308175c6407 100755 --- a/dialogflow/cx/apiv3beta1/cxpb/response_message.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/response_message.pb.go @@ -21,13 +21,12 @@ package cxpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( @@ -374,10 +373,10 @@ func (x *ResponseMessage_Text) GetAllowPlaybackInterruption() bool { // [entry_fulfillment][google.cloud.dialogflow.cx.v3beta1.Page.entry_fulfillment] // of a [Page][google.cloud.dialogflow.cx.v3beta1.Page] if // -// entering the page indicates something went extremely wrong in the -// conversation. -// - In a webhook response when you determine that the customer issue can only -// be handled by a human. +// entering the page indicates something went extremely wrong in the +// conversation. +// - In a webhook response when you determine that the customer issue can only +// be handled by a human. type ResponseMessage_LiveAgentHandoff struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -441,9 +440,9 @@ func (x *ResponseMessage_LiveAgentHandoff) GetMetadata() *structpb.Struct { // [entry_fulfillment][google.cloud.dialogflow.cx.v3beta1.Page.entry_fulfillment] // of a [Page][google.cloud.dialogflow.cx.v3beta1.Page] if // -// entering the page indicates that the conversation succeeded. -// - In a webhook response when you determine that you handled the customer -// issue. +// entering the page indicates that the conversation succeeded. +// - In a webhook response when you determine that you handled the customer +// issue. type ResponseMessage_ConversationSuccess struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/dialogflow/cx/apiv3beta1/cxpb/safety_settings.pb.go b/dialogflow/cx/apiv3beta1/cxpb/safety_settings.pb.go index 9590ea967830..e735324f7326 100755 --- a/dialogflow/cx/apiv3beta1/cxpb/safety_settings.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/safety_settings.pb.go @@ -21,12 +21,11 @@ package cxpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3beta1/cxpb/security_settings.pb.go b/dialogflow/cx/apiv3beta1/cxpb/security_settings.pb.go index 0ac122f35c53..87b0cf0bf96a 100755 --- a/dialogflow/cx/apiv3beta1/cxpb/security_settings.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/security_settings.pb.go @@ -22,9 +22,6 @@ package cxpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3beta1/cxpb/session.pb.go b/dialogflow/cx/apiv3beta1/cxpb/session.pb.go index 75b7f6be54a9..efd63e99a3bf 100755 --- a/dialogflow/cx/apiv3beta1/cxpb/session.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/session.pb.go @@ -22,9 +22,6 @@ package cxpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" latlng "google.golang.org/genproto/googleapis/type/latlng" @@ -36,6 +33,8 @@ import ( durationpb "google.golang.org/protobuf/types/known/durationpb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3beta1/cxpb/session_entity_type.pb.go b/dialogflow/cx/apiv3beta1/cxpb/session_entity_type.pb.go index 7a6acf39139a..fd84a1d82029 100755 --- a/dialogflow/cx/apiv3beta1/cxpb/session_entity_type.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/session_entity_type.pb.go @@ -22,9 +22,6 @@ package cxpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3beta1/cxpb/test_case.pb.go b/dialogflow/cx/apiv3beta1/cxpb/test_case.pb.go index 7182759ba56e..8bce3eb03277 100755 --- a/dialogflow/cx/apiv3beta1/cxpb/test_case.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/test_case.pb.go @@ -21,11 +21,8 @@ package cxpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -37,6 +34,8 @@ import ( fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3beta1/cxpb/tool.pb.go b/dialogflow/cx/apiv3beta1/cxpb/tool.pb.go index 152f7dcb9071..e585919d1184 100755 --- a/dialogflow/cx/apiv3beta1/cxpb/tool.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/tool.pb.go @@ -21,11 +21,8 @@ package cxpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3beta1/cxpb/tool_call.pb.go b/dialogflow/cx/apiv3beta1/cxpb/tool_call.pb.go index 1f850d9279ee..5185368c2e43 100755 --- a/dialogflow/cx/apiv3beta1/cxpb/tool_call.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/tool_call.pb.go @@ -21,13 +21,12 @@ package cxpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3beta1/cxpb/transition_route_group.pb.go b/dialogflow/cx/apiv3beta1/cxpb/transition_route_group.pb.go index 150192670480..4432945d626c 100755 --- a/dialogflow/cx/apiv3beta1/cxpb/transition_route_group.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/transition_route_group.pb.go @@ -22,9 +22,6 @@ package cxpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3beta1/cxpb/validation_message.pb.go b/dialogflow/cx/apiv3beta1/cxpb/validation_message.pb.go index 7af9a567f69a..d1c865d28529 100755 --- a/dialogflow/cx/apiv3beta1/cxpb/validation_message.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/validation_message.pb.go @@ -21,11 +21,10 @@ package cxpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3beta1/cxpb/version.pb.go b/dialogflow/cx/apiv3beta1/cxpb/version.pb.go index 3de4b3fb2cc0..c60afe1dd160 100755 --- a/dialogflow/cx/apiv3beta1/cxpb/version.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/version.pb.go @@ -21,11 +21,8 @@ package cxpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -36,6 +33,8 @@ import ( fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" _ "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3beta1/cxpb/webhook.pb.go b/dialogflow/cx/apiv3beta1/cxpb/webhook.pb.go index 7d6e8a584354..aa8eae7bed18 100755 --- a/dialogflow/cx/apiv3beta1/cxpb/webhook.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/webhook.pb.go @@ -22,9 +22,6 @@ package cxpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1/discoveryenginepb/answer.pb.go b/discoveryengine/apiv1/discoveryenginepb/answer.pb.go index acd10238cacf..84a159a9a972 100755 --- a/discoveryengine/apiv1/discoveryenginepb/answer.pb.go +++ b/discoveryengine/apiv1/discoveryenginepb/answer.pb.go @@ -21,14 +21,13 @@ package discoveryenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1/discoveryenginepb/chunk.pb.go b/discoveryengine/apiv1/discoveryenginepb/chunk.pb.go index 00ebdc69b64c..fbed4a7e9bb6 100755 --- a/discoveryengine/apiv1/discoveryenginepb/chunk.pb.go +++ b/discoveryengine/apiv1/discoveryenginepb/chunk.pb.go @@ -21,13 +21,12 @@ package discoveryenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1/discoveryenginepb/common.pb.go b/discoveryengine/apiv1/discoveryenginepb/common.pb.go index 8abdbb46d435..d55f142950ea 100755 --- a/discoveryengine/apiv1/discoveryenginepb/common.pb.go +++ b/discoveryengine/apiv1/discoveryenginepb/common.pb.go @@ -21,12 +21,11 @@ package discoveryenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1/discoveryenginepb/completion.pb.go b/discoveryengine/apiv1/discoveryenginepb/completion.pb.go index 192fd481f830..f75128df04e5 100755 --- a/discoveryengine/apiv1/discoveryenginepb/completion.pb.go +++ b/discoveryengine/apiv1/discoveryenginepb/completion.pb.go @@ -21,12 +21,11 @@ package discoveryenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1/discoveryenginepb/completion_service.pb.go b/discoveryengine/apiv1/discoveryenginepb/completion_service.pb.go index 69d3e98eadef..a9959eb6134f 100755 --- a/discoveryengine/apiv1/discoveryenginepb/completion_service.pb.go +++ b/discoveryengine/apiv1/discoveryenginepb/completion_service.pb.go @@ -21,17 +21,16 @@ package discoveryenginepb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1/discoveryenginepb/control.pb.go b/discoveryengine/apiv1/discoveryenginepb/control.pb.go index 7976159fa0ff..a4c8f03babf6 100755 --- a/discoveryengine/apiv1/discoveryenginepb/control.pb.go +++ b/discoveryengine/apiv1/discoveryenginepb/control.pb.go @@ -21,13 +21,12 @@ package discoveryenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1/discoveryenginepb/control_service.pb.go b/discoveryengine/apiv1/discoveryenginepb/control_service.pb.go index c7fdf4426156..31e09c7604bc 100755 --- a/discoveryengine/apiv1/discoveryenginepb/control_service.pb.go +++ b/discoveryengine/apiv1/discoveryenginepb/control_service.pb.go @@ -22,9 +22,6 @@ package discoveryenginepb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1/discoveryenginepb/conversation.pb.go b/discoveryengine/apiv1/discoveryenginepb/conversation.pb.go index 31905bc37b38..2ab553b0ee97 100755 --- a/discoveryengine/apiv1/discoveryenginepb/conversation.pb.go +++ b/discoveryengine/apiv1/discoveryenginepb/conversation.pb.go @@ -21,13 +21,12 @@ package discoveryenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1/discoveryenginepb/conversational_search_service.pb.go b/discoveryengine/apiv1/discoveryenginepb/conversational_search_service.pb.go index 30029cbb3dfd..d4c1dd82df64 100755 --- a/discoveryengine/apiv1/discoveryenginepb/conversational_search_service.pb.go +++ b/discoveryengine/apiv1/discoveryenginepb/conversational_search_service.pb.go @@ -22,9 +22,6 @@ package discoveryenginepb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1/discoveryenginepb/custom_tuning_model.pb.go b/discoveryengine/apiv1/discoveryenginepb/custom_tuning_model.pb.go index 92b86064089a..d03254a23639 100755 --- a/discoveryengine/apiv1/discoveryenginepb/custom_tuning_model.pb.go +++ b/discoveryengine/apiv1/discoveryenginepb/custom_tuning_model.pb.go @@ -21,13 +21,12 @@ package discoveryenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1/discoveryenginepb/data_store.pb.go b/discoveryengine/apiv1/discoveryenginepb/data_store.pb.go index 54f038e3dd67..09b5ace1b751 100755 --- a/discoveryengine/apiv1/discoveryenginepb/data_store.pb.go +++ b/discoveryengine/apiv1/discoveryenginepb/data_store.pb.go @@ -21,13 +21,12 @@ package discoveryenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1/discoveryenginepb/data_store_service.pb.go b/discoveryengine/apiv1/discoveryenginepb/data_store_service.pb.go index b4acaa131bf3..6a4b89b70303 100755 --- a/discoveryengine/apiv1/discoveryenginepb/data_store_service.pb.go +++ b/discoveryengine/apiv1/discoveryenginepb/data_store_service.pb.go @@ -21,11 +21,8 @@ package discoveryenginepb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1/discoveryenginepb/document.pb.go b/discoveryengine/apiv1/discoveryenginepb/document.pb.go index ae88564ac23b..46f65f24b443 100755 --- a/discoveryengine/apiv1/discoveryenginepb/document.pb.go +++ b/discoveryengine/apiv1/discoveryenginepb/document.pb.go @@ -21,15 +21,14 @@ package discoveryenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1/discoveryenginepb/document_processing_config.pb.go b/discoveryengine/apiv1/discoveryenginepb/document_processing_config.pb.go index 27bae2d0eef2..5f6c05de6a03 100755 --- a/discoveryengine/apiv1/discoveryenginepb/document_processing_config.pb.go +++ b/discoveryengine/apiv1/discoveryenginepb/document_processing_config.pb.go @@ -21,12 +21,11 @@ package discoveryenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1/discoveryenginepb/document_service.pb.go b/discoveryengine/apiv1/discoveryenginepb/document_service.pb.go index 5c7619c83ee6..c97d7994a688 100755 --- a/discoveryengine/apiv1/discoveryenginepb/document_service.pb.go +++ b/discoveryengine/apiv1/discoveryenginepb/document_service.pb.go @@ -21,11 +21,8 @@ package discoveryenginepb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1/discoveryenginepb/engine.pb.go b/discoveryengine/apiv1/discoveryenginepb/engine.pb.go index c859e7007fa6..144991f31f2d 100755 --- a/discoveryengine/apiv1/discoveryenginepb/engine.pb.go +++ b/discoveryengine/apiv1/discoveryenginepb/engine.pb.go @@ -21,13 +21,12 @@ package discoveryenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1/discoveryenginepb/engine_service.pb.go b/discoveryengine/apiv1/discoveryenginepb/engine_service.pb.go index 0397406e02ba..16e9d05a08de 100755 --- a/discoveryengine/apiv1/discoveryenginepb/engine_service.pb.go +++ b/discoveryengine/apiv1/discoveryenginepb/engine_service.pb.go @@ -21,11 +21,8 @@ package discoveryenginepb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1/discoveryenginepb/grounded_generation_service.pb.go b/discoveryengine/apiv1/discoveryenginepb/grounded_generation_service.pb.go index 4a4078fe6b3f..3db92298cb63 100755 --- a/discoveryengine/apiv1/discoveryenginepb/grounded_generation_service.pb.go +++ b/discoveryengine/apiv1/discoveryenginepb/grounded_generation_service.pb.go @@ -22,15 +22,14 @@ package discoveryenginepb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1/discoveryenginepb/grounding.pb.go b/discoveryengine/apiv1/discoveryenginepb/grounding.pb.go index a3f728d74813..201d7b3e293a 100755 --- a/discoveryengine/apiv1/discoveryenginepb/grounding.pb.go +++ b/discoveryengine/apiv1/discoveryenginepb/grounding.pb.go @@ -21,12 +21,11 @@ package discoveryenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1/discoveryenginepb/import_config.pb.go b/discoveryengine/apiv1/discoveryenginepb/import_config.pb.go index 9f4ffaabb849..4938509c299b 100755 --- a/discoveryengine/apiv1/discoveryenginepb/import_config.pb.go +++ b/discoveryengine/apiv1/discoveryenginepb/import_config.pb.go @@ -21,9 +21,6 @@ package discoveryenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" date "google.golang.org/genproto/googleapis/type/date" @@ -31,6 +28,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1/discoveryenginepb/project.pb.go b/discoveryengine/apiv1/discoveryenginepb/project.pb.go index 882cfe85a570..95c2192e2e88 100755 --- a/discoveryengine/apiv1/discoveryenginepb/project.pb.go +++ b/discoveryengine/apiv1/discoveryenginepb/project.pb.go @@ -21,13 +21,12 @@ package discoveryenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1/discoveryenginepb/project_service.pb.go b/discoveryengine/apiv1/discoveryenginepb/project_service.pb.go index 41d71aacdcc2..6ddbf0b786cf 100755 --- a/discoveryengine/apiv1/discoveryenginepb/project_service.pb.go +++ b/discoveryengine/apiv1/discoveryenginepb/project_service.pb.go @@ -21,17 +21,16 @@ package discoveryenginepb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1/discoveryenginepb/purge_config.pb.go b/discoveryengine/apiv1/discoveryenginepb/purge_config.pb.go index 03d646c729d4..3557969d1976 100755 --- a/discoveryengine/apiv1/discoveryenginepb/purge_config.pb.go +++ b/discoveryengine/apiv1/discoveryenginepb/purge_config.pb.go @@ -21,14 +21,13 @@ package discoveryenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1/discoveryenginepb/rank_service.pb.go b/discoveryengine/apiv1/discoveryenginepb/rank_service.pb.go index 06564e4bf20c..5b0bb178d5c1 100755 --- a/discoveryengine/apiv1/discoveryenginepb/rank_service.pb.go +++ b/discoveryengine/apiv1/discoveryenginepb/rank_service.pb.go @@ -22,15 +22,14 @@ package discoveryenginepb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1/discoveryenginepb/recommendation_service.pb.go b/discoveryengine/apiv1/discoveryenginepb/recommendation_service.pb.go index e2cc9175f979..41a09c39c8ed 100755 --- a/discoveryengine/apiv1/discoveryenginepb/recommendation_service.pb.go +++ b/discoveryengine/apiv1/discoveryenginepb/recommendation_service.pb.go @@ -22,9 +22,6 @@ package discoveryenginepb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1/discoveryenginepb/schema.pb.go b/discoveryengine/apiv1/discoveryenginepb/schema.pb.go index 55dc1bb48553..37afb1a2786e 100755 --- a/discoveryengine/apiv1/discoveryenginepb/schema.pb.go +++ b/discoveryengine/apiv1/discoveryenginepb/schema.pb.go @@ -21,13 +21,12 @@ package discoveryenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1/discoveryenginepb/schema_service.pb.go b/discoveryengine/apiv1/discoveryenginepb/schema_service.pb.go index 5a14eb040526..e4c35a405a64 100755 --- a/discoveryengine/apiv1/discoveryenginepb/schema_service.pb.go +++ b/discoveryengine/apiv1/discoveryenginepb/schema_service.pb.go @@ -21,11 +21,8 @@ package discoveryenginepb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1/discoveryenginepb/search_service.pb.go b/discoveryengine/apiv1/discoveryenginepb/search_service.pb.go index 6294ff8cfa8e..71345cd077f4 100755 --- a/discoveryengine/apiv1/discoveryenginepb/search_service.pb.go +++ b/discoveryengine/apiv1/discoveryenginepb/search_service.pb.go @@ -22,9 +22,6 @@ package discoveryenginepb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1/discoveryenginepb/search_tuning_service.pb.go b/discoveryengine/apiv1/discoveryenginepb/search_tuning_service.pb.go index fc2f86089fc1..b062ba02fe90 100755 --- a/discoveryengine/apiv1/discoveryenginepb/search_tuning_service.pb.go +++ b/discoveryengine/apiv1/discoveryenginepb/search_tuning_service.pb.go @@ -21,11 +21,8 @@ package discoveryenginepb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -34,6 +31,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1/discoveryenginepb/session.pb.go b/discoveryengine/apiv1/discoveryenginepb/session.pb.go index 9ce927f1bf0e..0ca00b1fc06a 100755 --- a/discoveryengine/apiv1/discoveryenginepb/session.pb.go +++ b/discoveryengine/apiv1/discoveryenginepb/session.pb.go @@ -21,13 +21,12 @@ package discoveryenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1/discoveryenginepb/site_search_engine.pb.go b/discoveryengine/apiv1/discoveryenginepb/site_search_engine.pb.go index cc7979a4d82e..6eb4a44fcb11 100755 --- a/discoveryengine/apiv1/discoveryenginepb/site_search_engine.pb.go +++ b/discoveryengine/apiv1/discoveryenginepb/site_search_engine.pb.go @@ -21,13 +21,12 @@ package discoveryenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1/discoveryenginepb/site_search_engine_service.pb.go b/discoveryengine/apiv1/discoveryenginepb/site_search_engine_service.pb.go index aa8fa84dee44..8a7f20f3e8c6 100755 --- a/discoveryengine/apiv1/discoveryenginepb/site_search_engine_service.pb.go +++ b/discoveryengine/apiv1/discoveryenginepb/site_search_engine_service.pb.go @@ -21,11 +21,8 @@ package discoveryenginepb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1/discoveryenginepb/user_event.pb.go b/discoveryengine/apiv1/discoveryenginepb/user_event.pb.go index b5a389b5dac6..cf6d10cabb75 100755 --- a/discoveryengine/apiv1/discoveryenginepb/user_event.pb.go +++ b/discoveryengine/apiv1/discoveryenginepb/user_event.pb.go @@ -21,14 +21,13 @@ package discoveryenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1/discoveryenginepb/user_event_service.pb.go b/discoveryengine/apiv1/discoveryenginepb/user_event_service.pb.go index 7c16a56d755a..ae97feb60d36 100755 --- a/discoveryengine/apiv1/discoveryenginepb/user_event_service.pb.go +++ b/discoveryengine/apiv1/discoveryenginepb/user_event_service.pb.go @@ -21,11 +21,8 @@ package discoveryenginepb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" httpbody "google.golang.org/genproto/googleapis/api/httpbody" grpc "google.golang.org/grpc" @@ -33,6 +30,8 @@ import ( status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1alpha/discoveryenginepb/acl_config.pb.go b/discoveryengine/apiv1alpha/discoveryenginepb/acl_config.pb.go index bd970d13f268..60b8e88333f1 100755 --- a/discoveryengine/apiv1alpha/discoveryenginepb/acl_config.pb.go +++ b/discoveryengine/apiv1alpha/discoveryenginepb/acl_config.pb.go @@ -21,12 +21,11 @@ package discoveryenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1alpha/discoveryenginepb/acl_config_service.pb.go b/discoveryengine/apiv1alpha/discoveryenginepb/acl_config_service.pb.go index ba073ba33347..0dc2d2397a8d 100755 --- a/discoveryengine/apiv1alpha/discoveryenginepb/acl_config_service.pb.go +++ b/discoveryengine/apiv1alpha/discoveryenginepb/acl_config_service.pb.go @@ -22,15 +22,14 @@ package discoveryenginepb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1alpha/discoveryenginepb/answer.pb.go b/discoveryengine/apiv1alpha/discoveryenginepb/answer.pb.go index e3ec32a39467..043e2fdc30a3 100755 --- a/discoveryengine/apiv1alpha/discoveryenginepb/answer.pb.go +++ b/discoveryengine/apiv1alpha/discoveryenginepb/answer.pb.go @@ -21,14 +21,13 @@ package discoveryenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1alpha/discoveryenginepb/chunk.pb.go b/discoveryengine/apiv1alpha/discoveryenginepb/chunk.pb.go index f59febd7d909..002bb2ebb071 100755 --- a/discoveryengine/apiv1alpha/discoveryenginepb/chunk.pb.go +++ b/discoveryengine/apiv1alpha/discoveryenginepb/chunk.pb.go @@ -21,13 +21,12 @@ package discoveryenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1alpha/discoveryenginepb/chunk_service.pb.go b/discoveryengine/apiv1alpha/discoveryenginepb/chunk_service.pb.go index ae2633d2ef0c..64bce487ee65 100755 --- a/discoveryengine/apiv1alpha/discoveryenginepb/chunk_service.pb.go +++ b/discoveryengine/apiv1alpha/discoveryenginepb/chunk_service.pb.go @@ -22,15 +22,14 @@ package discoveryenginepb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1alpha/discoveryenginepb/common.pb.go b/discoveryengine/apiv1alpha/discoveryenginepb/common.pb.go index 5f448e752178..0d60f1f2be96 100755 --- a/discoveryengine/apiv1alpha/discoveryenginepb/common.pb.go +++ b/discoveryengine/apiv1alpha/discoveryenginepb/common.pb.go @@ -21,12 +21,11 @@ package discoveryenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1alpha/discoveryenginepb/completion.pb.go b/discoveryengine/apiv1alpha/discoveryenginepb/completion.pb.go index 01e2560d07b4..952526b64715 100755 --- a/discoveryengine/apiv1alpha/discoveryenginepb/completion.pb.go +++ b/discoveryengine/apiv1alpha/discoveryenginepb/completion.pb.go @@ -21,12 +21,11 @@ package discoveryenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1alpha/discoveryenginepb/completion_service.pb.go b/discoveryengine/apiv1alpha/discoveryenginepb/completion_service.pb.go index 8c8aa9e39224..ffb858e8234b 100755 --- a/discoveryengine/apiv1alpha/discoveryenginepb/completion_service.pb.go +++ b/discoveryengine/apiv1alpha/discoveryenginepb/completion_service.pb.go @@ -21,17 +21,16 @@ package discoveryenginepb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1alpha/discoveryenginepb/control.pb.go b/discoveryengine/apiv1alpha/discoveryenginepb/control.pb.go index 429b34405240..599fa6f70186 100755 --- a/discoveryengine/apiv1alpha/discoveryenginepb/control.pb.go +++ b/discoveryengine/apiv1alpha/discoveryenginepb/control.pb.go @@ -21,13 +21,12 @@ package discoveryenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1alpha/discoveryenginepb/control_service.pb.go b/discoveryengine/apiv1alpha/discoveryenginepb/control_service.pb.go index 8090d2bf93b0..c380984ab080 100755 --- a/discoveryengine/apiv1alpha/discoveryenginepb/control_service.pb.go +++ b/discoveryengine/apiv1alpha/discoveryenginepb/control_service.pb.go @@ -22,9 +22,6 @@ package discoveryenginepb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1alpha/discoveryenginepb/conversation.pb.go b/discoveryengine/apiv1alpha/discoveryenginepb/conversation.pb.go index 9fd981ec8b90..253491f3e4b6 100755 --- a/discoveryengine/apiv1alpha/discoveryenginepb/conversation.pb.go +++ b/discoveryengine/apiv1alpha/discoveryenginepb/conversation.pb.go @@ -21,13 +21,12 @@ package discoveryenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1alpha/discoveryenginepb/conversational_search_service.pb.go b/discoveryengine/apiv1alpha/discoveryenginepb/conversational_search_service.pb.go index 3065c0440f62..7541d423f73f 100755 --- a/discoveryengine/apiv1alpha/discoveryenginepb/conversational_search_service.pb.go +++ b/discoveryengine/apiv1alpha/discoveryenginepb/conversational_search_service.pb.go @@ -22,9 +22,6 @@ package discoveryenginepb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1alpha/discoveryenginepb/custom_tuning_model.pb.go b/discoveryengine/apiv1alpha/discoveryenginepb/custom_tuning_model.pb.go index 030d45ae4a9c..c41d8923cd19 100755 --- a/discoveryengine/apiv1alpha/discoveryenginepb/custom_tuning_model.pb.go +++ b/discoveryengine/apiv1alpha/discoveryenginepb/custom_tuning_model.pb.go @@ -21,13 +21,12 @@ package discoveryenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1alpha/discoveryenginepb/data_store.pb.go b/discoveryengine/apiv1alpha/discoveryenginepb/data_store.pb.go index 8f1c4616539b..5b7fd7ae7e4c 100755 --- a/discoveryengine/apiv1alpha/discoveryenginepb/data_store.pb.go +++ b/discoveryengine/apiv1alpha/discoveryenginepb/data_store.pb.go @@ -21,13 +21,12 @@ package discoveryenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1alpha/discoveryenginepb/data_store_service.pb.go b/discoveryengine/apiv1alpha/discoveryenginepb/data_store_service.pb.go index 1715850c7893..64c45aeb8394 100755 --- a/discoveryengine/apiv1alpha/discoveryenginepb/data_store_service.pb.go +++ b/discoveryengine/apiv1alpha/discoveryenginepb/data_store_service.pb.go @@ -21,11 +21,8 @@ package discoveryenginepb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1alpha/discoveryenginepb/document.pb.go b/discoveryengine/apiv1alpha/discoveryenginepb/document.pb.go index f45115edd87d..2ace9172df8a 100755 --- a/discoveryengine/apiv1alpha/discoveryenginepb/document.pb.go +++ b/discoveryengine/apiv1alpha/discoveryenginepb/document.pb.go @@ -21,15 +21,14 @@ package discoveryenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1alpha/discoveryenginepb/document_processing_config.pb.go b/discoveryengine/apiv1alpha/discoveryenginepb/document_processing_config.pb.go index d3ff0fcb839d..d1e369d8d425 100755 --- a/discoveryengine/apiv1alpha/discoveryenginepb/document_processing_config.pb.go +++ b/discoveryengine/apiv1alpha/discoveryenginepb/document_processing_config.pb.go @@ -21,12 +21,11 @@ package discoveryenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1alpha/discoveryenginepb/document_service.pb.go b/discoveryengine/apiv1alpha/discoveryenginepb/document_service.pb.go index f597ef7b3cb5..ccbbd6ebbe82 100755 --- a/discoveryengine/apiv1alpha/discoveryenginepb/document_service.pb.go +++ b/discoveryengine/apiv1alpha/discoveryenginepb/document_service.pb.go @@ -21,11 +21,8 @@ package discoveryenginepb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1alpha/discoveryenginepb/engine.pb.go b/discoveryengine/apiv1alpha/discoveryenginepb/engine.pb.go index 10d0dd0cf953..395a215f91d5 100755 --- a/discoveryengine/apiv1alpha/discoveryenginepb/engine.pb.go +++ b/discoveryengine/apiv1alpha/discoveryenginepb/engine.pb.go @@ -21,13 +21,12 @@ package discoveryenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1alpha/discoveryenginepb/engine_service.pb.go b/discoveryengine/apiv1alpha/discoveryenginepb/engine_service.pb.go index 640e554992d3..d373c1f0cc2d 100755 --- a/discoveryengine/apiv1alpha/discoveryenginepb/engine_service.pb.go +++ b/discoveryengine/apiv1alpha/discoveryenginepb/engine_service.pb.go @@ -21,11 +21,8 @@ package discoveryenginepb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1alpha/discoveryenginepb/estimate_billing_service.pb.go b/discoveryengine/apiv1alpha/discoveryenginepb/estimate_billing_service.pb.go index d11bce319d3d..31592c18cc71 100755 --- a/discoveryengine/apiv1alpha/discoveryenginepb/estimate_billing_service.pb.go +++ b/discoveryengine/apiv1alpha/discoveryenginepb/estimate_billing_service.pb.go @@ -21,11 +21,8 @@ package discoveryenginepb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1alpha/discoveryenginepb/evaluation.pb.go b/discoveryengine/apiv1alpha/discoveryenginepb/evaluation.pb.go index 8bbb43f49e21..f40cd670ae43 100755 --- a/discoveryengine/apiv1alpha/discoveryenginepb/evaluation.pb.go +++ b/discoveryengine/apiv1alpha/discoveryenginepb/evaluation.pb.go @@ -21,14 +21,13 @@ package discoveryenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1alpha/discoveryenginepb/evaluation_service.pb.go b/discoveryengine/apiv1alpha/discoveryenginepb/evaluation_service.pb.go index e6dcdab9eee0..95de42c8e351 100755 --- a/discoveryengine/apiv1alpha/discoveryenginepb/evaluation_service.pb.go +++ b/discoveryengine/apiv1alpha/discoveryenginepb/evaluation_service.pb.go @@ -21,17 +21,16 @@ package discoveryenginepb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1alpha/discoveryenginepb/grounded_generation_service.pb.go b/discoveryengine/apiv1alpha/discoveryenginepb/grounded_generation_service.pb.go index 660e54bb1513..d08c7ac20210 100755 --- a/discoveryengine/apiv1alpha/discoveryenginepb/grounded_generation_service.pb.go +++ b/discoveryengine/apiv1alpha/discoveryenginepb/grounded_generation_service.pb.go @@ -22,15 +22,14 @@ package discoveryenginepb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1alpha/discoveryenginepb/grounding.pb.go b/discoveryengine/apiv1alpha/discoveryenginepb/grounding.pb.go index 909bcff796f1..cb7295175ce8 100755 --- a/discoveryengine/apiv1alpha/discoveryenginepb/grounding.pb.go +++ b/discoveryengine/apiv1alpha/discoveryenginepb/grounding.pb.go @@ -21,12 +21,11 @@ package discoveryenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1alpha/discoveryenginepb/import_config.pb.go b/discoveryengine/apiv1alpha/discoveryenginepb/import_config.pb.go index 77af255f91cc..26397392b8fe 100755 --- a/discoveryengine/apiv1alpha/discoveryenginepb/import_config.pb.go +++ b/discoveryengine/apiv1alpha/discoveryenginepb/import_config.pb.go @@ -21,9 +21,6 @@ package discoveryenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" date "google.golang.org/genproto/googleapis/type/date" @@ -31,6 +28,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1alpha/discoveryenginepb/project.pb.go b/discoveryengine/apiv1alpha/discoveryenginepb/project.pb.go index f822412f389f..2a4955c53373 100755 --- a/discoveryengine/apiv1alpha/discoveryenginepb/project.pb.go +++ b/discoveryengine/apiv1alpha/discoveryenginepb/project.pb.go @@ -21,13 +21,12 @@ package discoveryenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1alpha/discoveryenginepb/project_service.pb.go b/discoveryengine/apiv1alpha/discoveryenginepb/project_service.pb.go index ff24e6ab6228..e43e2168d36b 100755 --- a/discoveryengine/apiv1alpha/discoveryenginepb/project_service.pb.go +++ b/discoveryengine/apiv1alpha/discoveryenginepb/project_service.pb.go @@ -21,17 +21,16 @@ package discoveryenginepb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1alpha/discoveryenginepb/purge_config.pb.go b/discoveryengine/apiv1alpha/discoveryenginepb/purge_config.pb.go index d9e90841868a..cfead4a13c92 100755 --- a/discoveryengine/apiv1alpha/discoveryenginepb/purge_config.pb.go +++ b/discoveryengine/apiv1alpha/discoveryenginepb/purge_config.pb.go @@ -21,14 +21,13 @@ package discoveryenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1alpha/discoveryenginepb/rank_service.pb.go b/discoveryengine/apiv1alpha/discoveryenginepb/rank_service.pb.go index 656f0f736e54..3120925c17d0 100755 --- a/discoveryengine/apiv1alpha/discoveryenginepb/rank_service.pb.go +++ b/discoveryengine/apiv1alpha/discoveryenginepb/rank_service.pb.go @@ -22,15 +22,14 @@ package discoveryenginepb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1alpha/discoveryenginepb/recommendation_service.pb.go b/discoveryengine/apiv1alpha/discoveryenginepb/recommendation_service.pb.go index 5ea7fb47b40b..546e81dff78c 100755 --- a/discoveryengine/apiv1alpha/discoveryenginepb/recommendation_service.pb.go +++ b/discoveryengine/apiv1alpha/discoveryenginepb/recommendation_service.pb.go @@ -22,9 +22,6 @@ package discoveryenginepb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1alpha/discoveryenginepb/sample_query.pb.go b/discoveryengine/apiv1alpha/discoveryenginepb/sample_query.pb.go index 32427dae1ca2..7d3a1f79556f 100755 --- a/discoveryengine/apiv1alpha/discoveryenginepb/sample_query.pb.go +++ b/discoveryengine/apiv1alpha/discoveryenginepb/sample_query.pb.go @@ -21,13 +21,12 @@ package discoveryenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1alpha/discoveryenginepb/sample_query_service.pb.go b/discoveryengine/apiv1alpha/discoveryenginepb/sample_query_service.pb.go index a11ed9e303a2..21f5e1ca5b80 100755 --- a/discoveryengine/apiv1alpha/discoveryenginepb/sample_query_service.pb.go +++ b/discoveryengine/apiv1alpha/discoveryenginepb/sample_query_service.pb.go @@ -21,11 +21,8 @@ package discoveryenginepb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1alpha/discoveryenginepb/sample_query_set.pb.go b/discoveryengine/apiv1alpha/discoveryenginepb/sample_query_set.pb.go index 7f02572b8104..bc4bd5c3575b 100755 --- a/discoveryengine/apiv1alpha/discoveryenginepb/sample_query_set.pb.go +++ b/discoveryengine/apiv1alpha/discoveryenginepb/sample_query_set.pb.go @@ -21,13 +21,12 @@ package discoveryenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1alpha/discoveryenginepb/sample_query_set_service.pb.go b/discoveryengine/apiv1alpha/discoveryenginepb/sample_query_set_service.pb.go index 48acc82ea09f..82ed71b84e06 100755 --- a/discoveryengine/apiv1alpha/discoveryenginepb/sample_query_set_service.pb.go +++ b/discoveryengine/apiv1alpha/discoveryenginepb/sample_query_set_service.pb.go @@ -22,9 +22,6 @@ package discoveryenginepb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1alpha/discoveryenginepb/schema.pb.go b/discoveryengine/apiv1alpha/discoveryenginepb/schema.pb.go index 8b200b58a71e..e41e38a4c3ce 100755 --- a/discoveryengine/apiv1alpha/discoveryenginepb/schema.pb.go +++ b/discoveryengine/apiv1alpha/discoveryenginepb/schema.pb.go @@ -21,13 +21,12 @@ package discoveryenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1alpha/discoveryenginepb/schema_service.pb.go b/discoveryengine/apiv1alpha/discoveryenginepb/schema_service.pb.go index 42c79c10c2fc..0d6615ce686f 100755 --- a/discoveryengine/apiv1alpha/discoveryenginepb/schema_service.pb.go +++ b/discoveryengine/apiv1alpha/discoveryenginepb/schema_service.pb.go @@ -21,11 +21,8 @@ package discoveryenginepb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1alpha/discoveryenginepb/search_service.pb.go b/discoveryengine/apiv1alpha/discoveryenginepb/search_service.pb.go index 1ae787885109..8b699b6c438c 100755 --- a/discoveryengine/apiv1alpha/discoveryenginepb/search_service.pb.go +++ b/discoveryengine/apiv1alpha/discoveryenginepb/search_service.pb.go @@ -22,9 +22,6 @@ package discoveryenginepb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1alpha/discoveryenginepb/search_tuning_service.pb.go b/discoveryengine/apiv1alpha/discoveryenginepb/search_tuning_service.pb.go index fc82f49282b0..759e31256508 100755 --- a/discoveryengine/apiv1alpha/discoveryenginepb/search_tuning_service.pb.go +++ b/discoveryengine/apiv1alpha/discoveryenginepb/search_tuning_service.pb.go @@ -21,11 +21,8 @@ package discoveryenginepb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -34,6 +31,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1alpha/discoveryenginepb/serving_config.pb.go b/discoveryengine/apiv1alpha/discoveryenginepb/serving_config.pb.go index 369af85e0851..04ed361acbd6 100755 --- a/discoveryengine/apiv1alpha/discoveryenginepb/serving_config.pb.go +++ b/discoveryengine/apiv1alpha/discoveryenginepb/serving_config.pb.go @@ -21,13 +21,12 @@ package discoveryenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1alpha/discoveryenginepb/serving_config_service.pb.go b/discoveryengine/apiv1alpha/discoveryenginepb/serving_config_service.pb.go index 7e713255e2b6..52be7da43b0c 100755 --- a/discoveryengine/apiv1alpha/discoveryenginepb/serving_config_service.pb.go +++ b/discoveryengine/apiv1alpha/discoveryenginepb/serving_config_service.pb.go @@ -22,9 +22,6 @@ package discoveryenginepb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1alpha/discoveryenginepb/session.pb.go b/discoveryengine/apiv1alpha/discoveryenginepb/session.pb.go index 1685d8a913f9..06d9ccd6a655 100755 --- a/discoveryengine/apiv1alpha/discoveryenginepb/session.pb.go +++ b/discoveryengine/apiv1alpha/discoveryenginepb/session.pb.go @@ -21,13 +21,12 @@ package discoveryenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1alpha/discoveryenginepb/site_search_engine.pb.go b/discoveryengine/apiv1alpha/discoveryenginepb/site_search_engine.pb.go index 8638bcb61ab6..d56a43f79203 100755 --- a/discoveryengine/apiv1alpha/discoveryenginepb/site_search_engine.pb.go +++ b/discoveryengine/apiv1alpha/discoveryenginepb/site_search_engine.pb.go @@ -21,13 +21,12 @@ package discoveryenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1alpha/discoveryenginepb/site_search_engine_service.pb.go b/discoveryengine/apiv1alpha/discoveryenginepb/site_search_engine_service.pb.go index a4a3c9e892ee..37ed068a7e04 100755 --- a/discoveryengine/apiv1alpha/discoveryenginepb/site_search_engine_service.pb.go +++ b/discoveryengine/apiv1alpha/discoveryenginepb/site_search_engine_service.pb.go @@ -21,11 +21,8 @@ package discoveryenginepb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1alpha/discoveryenginepb/user_event.pb.go b/discoveryengine/apiv1alpha/discoveryenginepb/user_event.pb.go index 29459568daf0..21d25e8232d4 100755 --- a/discoveryengine/apiv1alpha/discoveryenginepb/user_event.pb.go +++ b/discoveryengine/apiv1alpha/discoveryenginepb/user_event.pb.go @@ -21,14 +21,13 @@ package discoveryenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1alpha/discoveryenginepb/user_event_service.pb.go b/discoveryengine/apiv1alpha/discoveryenginepb/user_event_service.pb.go index 591628be0d5b..d910e781f5a0 100755 --- a/discoveryengine/apiv1alpha/discoveryenginepb/user_event_service.pb.go +++ b/discoveryengine/apiv1alpha/discoveryenginepb/user_event_service.pb.go @@ -21,11 +21,8 @@ package discoveryenginepb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" httpbody "google.golang.org/genproto/googleapis/api/httpbody" grpc "google.golang.org/grpc" @@ -33,6 +30,8 @@ import ( status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1beta/discoveryenginepb/answer.pb.go b/discoveryengine/apiv1beta/discoveryenginepb/answer.pb.go index a8d5d6f48701..eefe4a2475ee 100755 --- a/discoveryengine/apiv1beta/discoveryenginepb/answer.pb.go +++ b/discoveryengine/apiv1beta/discoveryenginepb/answer.pb.go @@ -21,14 +21,13 @@ package discoveryenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1beta/discoveryenginepb/chunk.pb.go b/discoveryengine/apiv1beta/discoveryenginepb/chunk.pb.go index 923bbf80641d..8e74064086c4 100755 --- a/discoveryengine/apiv1beta/discoveryenginepb/chunk.pb.go +++ b/discoveryengine/apiv1beta/discoveryenginepb/chunk.pb.go @@ -21,13 +21,12 @@ package discoveryenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1beta/discoveryenginepb/common.pb.go b/discoveryengine/apiv1beta/discoveryenginepb/common.pb.go index b9f7b9920b9a..a6377e95523b 100755 --- a/discoveryengine/apiv1beta/discoveryenginepb/common.pb.go +++ b/discoveryengine/apiv1beta/discoveryenginepb/common.pb.go @@ -21,12 +21,11 @@ package discoveryenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1beta/discoveryenginepb/completion.pb.go b/discoveryengine/apiv1beta/discoveryenginepb/completion.pb.go index 125b5bc1749e..221ac4acc57a 100755 --- a/discoveryengine/apiv1beta/discoveryenginepb/completion.pb.go +++ b/discoveryengine/apiv1beta/discoveryenginepb/completion.pb.go @@ -21,12 +21,11 @@ package discoveryenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1beta/discoveryenginepb/completion_service.pb.go b/discoveryengine/apiv1beta/discoveryenginepb/completion_service.pb.go index 5dd8b29c3940..27d73f3ee16b 100755 --- a/discoveryengine/apiv1beta/discoveryenginepb/completion_service.pb.go +++ b/discoveryengine/apiv1beta/discoveryenginepb/completion_service.pb.go @@ -21,17 +21,16 @@ package discoveryenginepb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1beta/discoveryenginepb/control.pb.go b/discoveryengine/apiv1beta/discoveryenginepb/control.pb.go index 1031bcfa81c0..3aeb8543b112 100755 --- a/discoveryengine/apiv1beta/discoveryenginepb/control.pb.go +++ b/discoveryengine/apiv1beta/discoveryenginepb/control.pb.go @@ -21,13 +21,12 @@ package discoveryenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1beta/discoveryenginepb/control_service.pb.go b/discoveryengine/apiv1beta/discoveryenginepb/control_service.pb.go index fbd8000b5c90..7b756d2cd2fa 100755 --- a/discoveryengine/apiv1beta/discoveryenginepb/control_service.pb.go +++ b/discoveryengine/apiv1beta/discoveryenginepb/control_service.pb.go @@ -22,9 +22,6 @@ package discoveryenginepb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1beta/discoveryenginepb/conversation.pb.go b/discoveryengine/apiv1beta/discoveryenginepb/conversation.pb.go index d0d8a6663a60..b1f967e8e01d 100755 --- a/discoveryengine/apiv1beta/discoveryenginepb/conversation.pb.go +++ b/discoveryengine/apiv1beta/discoveryenginepb/conversation.pb.go @@ -21,13 +21,12 @@ package discoveryenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1beta/discoveryenginepb/conversational_search_service.pb.go b/discoveryengine/apiv1beta/discoveryenginepb/conversational_search_service.pb.go index 5dd60ba6f5e4..5a8f646d320f 100755 --- a/discoveryengine/apiv1beta/discoveryenginepb/conversational_search_service.pb.go +++ b/discoveryengine/apiv1beta/discoveryenginepb/conversational_search_service.pb.go @@ -22,9 +22,6 @@ package discoveryenginepb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1beta/discoveryenginepb/custom_tuning_model.pb.go b/discoveryengine/apiv1beta/discoveryenginepb/custom_tuning_model.pb.go index 1ca6aff041cc..95f82447aa2c 100755 --- a/discoveryengine/apiv1beta/discoveryenginepb/custom_tuning_model.pb.go +++ b/discoveryengine/apiv1beta/discoveryenginepb/custom_tuning_model.pb.go @@ -21,13 +21,12 @@ package discoveryenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1beta/discoveryenginepb/data_store.pb.go b/discoveryengine/apiv1beta/discoveryenginepb/data_store.pb.go index 3ed6a2ef9a56..9c3862c6a107 100755 --- a/discoveryengine/apiv1beta/discoveryenginepb/data_store.pb.go +++ b/discoveryengine/apiv1beta/discoveryenginepb/data_store.pb.go @@ -21,13 +21,12 @@ package discoveryenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1beta/discoveryenginepb/data_store_service.pb.go b/discoveryengine/apiv1beta/discoveryenginepb/data_store_service.pb.go index 710911668e43..112bc3029b09 100755 --- a/discoveryengine/apiv1beta/discoveryenginepb/data_store_service.pb.go +++ b/discoveryengine/apiv1beta/discoveryenginepb/data_store_service.pb.go @@ -21,11 +21,8 @@ package discoveryenginepb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1beta/discoveryenginepb/document.pb.go b/discoveryengine/apiv1beta/discoveryenginepb/document.pb.go index c51f45b94450..81c372c2499e 100755 --- a/discoveryengine/apiv1beta/discoveryenginepb/document.pb.go +++ b/discoveryengine/apiv1beta/discoveryenginepb/document.pb.go @@ -21,15 +21,14 @@ package discoveryenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1beta/discoveryenginepb/document_processing_config.pb.go b/discoveryengine/apiv1beta/discoveryenginepb/document_processing_config.pb.go index 80d73bfaafd3..d9d1643b4be2 100755 --- a/discoveryengine/apiv1beta/discoveryenginepb/document_processing_config.pb.go +++ b/discoveryengine/apiv1beta/discoveryenginepb/document_processing_config.pb.go @@ -21,12 +21,11 @@ package discoveryenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1beta/discoveryenginepb/document_service.pb.go b/discoveryengine/apiv1beta/discoveryenginepb/document_service.pb.go index 1095b9d60d89..b59fd5918b6d 100755 --- a/discoveryengine/apiv1beta/discoveryenginepb/document_service.pb.go +++ b/discoveryengine/apiv1beta/discoveryenginepb/document_service.pb.go @@ -21,11 +21,8 @@ package discoveryenginepb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1beta/discoveryenginepb/engine.pb.go b/discoveryengine/apiv1beta/discoveryenginepb/engine.pb.go index 5fe56a396123..fe0cfdeca923 100755 --- a/discoveryengine/apiv1beta/discoveryenginepb/engine.pb.go +++ b/discoveryengine/apiv1beta/discoveryenginepb/engine.pb.go @@ -21,13 +21,12 @@ package discoveryenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1beta/discoveryenginepb/engine_service.pb.go b/discoveryengine/apiv1beta/discoveryenginepb/engine_service.pb.go index aa9a19413275..405918933245 100755 --- a/discoveryengine/apiv1beta/discoveryenginepb/engine_service.pb.go +++ b/discoveryengine/apiv1beta/discoveryenginepb/engine_service.pb.go @@ -21,11 +21,8 @@ package discoveryenginepb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1beta/discoveryenginepb/evaluation.pb.go b/discoveryengine/apiv1beta/discoveryenginepb/evaluation.pb.go index e83946702b7f..2eafce9f5bff 100755 --- a/discoveryengine/apiv1beta/discoveryenginepb/evaluation.pb.go +++ b/discoveryengine/apiv1beta/discoveryenginepb/evaluation.pb.go @@ -21,14 +21,13 @@ package discoveryenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1beta/discoveryenginepb/evaluation_service.pb.go b/discoveryengine/apiv1beta/discoveryenginepb/evaluation_service.pb.go index eb1e283fe97d..289740b279ae 100755 --- a/discoveryengine/apiv1beta/discoveryenginepb/evaluation_service.pb.go +++ b/discoveryengine/apiv1beta/discoveryenginepb/evaluation_service.pb.go @@ -21,17 +21,16 @@ package discoveryenginepb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1beta/discoveryenginepb/grounded_generation_service.pb.go b/discoveryengine/apiv1beta/discoveryenginepb/grounded_generation_service.pb.go index c39cc3515116..6fa64e5b3f7c 100755 --- a/discoveryengine/apiv1beta/discoveryenginepb/grounded_generation_service.pb.go +++ b/discoveryengine/apiv1beta/discoveryenginepb/grounded_generation_service.pb.go @@ -22,15 +22,14 @@ package discoveryenginepb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1beta/discoveryenginepb/grounding.pb.go b/discoveryengine/apiv1beta/discoveryenginepb/grounding.pb.go index fbdd866b05a8..2be825bc35d1 100755 --- a/discoveryengine/apiv1beta/discoveryenginepb/grounding.pb.go +++ b/discoveryengine/apiv1beta/discoveryenginepb/grounding.pb.go @@ -21,12 +21,11 @@ package discoveryenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1beta/discoveryenginepb/import_config.pb.go b/discoveryengine/apiv1beta/discoveryenginepb/import_config.pb.go index 28609bbd5d58..2b10a0721195 100755 --- a/discoveryengine/apiv1beta/discoveryenginepb/import_config.pb.go +++ b/discoveryengine/apiv1beta/discoveryenginepb/import_config.pb.go @@ -21,9 +21,6 @@ package discoveryenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" date "google.golang.org/genproto/googleapis/type/date" @@ -31,6 +28,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1beta/discoveryenginepb/project.pb.go b/discoveryengine/apiv1beta/discoveryenginepb/project.pb.go index 07a0138b45f6..813c787aaf19 100755 --- a/discoveryengine/apiv1beta/discoveryenginepb/project.pb.go +++ b/discoveryengine/apiv1beta/discoveryenginepb/project.pb.go @@ -21,13 +21,12 @@ package discoveryenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1beta/discoveryenginepb/project_service.pb.go b/discoveryengine/apiv1beta/discoveryenginepb/project_service.pb.go index f2a91fb5300c..2b8968db5aad 100755 --- a/discoveryengine/apiv1beta/discoveryenginepb/project_service.pb.go +++ b/discoveryengine/apiv1beta/discoveryenginepb/project_service.pb.go @@ -21,17 +21,16 @@ package discoveryenginepb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1beta/discoveryenginepb/purge_config.pb.go b/discoveryengine/apiv1beta/discoveryenginepb/purge_config.pb.go index 2b760115f9e5..1ab4b7df3a43 100755 --- a/discoveryengine/apiv1beta/discoveryenginepb/purge_config.pb.go +++ b/discoveryengine/apiv1beta/discoveryenginepb/purge_config.pb.go @@ -21,14 +21,13 @@ package discoveryenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1beta/discoveryenginepb/rank_service.pb.go b/discoveryengine/apiv1beta/discoveryenginepb/rank_service.pb.go index c932f1ecade2..2a4b8783ab6e 100755 --- a/discoveryengine/apiv1beta/discoveryenginepb/rank_service.pb.go +++ b/discoveryengine/apiv1beta/discoveryenginepb/rank_service.pb.go @@ -22,15 +22,14 @@ package discoveryenginepb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1beta/discoveryenginepb/recommendation_service.pb.go b/discoveryengine/apiv1beta/discoveryenginepb/recommendation_service.pb.go index cd6472c54335..1cd43a6cbaaa 100755 --- a/discoveryengine/apiv1beta/discoveryenginepb/recommendation_service.pb.go +++ b/discoveryengine/apiv1beta/discoveryenginepb/recommendation_service.pb.go @@ -22,9 +22,6 @@ package discoveryenginepb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1beta/discoveryenginepb/sample_query.pb.go b/discoveryengine/apiv1beta/discoveryenginepb/sample_query.pb.go index 0a14dad4e9f7..7cf0f0ac609e 100755 --- a/discoveryengine/apiv1beta/discoveryenginepb/sample_query.pb.go +++ b/discoveryengine/apiv1beta/discoveryenginepb/sample_query.pb.go @@ -21,13 +21,12 @@ package discoveryenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1beta/discoveryenginepb/sample_query_service.pb.go b/discoveryengine/apiv1beta/discoveryenginepb/sample_query_service.pb.go index 6ba7878774be..83e8cff82887 100755 --- a/discoveryengine/apiv1beta/discoveryenginepb/sample_query_service.pb.go +++ b/discoveryengine/apiv1beta/discoveryenginepb/sample_query_service.pb.go @@ -21,11 +21,8 @@ package discoveryenginepb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1beta/discoveryenginepb/sample_query_set.pb.go b/discoveryengine/apiv1beta/discoveryenginepb/sample_query_set.pb.go index 51c54d02e0cf..03ace15b5ed3 100755 --- a/discoveryengine/apiv1beta/discoveryenginepb/sample_query_set.pb.go +++ b/discoveryengine/apiv1beta/discoveryenginepb/sample_query_set.pb.go @@ -21,13 +21,12 @@ package discoveryenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1beta/discoveryenginepb/sample_query_set_service.pb.go b/discoveryengine/apiv1beta/discoveryenginepb/sample_query_set_service.pb.go index fa6039308563..4630b9f37ecc 100755 --- a/discoveryengine/apiv1beta/discoveryenginepb/sample_query_set_service.pb.go +++ b/discoveryengine/apiv1beta/discoveryenginepb/sample_query_set_service.pb.go @@ -22,9 +22,6 @@ package discoveryenginepb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1beta/discoveryenginepb/schema.pb.go b/discoveryengine/apiv1beta/discoveryenginepb/schema.pb.go index 8e0b80ce6149..0c3fead24a08 100755 --- a/discoveryengine/apiv1beta/discoveryenginepb/schema.pb.go +++ b/discoveryengine/apiv1beta/discoveryenginepb/schema.pb.go @@ -21,13 +21,12 @@ package discoveryenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1beta/discoveryenginepb/schema_service.pb.go b/discoveryengine/apiv1beta/discoveryenginepb/schema_service.pb.go index f211a61e17ae..73894d8ccb68 100755 --- a/discoveryengine/apiv1beta/discoveryenginepb/schema_service.pb.go +++ b/discoveryengine/apiv1beta/discoveryenginepb/schema_service.pb.go @@ -21,11 +21,8 @@ package discoveryenginepb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1beta/discoveryenginepb/search_service.pb.go b/discoveryengine/apiv1beta/discoveryenginepb/search_service.pb.go index f2f39d8856cf..e14b438fe309 100755 --- a/discoveryengine/apiv1beta/discoveryenginepb/search_service.pb.go +++ b/discoveryengine/apiv1beta/discoveryenginepb/search_service.pb.go @@ -22,9 +22,6 @@ package discoveryenginepb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1beta/discoveryenginepb/search_tuning_service.pb.go b/discoveryengine/apiv1beta/discoveryenginepb/search_tuning_service.pb.go index ea101974a328..cfb5f7e1d7ae 100755 --- a/discoveryengine/apiv1beta/discoveryenginepb/search_tuning_service.pb.go +++ b/discoveryengine/apiv1beta/discoveryenginepb/search_tuning_service.pb.go @@ -21,11 +21,8 @@ package discoveryenginepb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -34,6 +31,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1beta/discoveryenginepb/serving_config.pb.go b/discoveryengine/apiv1beta/discoveryenginepb/serving_config.pb.go index f75491f4cf14..34f9a17bd096 100755 --- a/discoveryengine/apiv1beta/discoveryenginepb/serving_config.pb.go +++ b/discoveryengine/apiv1beta/discoveryenginepb/serving_config.pb.go @@ -21,13 +21,12 @@ package discoveryenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1beta/discoveryenginepb/serving_config_service.pb.go b/discoveryengine/apiv1beta/discoveryenginepb/serving_config_service.pb.go index 7da788f99c6a..739e85db6473 100755 --- a/discoveryengine/apiv1beta/discoveryenginepb/serving_config_service.pb.go +++ b/discoveryengine/apiv1beta/discoveryenginepb/serving_config_service.pb.go @@ -22,9 +22,6 @@ package discoveryenginepb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1beta/discoveryenginepb/session.pb.go b/discoveryengine/apiv1beta/discoveryenginepb/session.pb.go index 5c19549fea13..cfda40ab9e72 100755 --- a/discoveryengine/apiv1beta/discoveryenginepb/session.pb.go +++ b/discoveryengine/apiv1beta/discoveryenginepb/session.pb.go @@ -21,13 +21,12 @@ package discoveryenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1beta/discoveryenginepb/site_search_engine.pb.go b/discoveryengine/apiv1beta/discoveryenginepb/site_search_engine.pb.go index e4bd4cd23d10..d5dfb82ab6a1 100755 --- a/discoveryengine/apiv1beta/discoveryenginepb/site_search_engine.pb.go +++ b/discoveryengine/apiv1beta/discoveryenginepb/site_search_engine.pb.go @@ -21,13 +21,12 @@ package discoveryenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1beta/discoveryenginepb/site_search_engine_service.pb.go b/discoveryengine/apiv1beta/discoveryenginepb/site_search_engine_service.pb.go index 9602888b8b0e..e583e5b8fbe5 100755 --- a/discoveryengine/apiv1beta/discoveryenginepb/site_search_engine_service.pb.go +++ b/discoveryengine/apiv1beta/discoveryenginepb/site_search_engine_service.pb.go @@ -21,11 +21,8 @@ package discoveryenginepb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1beta/discoveryenginepb/user_event.pb.go b/discoveryengine/apiv1beta/discoveryenginepb/user_event.pb.go index 70f64270a42d..5511de6329b7 100755 --- a/discoveryengine/apiv1beta/discoveryenginepb/user_event.pb.go +++ b/discoveryengine/apiv1beta/discoveryenginepb/user_event.pb.go @@ -21,14 +21,13 @@ package discoveryenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1beta/discoveryenginepb/user_event_service.pb.go b/discoveryengine/apiv1beta/discoveryenginepb/user_event_service.pb.go index 7f733c1ead3e..100d5aaa54f7 100755 --- a/discoveryengine/apiv1beta/discoveryenginepb/user_event_service.pb.go +++ b/discoveryengine/apiv1beta/discoveryenginepb/user_event_service.pb.go @@ -21,11 +21,8 @@ package discoveryenginepb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" httpbody "google.golang.org/genproto/googleapis/api/httpbody" grpc "google.golang.org/grpc" @@ -33,6 +30,8 @@ import ( status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/dlp/apiv2/dlppb/dlp.pb.go b/dlp/apiv2/dlppb/dlp.pb.go index 2c5d227ff3b3..7275e8b4e20e 100755 --- a/dlp/apiv2/dlppb/dlp.pb.go +++ b/dlp/apiv2/dlppb/dlp.pb.go @@ -22,9 +22,6 @@ package dlppb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" date "google.golang.org/genproto/googleapis/type/date" @@ -39,6 +36,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dlp/apiv2/dlppb/storage.pb.go b/dlp/apiv2/dlppb/storage.pb.go index e4d0ff7056a0..e140501f293e 100755 --- a/dlp/apiv2/dlppb/storage.pb.go +++ b/dlp/apiv2/dlppb/storage.pb.go @@ -21,13 +21,12 @@ package dlppb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/documentai/apiv1/documentaipb/barcode.pb.go b/documentai/apiv1/documentaipb/barcode.pb.go index 4a9b64a98841..e8522753973e 100755 --- a/documentai/apiv1/documentaipb/barcode.pb.go +++ b/documentai/apiv1/documentaipb/barcode.pb.go @@ -21,11 +21,10 @@ package documentaipb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/documentai/apiv1/documentaipb/document.pb.go b/documentai/apiv1/documentaipb/document.pb.go index 9b9a4ded384c..cf869c15b98f 100755 --- a/documentai/apiv1/documentaipb/document.pb.go +++ b/documentai/apiv1/documentaipb/document.pb.go @@ -21,9 +21,6 @@ package documentaipb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" color "google.golang.org/genproto/googleapis/type/color" @@ -34,6 +31,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/documentai/apiv1/documentaipb/document_io.pb.go b/documentai/apiv1/documentaipb/document_io.pb.go index 4b19888976a4..a31f7abbcf92 100755 --- a/documentai/apiv1/documentaipb/document_io.pb.go +++ b/documentai/apiv1/documentaipb/document_io.pb.go @@ -21,12 +21,11 @@ package documentaipb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/documentai/apiv1/documentaipb/document_processor_service.pb.go b/documentai/apiv1/documentaipb/document_processor_service.pb.go index 4973c63d3b12..17d6297382ac 100755 --- a/documentai/apiv1/documentaipb/document_processor_service.pb.go +++ b/documentai/apiv1/documentaipb/document_processor_service.pb.go @@ -21,11 +21,8 @@ package documentaipb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -36,6 +33,8 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/documentai/apiv1/documentaipb/document_schema.pb.go b/documentai/apiv1/documentaipb/document_schema.pb.go index 1a8bac845e64..e7116e401eee 100755 --- a/documentai/apiv1/documentaipb/document_schema.pb.go +++ b/documentai/apiv1/documentaipb/document_schema.pb.go @@ -21,11 +21,10 @@ package documentaipb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/documentai/apiv1/documentaipb/evaluation.pb.go b/documentai/apiv1/documentaipb/evaluation.pb.go index 3b8986fbd998..97454f77bfdd 100755 --- a/documentai/apiv1/documentaipb/evaluation.pb.go +++ b/documentai/apiv1/documentaipb/evaluation.pb.go @@ -21,13 +21,12 @@ package documentaipb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/documentai/apiv1/documentaipb/geometry.pb.go b/documentai/apiv1/documentaipb/geometry.pb.go index 35a99f04445d..ab8a9a6f9f59 100755 --- a/documentai/apiv1/documentaipb/geometry.pb.go +++ b/documentai/apiv1/documentaipb/geometry.pb.go @@ -21,11 +21,10 @@ package documentaipb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/documentai/apiv1/documentaipb/operation_metadata.pb.go b/documentai/apiv1/documentaipb/operation_metadata.pb.go index d91009214191..927b48c37801 100755 --- a/documentai/apiv1/documentaipb/operation_metadata.pb.go +++ b/documentai/apiv1/documentaipb/operation_metadata.pb.go @@ -21,12 +21,11 @@ package documentaipb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/documentai/apiv1/documentaipb/processor.pb.go b/documentai/apiv1/documentaipb/processor.pb.go index 10c5d3dd9f04..88e8cb4efcac 100755 --- a/documentai/apiv1/documentaipb/processor.pb.go +++ b/documentai/apiv1/documentaipb/processor.pb.go @@ -21,13 +21,12 @@ package documentaipb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/documentai/apiv1/documentaipb/processor_type.pb.go b/documentai/apiv1/documentaipb/processor_type.pb.go index c765535d4881..c4424bc68fd2 100755 --- a/documentai/apiv1/documentaipb/processor_type.pb.go +++ b/documentai/apiv1/documentaipb/processor_type.pb.go @@ -21,13 +21,12 @@ package documentaipb import ( - reflect "reflect" - sync "sync" - api "google.golang.org/genproto/googleapis/api" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/documentai/apiv1beta3/documentaipb/barcode.pb.go b/documentai/apiv1beta3/documentaipb/barcode.pb.go index 11eff34906d7..87d23e0fde5d 100755 --- a/documentai/apiv1beta3/documentaipb/barcode.pb.go +++ b/documentai/apiv1beta3/documentaipb/barcode.pb.go @@ -21,11 +21,10 @@ package documentaipb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/documentai/apiv1beta3/documentaipb/dataset.pb.go b/documentai/apiv1beta3/documentaipb/dataset.pb.go index 3463c7da8fbb..8560e91df088 100755 --- a/documentai/apiv1beta3/documentaipb/dataset.pb.go +++ b/documentai/apiv1beta3/documentaipb/dataset.pb.go @@ -21,12 +21,11 @@ package documentaipb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/documentai/apiv1beta3/documentaipb/document.pb.go b/documentai/apiv1beta3/documentaipb/document.pb.go index 43f608c1f350..fc8c93984ad6 100755 --- a/documentai/apiv1beta3/documentaipb/document.pb.go +++ b/documentai/apiv1beta3/documentaipb/document.pb.go @@ -21,9 +21,6 @@ package documentaipb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" color "google.golang.org/genproto/googleapis/type/color" @@ -34,6 +31,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/documentai/apiv1beta3/documentaipb/document_io.pb.go b/documentai/apiv1beta3/documentaipb/document_io.pb.go index 9a26585e36a9..a57726b55c5c 100755 --- a/documentai/apiv1beta3/documentaipb/document_io.pb.go +++ b/documentai/apiv1beta3/documentaipb/document_io.pb.go @@ -21,12 +21,11 @@ package documentaipb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/documentai/apiv1beta3/documentaipb/document_processor_service.pb.go b/documentai/apiv1beta3/documentaipb/document_processor_service.pb.go index 379bcde4a5c1..0c5aa8994839 100755 --- a/documentai/apiv1beta3/documentaipb/document_processor_service.pb.go +++ b/documentai/apiv1beta3/documentaipb/document_processor_service.pb.go @@ -21,11 +21,8 @@ package documentaipb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -36,6 +33,8 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/documentai/apiv1beta3/documentaipb/document_schema.pb.go b/documentai/apiv1beta3/documentaipb/document_schema.pb.go index 3e0d1c149b2e..e7d616fd4d8c 100755 --- a/documentai/apiv1beta3/documentaipb/document_schema.pb.go +++ b/documentai/apiv1beta3/documentaipb/document_schema.pb.go @@ -21,11 +21,10 @@ package documentaipb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/documentai/apiv1beta3/documentaipb/document_service.pb.go b/documentai/apiv1beta3/documentaipb/document_service.pb.go index f9569c654168..12d95f9b46cf 100755 --- a/documentai/apiv1beta3/documentaipb/document_service.pb.go +++ b/documentai/apiv1beta3/documentaipb/document_service.pb.go @@ -21,11 +21,8 @@ package documentaipb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -34,6 +31,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/documentai/apiv1beta3/documentaipb/evaluation.pb.go b/documentai/apiv1beta3/documentaipb/evaluation.pb.go index 8485e8053ed1..96375672ecbe 100755 --- a/documentai/apiv1beta3/documentaipb/evaluation.pb.go +++ b/documentai/apiv1beta3/documentaipb/evaluation.pb.go @@ -21,13 +21,12 @@ package documentaipb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/documentai/apiv1beta3/documentaipb/geometry.pb.go b/documentai/apiv1beta3/documentaipb/geometry.pb.go index 2128c0f079ef..d92a08baeee2 100755 --- a/documentai/apiv1beta3/documentaipb/geometry.pb.go +++ b/documentai/apiv1beta3/documentaipb/geometry.pb.go @@ -21,11 +21,10 @@ package documentaipb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/documentai/apiv1beta3/documentaipb/operation_metadata.pb.go b/documentai/apiv1beta3/documentaipb/operation_metadata.pb.go index e87089040578..f3be945100bf 100755 --- a/documentai/apiv1beta3/documentaipb/operation_metadata.pb.go +++ b/documentai/apiv1beta3/documentaipb/operation_metadata.pb.go @@ -21,12 +21,11 @@ package documentaipb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/documentai/apiv1beta3/documentaipb/processor.pb.go b/documentai/apiv1beta3/documentaipb/processor.pb.go index f4194652578b..bf1bdf00ea4a 100755 --- a/documentai/apiv1beta3/documentaipb/processor.pb.go +++ b/documentai/apiv1beta3/documentaipb/processor.pb.go @@ -21,13 +21,12 @@ package documentaipb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/documentai/apiv1beta3/documentaipb/processor_type.pb.go b/documentai/apiv1beta3/documentaipb/processor_type.pb.go index e451b6be97ef..b9ba5533bb26 100755 --- a/documentai/apiv1beta3/documentaipb/processor_type.pb.go +++ b/documentai/apiv1beta3/documentaipb/processor_type.pb.go @@ -21,13 +21,12 @@ package documentaipb import ( - reflect "reflect" - sync "sync" - api "google.golang.org/genproto/googleapis/api" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/domains/apiv1beta1/domainspb/domains.pb.go b/domains/apiv1beta1/domainspb/domains.pb.go index ca607afc526f..2b9f1d22b7b7 100755 --- a/domains/apiv1beta1/domainspb/domains.pb.go +++ b/domains/apiv1beta1/domainspb/domains.pb.go @@ -21,11 +21,8 @@ package domainspb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" money "google.golang.org/genproto/googleapis/type/money" postaladdress "google.golang.org/genproto/googleapis/type/postaladdress" @@ -36,6 +33,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/edgecontainer/apiv1/edgecontainerpb/resources.pb.go b/edgecontainer/apiv1/edgecontainerpb/resources.pb.go index ab173ad3d9fb..1a98c134d5a9 100755 --- a/edgecontainer/apiv1/edgecontainerpb/resources.pb.go +++ b/edgecontainer/apiv1/edgecontainerpb/resources.pb.go @@ -21,15 +21,14 @@ package edgecontainerpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/edgecontainer/apiv1/edgecontainerpb/service.pb.go b/edgecontainer/apiv1/edgecontainerpb/service.pb.go index bdf9378e9781..be6720b99210 100755 --- a/edgecontainer/apiv1/edgecontainerpb/service.pb.go +++ b/edgecontainer/apiv1/edgecontainerpb/service.pb.go @@ -21,11 +21,8 @@ package edgecontainerpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/edgenetwork/apiv1/edgenetworkpb/resources.pb.go b/edgenetwork/apiv1/edgenetworkpb/resources.pb.go index a9a6b0245fcb..2adf5ab84fe1 100755 --- a/edgenetwork/apiv1/edgenetworkpb/resources.pb.go +++ b/edgenetwork/apiv1/edgenetworkpb/resources.pb.go @@ -21,13 +21,12 @@ package edgenetworkpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/edgenetwork/apiv1/edgenetworkpb/service.pb.go b/edgenetwork/apiv1/edgenetworkpb/service.pb.go index 4f0925e577ca..54acda79cc37 100755 --- a/edgenetwork/apiv1/edgenetworkpb/service.pb.go +++ b/edgenetwork/apiv1/edgenetworkpb/service.pb.go @@ -21,11 +21,8 @@ package edgenetworkpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/essentialcontacts/apiv1/essentialcontactspb/enums.pb.go b/essentialcontacts/apiv1/essentialcontactspb/enums.pb.go index e342c60bb31c..ecdb1001c00d 100755 --- a/essentialcontacts/apiv1/essentialcontactspb/enums.pb.go +++ b/essentialcontacts/apiv1/essentialcontactspb/enums.pb.go @@ -21,11 +21,10 @@ package essentialcontactspb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/essentialcontacts/apiv1/essentialcontactspb/service.pb.go b/essentialcontacts/apiv1/essentialcontactspb/service.pb.go index 38329a38c3c5..e083165edbf9 100755 --- a/essentialcontacts/apiv1/essentialcontactspb/service.pb.go +++ b/essentialcontacts/apiv1/essentialcontactspb/service.pb.go @@ -22,9 +22,6 @@ package essentialcontactspb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/eventarc/apiv1/eventarcpb/channel.pb.go b/eventarc/apiv1/eventarcpb/channel.pb.go index d060363864a9..d34badb97178 100755 --- a/eventarc/apiv1/eventarcpb/channel.pb.go +++ b/eventarc/apiv1/eventarcpb/channel.pb.go @@ -21,13 +21,12 @@ package eventarcpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/eventarc/apiv1/eventarcpb/channel_connection.pb.go b/eventarc/apiv1/eventarcpb/channel_connection.pb.go index 220c7845ceee..98d162bbf82d 100755 --- a/eventarc/apiv1/eventarcpb/channel_connection.pb.go +++ b/eventarc/apiv1/eventarcpb/channel_connection.pb.go @@ -21,13 +21,12 @@ package eventarcpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/eventarc/apiv1/eventarcpb/discovery.pb.go b/eventarc/apiv1/eventarcpb/discovery.pb.go index 3fd055bf4d27..b4db2e72a523 100755 --- a/eventarc/apiv1/eventarcpb/discovery.pb.go +++ b/eventarc/apiv1/eventarcpb/discovery.pb.go @@ -21,12 +21,11 @@ package eventarcpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/eventarc/apiv1/eventarcpb/eventarc.pb.go b/eventarc/apiv1/eventarcpb/eventarc.pb.go index f708f8c3c6cb..9204aec838b6 100755 --- a/eventarc/apiv1/eventarcpb/eventarc.pb.go +++ b/eventarc/apiv1/eventarcpb/eventarc.pb.go @@ -21,11 +21,8 @@ package eventarcpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/eventarc/apiv1/eventarcpb/google_channel_config.pb.go b/eventarc/apiv1/eventarcpb/google_channel_config.pb.go index 9b0a9bb76fe2..fbe5a9212a5b 100755 --- a/eventarc/apiv1/eventarcpb/google_channel_config.pb.go +++ b/eventarc/apiv1/eventarcpb/google_channel_config.pb.go @@ -21,13 +21,12 @@ package eventarcpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/eventarc/apiv1/eventarcpb/trigger.pb.go b/eventarc/apiv1/eventarcpb/trigger.pb.go index c9114c8c2287..ef7ce1db4af2 100755 --- a/eventarc/apiv1/eventarcpb/trigger.pb.go +++ b/eventarc/apiv1/eventarcpb/trigger.pb.go @@ -21,14 +21,13 @@ package eventarcpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" code "google.golang.org/genproto/googleapis/rpc/code" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/eventarc/publishing/apiv1/auxiliary.go b/eventarc/publishing/apiv1/auxiliary.go index ac70b750bb10..1f4049440ecd 100755 --- a/eventarc/publishing/apiv1/auxiliary.go +++ b/eventarc/publishing/apiv1/auxiliary.go @@ -15,3 +15,5 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package publishing + +import () diff --git a/eventarc/publishing/apiv1/auxiliary_go123.go b/eventarc/publishing/apiv1/auxiliary_go123.go index 637714a3d8b7..25158369ef55 100755 --- a/eventarc/publishing/apiv1/auxiliary_go123.go +++ b/eventarc/publishing/apiv1/auxiliary_go123.go @@ -17,3 +17,5 @@ //go:build go1.23 package publishing + +import () diff --git a/eventarc/publishing/apiv1/publisher_client_example_go123_test.go b/eventarc/publishing/apiv1/publisher_client_example_go123_test.go index 4896dd12acdb..520af4e7811e 100644 --- a/eventarc/publishing/apiv1/publisher_client_example_go123_test.go +++ b/eventarc/publishing/apiv1/publisher_client_example_go123_test.go @@ -17,3 +17,7 @@ //go:build go1.23 package publishing_test + +import ( + publishing "cloud.google.com/go/eventarc/publishing/apiv1" +) diff --git a/eventarc/publishing/apiv1/publishingpb/publisher.pb.go b/eventarc/publishing/apiv1/publishingpb/publisher.pb.go index 76019949b783..76aaefbfcaea 100755 --- a/eventarc/publishing/apiv1/publishingpb/publisher.pb.go +++ b/eventarc/publishing/apiv1/publishingpb/publisher.pb.go @@ -22,9 +22,6 @@ package publishingpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" anypb "google.golang.org/protobuf/types/known/anypb" + reflect "reflect" + sync "sync" ) const ( diff --git a/filestore/apiv1/filestorepb/cloud_filestore_service.pb.go b/filestore/apiv1/filestorepb/cloud_filestore_service.pb.go index aa1e8e030400..7bd1f431f7bc 100755 --- a/filestore/apiv1/filestorepb/cloud_filestore_service.pb.go +++ b/filestore/apiv1/filestorepb/cloud_filestore_service.pb.go @@ -21,11 +21,8 @@ package filestorepb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" _ "google.golang.org/genproto/googleapis/cloud/common" grpc "google.golang.org/grpc" @@ -37,6 +34,8 @@ import ( fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( diff --git a/firestore/apiv1/admin/adminpb/backup.pb.go b/firestore/apiv1/admin/adminpb/backup.pb.go index 7005aa87f26c..41f08de13f9d 100755 --- a/firestore/apiv1/admin/adminpb/backup.pb.go +++ b/firestore/apiv1/admin/adminpb/backup.pb.go @@ -21,13 +21,12 @@ package adminpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/firestore/apiv1/admin/adminpb/database.pb.go b/firestore/apiv1/admin/adminpb/database.pb.go index 0e0f451ac975..170508c15f18 100755 --- a/firestore/apiv1/admin/adminpb/database.pb.go +++ b/firestore/apiv1/admin/adminpb/database.pb.go @@ -21,14 +21,13 @@ package adminpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/firestore/apiv1/admin/adminpb/field.pb.go b/firestore/apiv1/admin/adminpb/field.pb.go index bde99abbcfff..f211c18465b8 100755 --- a/firestore/apiv1/admin/adminpb/field.pb.go +++ b/firestore/apiv1/admin/adminpb/field.pb.go @@ -21,12 +21,11 @@ package adminpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/firestore/apiv1/admin/adminpb/firestore_admin.pb.go b/firestore/apiv1/admin/adminpb/firestore_admin.pb.go index e86331a8b39c..6ee0a1d3ab7b 100755 --- a/firestore/apiv1/admin/adminpb/firestore_admin.pb.go +++ b/firestore/apiv1/admin/adminpb/firestore_admin.pb.go @@ -21,11 +21,8 @@ package adminpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/firestore/apiv1/admin/adminpb/index.pb.go b/firestore/apiv1/admin/adminpb/index.pb.go index e1fd37232c37..79440340815e 100755 --- a/firestore/apiv1/admin/adminpb/index.pb.go +++ b/firestore/apiv1/admin/adminpb/index.pb.go @@ -21,12 +21,11 @@ package adminpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/firestore/apiv1/admin/adminpb/location.pb.go b/firestore/apiv1/admin/adminpb/location.pb.go index 8e2ffcc9f0b5..5cbe0026205b 100755 --- a/firestore/apiv1/admin/adminpb/location.pb.go +++ b/firestore/apiv1/admin/adminpb/location.pb.go @@ -21,11 +21,10 @@ package adminpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/firestore/apiv1/admin/adminpb/operation.pb.go b/firestore/apiv1/admin/adminpb/operation.pb.go index db217f37d8c0..f2a7ddaaabf1 100755 --- a/firestore/apiv1/admin/adminpb/operation.pb.go +++ b/firestore/apiv1/admin/adminpb/operation.pb.go @@ -21,13 +21,12 @@ package adminpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/firestore/apiv1/admin/adminpb/schedule.pb.go b/firestore/apiv1/admin/adminpb/schedule.pb.go index cd3cdbd53142..7328b67640e3 100755 --- a/firestore/apiv1/admin/adminpb/schedule.pb.go +++ b/firestore/apiv1/admin/adminpb/schedule.pb.go @@ -21,15 +21,14 @@ package adminpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" dayofweek "google.golang.org/genproto/googleapis/type/dayofweek" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/firestore/apiv1/firestorepb/aggregation_result.pb.go b/firestore/apiv1/firestorepb/aggregation_result.pb.go index a14afcb17399..0aa4a5c627a7 100755 --- a/firestore/apiv1/firestorepb/aggregation_result.pb.go +++ b/firestore/apiv1/firestorepb/aggregation_result.pb.go @@ -21,11 +21,10 @@ package firestorepb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/firestore/apiv1/firestorepb/bloom_filter.pb.go b/firestore/apiv1/firestorepb/bloom_filter.pb.go index 34146b41dd88..3cd7f9716527 100755 --- a/firestore/apiv1/firestorepb/bloom_filter.pb.go +++ b/firestore/apiv1/firestorepb/bloom_filter.pb.go @@ -21,11 +21,10 @@ package firestorepb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/firestore/apiv1/firestorepb/common.pb.go b/firestore/apiv1/firestorepb/common.pb.go index 06af91f8a55a..3e70575f2c0c 100755 --- a/firestore/apiv1/firestorepb/common.pb.go +++ b/firestore/apiv1/firestorepb/common.pb.go @@ -21,12 +21,11 @@ package firestorepb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/firestore/apiv1/firestorepb/document.pb.go b/firestore/apiv1/firestorepb/document.pb.go index b36f1b1b762a..af14763c9746 100755 --- a/firestore/apiv1/firestorepb/document.pb.go +++ b/firestore/apiv1/firestorepb/document.pb.go @@ -21,15 +21,14 @@ package firestorepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" latlng "google.golang.org/genproto/googleapis/type/latlng" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/firestore/apiv1/firestorepb/firestore.pb.go b/firestore/apiv1/firestorepb/firestore.pb.go index e3c9b6fbc303..db404823cac2 100755 --- a/firestore/apiv1/firestorepb/firestore.pb.go +++ b/firestore/apiv1/firestorepb/firestore.pb.go @@ -22,9 +22,6 @@ package firestorepb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -35,6 +32,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( diff --git a/firestore/apiv1/firestorepb/query.pb.go b/firestore/apiv1/firestorepb/query.pb.go index 98b169190464..182de79def4b 100755 --- a/firestore/apiv1/firestorepb/query.pb.go +++ b/firestore/apiv1/firestorepb/query.pb.go @@ -21,13 +21,12 @@ package firestorepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( diff --git a/firestore/apiv1/firestorepb/query_profile.pb.go b/firestore/apiv1/firestorepb/query_profile.pb.go index e203dafa0670..bb764efd7731 100755 --- a/firestore/apiv1/firestorepb/query_profile.pb.go +++ b/firestore/apiv1/firestorepb/query_profile.pb.go @@ -21,14 +21,13 @@ package firestorepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/firestore/apiv1/firestorepb/write.pb.go b/firestore/apiv1/firestorepb/write.pb.go index 836f23b16df3..70c4dd190780 100755 --- a/firestore/apiv1/firestorepb/write.pb.go +++ b/firestore/apiv1/firestorepb/write.pb.go @@ -21,12 +21,11 @@ package firestorepb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/functions/apiv1/functionspb/functions.pb.go b/functions/apiv1/functionspb/functions.pb.go index 67a7eaa57fac..f775698f217e 100755 --- a/functions/apiv1/functionspb/functions.pb.go +++ b/functions/apiv1/functionspb/functions.pb.go @@ -21,12 +21,9 @@ package functionspb import ( - context "context" - reflect "reflect" - sync "sync" - iampb "cloud.google.com/go/iam/apiv1/iampb" longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -37,6 +34,8 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/functions/apiv1/functionspb/operations.pb.go b/functions/apiv1/functionspb/operations.pb.go index 1ec9b63f6641..6a615f268711 100755 --- a/functions/apiv1/functionspb/operations.pb.go +++ b/functions/apiv1/functionspb/operations.pb.go @@ -21,13 +21,12 @@ package functionspb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" anypb "google.golang.org/protobuf/types/known/anypb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/functions/apiv2/functionspb/functions.pb.go b/functions/apiv2/functionspb/functions.pb.go index 0188bf3ddeb0..ee1c2075a728 100755 --- a/functions/apiv2/functionspb/functions.pb.go +++ b/functions/apiv2/functionspb/functions.pb.go @@ -21,11 +21,8 @@ package functionspb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" date "google.golang.org/genproto/googleapis/type/date" grpc "google.golang.org/grpc" @@ -37,6 +34,8 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/functions/apiv2beta/functionspb/functions.pb.go b/functions/apiv2beta/functionspb/functions.pb.go index 59fee041396b..47c2322f700c 100755 --- a/functions/apiv2beta/functionspb/functions.pb.go +++ b/functions/apiv2beta/functionspb/functions.pb.go @@ -21,11 +21,8 @@ package functionspb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" date "google.golang.org/genproto/googleapis/type/date" grpc "google.golang.org/grpc" @@ -37,6 +34,8 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/gkebackup/apiv1/gkebackuppb/backup.pb.go b/gkebackup/apiv1/gkebackuppb/backup.pb.go index 8f0c3b1f1038..5476c1cb0193 100755 --- a/gkebackup/apiv1/gkebackuppb/backup.pb.go +++ b/gkebackup/apiv1/gkebackuppb/backup.pb.go @@ -21,13 +21,12 @@ package gkebackuppb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/gkebackup/apiv1/gkebackuppb/backup_plan.pb.go b/gkebackup/apiv1/gkebackuppb/backup_plan.pb.go index 7b6dde9d686c..de4e8d7d7abc 100755 --- a/gkebackup/apiv1/gkebackuppb/backup_plan.pb.go +++ b/gkebackup/apiv1/gkebackuppb/backup_plan.pb.go @@ -21,9 +21,6 @@ package gkebackuppb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" date "google.golang.org/genproto/googleapis/type/date" dayofweek "google.golang.org/genproto/googleapis/type/dayofweek" @@ -32,6 +29,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/gkebackup/apiv1/gkebackuppb/common.pb.go b/gkebackup/apiv1/gkebackuppb/common.pb.go index 2c324a96cd8f..b622be99821f 100755 --- a/gkebackup/apiv1/gkebackuppb/common.pb.go +++ b/gkebackup/apiv1/gkebackuppb/common.pb.go @@ -21,12 +21,11 @@ package gkebackuppb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/gkebackup/apiv1/gkebackuppb/gkebackup.pb.go b/gkebackup/apiv1/gkebackuppb/gkebackup.pb.go index 9dd72ebdf909..1be05bf48d96 100755 --- a/gkebackup/apiv1/gkebackuppb/gkebackup.pb.go +++ b/gkebackup/apiv1/gkebackuppb/gkebackup.pb.go @@ -21,11 +21,8 @@ package gkebackuppb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/gkebackup/apiv1/gkebackuppb/restore.pb.go b/gkebackup/apiv1/gkebackuppb/restore.pb.go index 8263d57319e5..7c6c7006bf3f 100755 --- a/gkebackup/apiv1/gkebackuppb/restore.pb.go +++ b/gkebackup/apiv1/gkebackuppb/restore.pb.go @@ -21,13 +21,12 @@ package gkebackuppb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/gkebackup/apiv1/gkebackuppb/restore_plan.pb.go b/gkebackup/apiv1/gkebackuppb/restore_plan.pb.go index 02d837f951ec..7827613b2bc4 100755 --- a/gkebackup/apiv1/gkebackuppb/restore_plan.pb.go +++ b/gkebackup/apiv1/gkebackuppb/restore_plan.pb.go @@ -21,13 +21,12 @@ package gkebackuppb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/gkebackup/apiv1/gkebackuppb/volume.pb.go b/gkebackup/apiv1/gkebackuppb/volume.pb.go index ba1b8fc93b45..d4b5bea7de0c 100755 --- a/gkebackup/apiv1/gkebackuppb/volume.pb.go +++ b/gkebackup/apiv1/gkebackuppb/volume.pb.go @@ -21,13 +21,12 @@ package gkebackuppb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/gkeconnect/gateway/apiv1/auxiliary.go b/gkeconnect/gateway/apiv1/auxiliary.go index 8bc2df7434ff..acb9629465da 100755 --- a/gkeconnect/gateway/apiv1/auxiliary.go +++ b/gkeconnect/gateway/apiv1/auxiliary.go @@ -15,3 +15,5 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package gateway + +import () diff --git a/gkeconnect/gateway/apiv1/auxiliary_go123.go b/gkeconnect/gateway/apiv1/auxiliary_go123.go index 632d1dc91a0c..3e71e73d391f 100755 --- a/gkeconnect/gateway/apiv1/auxiliary_go123.go +++ b/gkeconnect/gateway/apiv1/auxiliary_go123.go @@ -17,3 +17,5 @@ //go:build go1.23 package gateway + +import () diff --git a/gkeconnect/gateway/apiv1/gateway_control_client_example_go123_test.go b/gkeconnect/gateway/apiv1/gateway_control_client_example_go123_test.go index 3f8b087ce165..96d582b8e688 100644 --- a/gkeconnect/gateway/apiv1/gateway_control_client_example_go123_test.go +++ b/gkeconnect/gateway/apiv1/gateway_control_client_example_go123_test.go @@ -17,3 +17,7 @@ //go:build go1.23 package gateway_test + +import ( + gateway "cloud.google.com/go/gkeconnect/gateway/apiv1" +) diff --git a/gkeconnect/gateway/apiv1/gatewaypb/control.pb.go b/gkeconnect/gateway/apiv1/gatewaypb/control.pb.go index d7cbee950ed1..f8e47e03d57e 100755 --- a/gkeconnect/gateway/apiv1/gatewaypb/control.pb.go +++ b/gkeconnect/gateway/apiv1/gatewaypb/control.pb.go @@ -22,15 +22,14 @@ package gatewaypb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/gkeconnect/gateway/apiv1beta1/auxiliary.go b/gkeconnect/gateway/apiv1beta1/auxiliary.go index 8bc2df7434ff..acb9629465da 100755 --- a/gkeconnect/gateway/apiv1beta1/auxiliary.go +++ b/gkeconnect/gateway/apiv1beta1/auxiliary.go @@ -15,3 +15,5 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package gateway + +import () diff --git a/gkeconnect/gateway/apiv1beta1/auxiliary_go123.go b/gkeconnect/gateway/apiv1beta1/auxiliary_go123.go index 632d1dc91a0c..3e71e73d391f 100755 --- a/gkeconnect/gateway/apiv1beta1/auxiliary_go123.go +++ b/gkeconnect/gateway/apiv1beta1/auxiliary_go123.go @@ -17,3 +17,5 @@ //go:build go1.23 package gateway + +import () diff --git a/gkeconnect/gateway/apiv1beta1/gateway_control_client_example_go123_test.go b/gkeconnect/gateway/apiv1beta1/gateway_control_client_example_go123_test.go index 3f8b087ce165..187685996422 100644 --- a/gkeconnect/gateway/apiv1beta1/gateway_control_client_example_go123_test.go +++ b/gkeconnect/gateway/apiv1beta1/gateway_control_client_example_go123_test.go @@ -17,3 +17,7 @@ //go:build go1.23 package gateway_test + +import ( + gateway "cloud.google.com/go/gkeconnect/gateway/apiv1beta1" +) diff --git a/gkeconnect/gateway/apiv1beta1/gatewaypb/control.pb.go b/gkeconnect/gateway/apiv1beta1/gatewaypb/control.pb.go index 1b2693d32d2d..c718b2186892 100755 --- a/gkeconnect/gateway/apiv1beta1/gatewaypb/control.pb.go +++ b/gkeconnect/gateway/apiv1beta1/gatewaypb/control.pb.go @@ -22,15 +22,14 @@ package gatewaypb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/gkehub/apiv1beta1/gkehubpb/membership.pb.go b/gkehub/apiv1beta1/gkehubpb/membership.pb.go index 5d49863fe32c..cfbe9f99936f 100755 --- a/gkehub/apiv1beta1/gkehubpb/membership.pb.go +++ b/gkehub/apiv1beta1/gkehubpb/membership.pb.go @@ -21,11 +21,8 @@ package gkehubpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -36,6 +33,8 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/gkemulticloud/apiv1/gkemulticloudpb/attached_resources.pb.go b/gkemulticloud/apiv1/gkemulticloudpb/attached_resources.pb.go index 6824a501c289..86a187e92f55 100755 --- a/gkemulticloud/apiv1/gkemulticloudpb/attached_resources.pb.go +++ b/gkemulticloud/apiv1/gkemulticloudpb/attached_resources.pb.go @@ -21,13 +21,12 @@ package gkemulticloudpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/gkemulticloud/apiv1/gkemulticloudpb/attached_service.pb.go b/gkemulticloud/apiv1/gkemulticloudpb/attached_service.pb.go index 57e7b1204e59..2c539f7e0565 100755 --- a/gkemulticloud/apiv1/gkemulticloudpb/attached_service.pb.go +++ b/gkemulticloud/apiv1/gkemulticloudpb/attached_service.pb.go @@ -21,11 +21,8 @@ package gkemulticloudpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/gkemulticloud/apiv1/gkemulticloudpb/aws_resources.pb.go b/gkemulticloud/apiv1/gkemulticloudpb/aws_resources.pb.go index 1a2a3029f0ec..e710a37d4b81 100755 --- a/gkemulticloud/apiv1/gkemulticloudpb/aws_resources.pb.go +++ b/gkemulticloud/apiv1/gkemulticloudpb/aws_resources.pb.go @@ -21,14 +21,13 @@ package gkemulticloudpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" date "google.golang.org/genproto/googleapis/type/date" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/gkemulticloud/apiv1/gkemulticloudpb/aws_service.pb.go b/gkemulticloud/apiv1/gkemulticloudpb/aws_service.pb.go index 563ff0b33365..4f6cff82cfbe 100755 --- a/gkemulticloud/apiv1/gkemulticloudpb/aws_service.pb.go +++ b/gkemulticloud/apiv1/gkemulticloudpb/aws_service.pb.go @@ -21,11 +21,8 @@ package gkemulticloudpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/gkemulticloud/apiv1/gkemulticloudpb/azure_resources.pb.go b/gkemulticloud/apiv1/gkemulticloudpb/azure_resources.pb.go index ae4346609e00..79e549b59e3d 100755 --- a/gkemulticloud/apiv1/gkemulticloudpb/azure_resources.pb.go +++ b/gkemulticloud/apiv1/gkemulticloudpb/azure_resources.pb.go @@ -21,14 +21,13 @@ package gkemulticloudpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" date "google.golang.org/genproto/googleapis/type/date" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/gkemulticloud/apiv1/gkemulticloudpb/azure_service.pb.go b/gkemulticloud/apiv1/gkemulticloudpb/azure_service.pb.go index f5cfa3cd82c1..091d4d20cbcf 100755 --- a/gkemulticloud/apiv1/gkemulticloudpb/azure_service.pb.go +++ b/gkemulticloud/apiv1/gkemulticloudpb/azure_service.pb.go @@ -21,11 +21,8 @@ package gkemulticloudpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/gkemulticloud/apiv1/gkemulticloudpb/common_resources.pb.go b/gkemulticloud/apiv1/gkemulticloudpb/common_resources.pb.go index 4e08242de28b..539fce410976 100755 --- a/gkemulticloud/apiv1/gkemulticloudpb/common_resources.pb.go +++ b/gkemulticloud/apiv1/gkemulticloudpb/common_resources.pb.go @@ -21,13 +21,12 @@ package gkemulticloudpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/gsuiteaddons/apiv1/gsuiteaddonspb/gsuiteaddons.pb.go b/gsuiteaddons/apiv1/gsuiteaddonspb/gsuiteaddons.pb.go index fab55899b8d6..547cc93e3cde 100755 --- a/gsuiteaddons/apiv1/gsuiteaddonspb/gsuiteaddons.pb.go +++ b/gsuiteaddons/apiv1/gsuiteaddonspb/gsuiteaddons.pb.go @@ -22,9 +22,6 @@ package gsuiteaddonspb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" _type "google.golang.org/genproto/googleapis/apps/script/type" calendar "google.golang.org/genproto/googleapis/apps/script/type/calendar" @@ -40,6 +37,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( diff --git a/iam/apiv1/auxiliary.go b/iam/apiv1/auxiliary.go index d09ad9188791..5a8b3c343414 100755 --- a/iam/apiv1/auxiliary.go +++ b/iam/apiv1/auxiliary.go @@ -15,3 +15,5 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package iam + +import () diff --git a/iam/apiv1/auxiliary_go123.go b/iam/apiv1/auxiliary_go123.go index 2ef3c5939acf..364fbcab5923 100755 --- a/iam/apiv1/auxiliary_go123.go +++ b/iam/apiv1/auxiliary_go123.go @@ -17,3 +17,5 @@ //go:build go1.23 package iam + +import () diff --git a/iam/apiv1/iam_policy_client_example_go123_test.go b/iam/apiv1/iam_policy_client_example_go123_test.go index a5c65571017c..c6e7053fef3f 100644 --- a/iam/apiv1/iam_policy_client_example_go123_test.go +++ b/iam/apiv1/iam_policy_client_example_go123_test.go @@ -17,3 +17,7 @@ //go:build go1.23 package iam_test + +import ( + iam "cloud.google.com/go/iam/apiv1" +) diff --git a/iam/apiv1/iampb/iam_policy.pb.go b/iam/apiv1/iampb/iam_policy.pb.go index 56de55be8424..04f247062c22 100755 --- a/iam/apiv1/iampb/iam_policy.pb.go +++ b/iam/apiv1/iampb/iam_policy.pb.go @@ -22,9 +22,6 @@ package iampb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/iam/apiv1/iampb/options.pb.go b/iam/apiv1/iampb/options.pb.go index f1c1c084e34d..137888060d86 100755 --- a/iam/apiv1/iampb/options.pb.go +++ b/iam/apiv1/iampb/options.pb.go @@ -21,11 +21,10 @@ package iampb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/iam/apiv1/iampb/policy.pb.go b/iam/apiv1/iampb/policy.pb.go index 4dda5d6d056b..36af6da73fa6 100755 --- a/iam/apiv1/iampb/policy.pb.go +++ b/iam/apiv1/iampb/policy.pb.go @@ -21,12 +21,11 @@ package iampb import ( - reflect "reflect" - sync "sync" - expr "google.golang.org/genproto/googleapis/type/expr" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/iam/apiv2/iampb/deny.pb.go b/iam/apiv2/iampb/deny.pb.go index 274144289ae0..c07d6a909b22 100755 --- a/iam/apiv2/iampb/deny.pb.go +++ b/iam/apiv2/iampb/deny.pb.go @@ -21,12 +21,11 @@ package iampb import ( - reflect "reflect" - sync "sync" - expr "google.golang.org/genproto/googleapis/type/expr" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/iam/apiv2/iampb/policy.pb.go b/iam/apiv2/iampb/policy.pb.go index be9ae1dd2d8b..49c2c7b36638 100755 --- a/iam/apiv2/iampb/policy.pb.go +++ b/iam/apiv2/iampb/policy.pb.go @@ -21,11 +21,8 @@ package iampb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/iam/credentials/apiv1/auxiliary.go b/iam/credentials/apiv1/auxiliary.go index 2f759a2bb64f..d2d7132977fa 100755 --- a/iam/credentials/apiv1/auxiliary.go +++ b/iam/credentials/apiv1/auxiliary.go @@ -15,3 +15,5 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package credentials + +import () diff --git a/iam/credentials/apiv1/auxiliary_go123.go b/iam/credentials/apiv1/auxiliary_go123.go index 159da92cbecc..e11e14bf7b8d 100755 --- a/iam/credentials/apiv1/auxiliary_go123.go +++ b/iam/credentials/apiv1/auxiliary_go123.go @@ -17,3 +17,5 @@ //go:build go1.23 package credentials + +import () diff --git a/iam/credentials/apiv1/credentialspb/common.pb.go b/iam/credentials/apiv1/credentialspb/common.pb.go index fb213ea46a2a..0a0977cba3cc 100755 --- a/iam/credentials/apiv1/credentialspb/common.pb.go +++ b/iam/credentials/apiv1/credentialspb/common.pb.go @@ -21,14 +21,13 @@ package credentialspb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/iam/credentials/apiv1/credentialspb/iamcredentials.pb.go b/iam/credentials/apiv1/credentialspb/iamcredentials.pb.go index 3f1c267694e6..3e63dc1ad99d 100755 --- a/iam/credentials/apiv1/credentialspb/iamcredentials.pb.go +++ b/iam/credentials/apiv1/credentialspb/iamcredentials.pb.go @@ -22,14 +22,13 @@ package credentialspb import ( context "context" - reflect "reflect" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" ) const ( diff --git a/iam/credentials/apiv1/iam_credentials_client_example_go123_test.go b/iam/credentials/apiv1/iam_credentials_client_example_go123_test.go index 3d0e76a51d77..4388566c4ee0 100644 --- a/iam/credentials/apiv1/iam_credentials_client_example_go123_test.go +++ b/iam/credentials/apiv1/iam_credentials_client_example_go123_test.go @@ -17,3 +17,7 @@ //go:build go1.23 package credentials_test + +import ( + credentials "cloud.google.com/go/iam/credentials/apiv1" +) diff --git a/iap/apiv1/iappb/service.pb.go b/iap/apiv1/iappb/service.pb.go index 3e3a89f9502d..15ab10711de7 100755 --- a/iap/apiv1/iappb/service.pb.go +++ b/iap/apiv1/iappb/service.pb.go @@ -21,11 +21,8 @@ package iappb import ( - context "context" - reflect "reflect" - sync "sync" - iampb "cloud.google.com/go/iam/apiv1/iampb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -36,6 +33,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( diff --git a/identitytoolkit/apiv2/account_management_client_example_go123_test.go b/identitytoolkit/apiv2/account_management_client_example_go123_test.go index f7bd2eaebd09..0eb85738725d 100644 --- a/identitytoolkit/apiv2/account_management_client_example_go123_test.go +++ b/identitytoolkit/apiv2/account_management_client_example_go123_test.go @@ -17,3 +17,7 @@ //go:build go1.23 package identitytoolkit_test + +import ( + identitytoolkit "cloud.google.com/go/identitytoolkit/apiv2" +) diff --git a/identitytoolkit/apiv2/authentication_client_example_go123_test.go b/identitytoolkit/apiv2/authentication_client_example_go123_test.go index f7bd2eaebd09..0eb85738725d 100644 --- a/identitytoolkit/apiv2/authentication_client_example_go123_test.go +++ b/identitytoolkit/apiv2/authentication_client_example_go123_test.go @@ -17,3 +17,7 @@ //go:build go1.23 package identitytoolkit_test + +import ( + identitytoolkit "cloud.google.com/go/identitytoolkit/apiv2" +) diff --git a/identitytoolkit/apiv2/auxiliary.go b/identitytoolkit/apiv2/auxiliary.go index 7be391a1bb33..041d85a9e495 100755 --- a/identitytoolkit/apiv2/auxiliary.go +++ b/identitytoolkit/apiv2/auxiliary.go @@ -15,3 +15,5 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package identitytoolkit + +import () diff --git a/identitytoolkit/apiv2/auxiliary_go123.go b/identitytoolkit/apiv2/auxiliary_go123.go index 2b771f6df0fa..847fddf04d2f 100755 --- a/identitytoolkit/apiv2/auxiliary_go123.go +++ b/identitytoolkit/apiv2/auxiliary_go123.go @@ -17,3 +17,5 @@ //go:build go1.23 package identitytoolkit + +import () diff --git a/identitytoolkit/apiv2/identitytoolkitpb/account_management_service.pb.go b/identitytoolkit/apiv2/identitytoolkitpb/account_management_service.pb.go index 1fc48f239c50..a39969b9a414 100755 --- a/identitytoolkit/apiv2/identitytoolkitpb/account_management_service.pb.go +++ b/identitytoolkit/apiv2/identitytoolkitpb/account_management_service.pb.go @@ -22,15 +22,14 @@ package identitytoolkitpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/identitytoolkit/apiv2/identitytoolkitpb/authentication_service.pb.go b/identitytoolkit/apiv2/identitytoolkitpb/authentication_service.pb.go index faaed090682b..69e9bdcbfc42 100755 --- a/identitytoolkit/apiv2/identitytoolkitpb/authentication_service.pb.go +++ b/identitytoolkit/apiv2/identitytoolkitpb/authentication_service.pb.go @@ -22,15 +22,14 @@ package identitytoolkitpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/identitytoolkit/apiv2/identitytoolkitpb/mfa_info.pb.go b/identitytoolkit/apiv2/identitytoolkitpb/mfa_info.pb.go index 401027fd2814..47cb06ccf4a9 100755 --- a/identitytoolkit/apiv2/identitytoolkitpb/mfa_info.pb.go +++ b/identitytoolkit/apiv2/identitytoolkitpb/mfa_info.pb.go @@ -21,12 +21,11 @@ package identitytoolkitpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/ids/apiv1/idspb/ids.pb.go b/ids/apiv1/idspb/ids.pb.go index c1bef3960206..7c6c6ebb6f86 100755 --- a/ids/apiv1/idspb/ids.pb.go +++ b/ids/apiv1/idspb/ids.pb.go @@ -21,11 +21,8 @@ package idspb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/internal/generated/snippets/accessapproval/apiv1/snippet_metadata.google.cloud.accessapproval.v1.json b/internal/generated/snippets/accessapproval/apiv1/snippet_metadata.google.cloud.accessapproval.v1.json index 04a4b0dfde0a..fadcb420cec7 100644 --- a/internal/generated/snippets/accessapproval/apiv1/snippet_metadata.google.cloud.accessapproval.v1.json +++ b/internal/generated/snippets/accessapproval/apiv1/snippet_metadata.google.cloud.accessapproval.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/accessapproval/apiv1", - "version": "1.7.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/accesscontextmanager/apiv1/snippet_metadata.google.identity.accesscontextmanager.v1.json b/internal/generated/snippets/accesscontextmanager/apiv1/snippet_metadata.google.identity.accesscontextmanager.v1.json index b428ee916382..582a1a53d43e 100644 --- a/internal/generated/snippets/accesscontextmanager/apiv1/snippet_metadata.google.identity.accesscontextmanager.v1.json +++ b/internal/generated/snippets/accesscontextmanager/apiv1/snippet_metadata.google.identity.accesscontextmanager.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/accesscontextmanager/apiv1", - "version": "1.8.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/advisorynotifications/apiv1/snippet_metadata.google.cloud.advisorynotifications.v1.json b/internal/generated/snippets/advisorynotifications/apiv1/snippet_metadata.google.cloud.advisorynotifications.v1.json index 0c722764cff6..c1305555882b 100644 --- a/internal/generated/snippets/advisorynotifications/apiv1/snippet_metadata.google.cloud.advisorynotifications.v1.json +++ b/internal/generated/snippets/advisorynotifications/apiv1/snippet_metadata.google.cloud.advisorynotifications.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/advisorynotifications/apiv1", - "version": "1.5.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/ai/generativelanguage/apiv1/snippet_metadata.google.ai.generativelanguage.v1.json b/internal/generated/snippets/ai/generativelanguage/apiv1/snippet_metadata.google.ai.generativelanguage.v1.json index 86511e3d1206..755936dc2900 100644 --- a/internal/generated/snippets/ai/generativelanguage/apiv1/snippet_metadata.google.ai.generativelanguage.v1.json +++ b/internal/generated/snippets/ai/generativelanguage/apiv1/snippet_metadata.google.ai.generativelanguage.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/ai/generativelanguage/apiv1", - "version": "0.8.2", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/ai/generativelanguage/apiv1beta/snippet_metadata.google.ai.generativelanguage.v1beta.json b/internal/generated/snippets/ai/generativelanguage/apiv1beta/snippet_metadata.google.ai.generativelanguage.v1beta.json index e45509b862a8..8f6c1c796ef0 100644 --- a/internal/generated/snippets/ai/generativelanguage/apiv1beta/snippet_metadata.google.ai.generativelanguage.v1beta.json +++ b/internal/generated/snippets/ai/generativelanguage/apiv1beta/snippet_metadata.google.ai.generativelanguage.v1beta.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/ai/generativelanguage/apiv1beta", - "version": "0.8.2", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/ai/generativelanguage/apiv1beta2/snippet_metadata.google.ai.generativelanguage.v1beta2.json b/internal/generated/snippets/ai/generativelanguage/apiv1beta2/snippet_metadata.google.ai.generativelanguage.v1beta2.json index 5b2df9d925eb..e14dc5b44b6e 100644 --- a/internal/generated/snippets/ai/generativelanguage/apiv1beta2/snippet_metadata.google.ai.generativelanguage.v1beta2.json +++ b/internal/generated/snippets/ai/generativelanguage/apiv1beta2/snippet_metadata.google.ai.generativelanguage.v1beta2.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/ai/generativelanguage/apiv1beta2", - "version": "0.8.2", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/aiplatform/apiv1/snippet_metadata.google.cloud.aiplatform.v1.json b/internal/generated/snippets/aiplatform/apiv1/snippet_metadata.google.cloud.aiplatform.v1.json index bef27551db17..7944b5cfa017 100644 --- a/internal/generated/snippets/aiplatform/apiv1/snippet_metadata.google.cloud.aiplatform.v1.json +++ b/internal/generated/snippets/aiplatform/apiv1/snippet_metadata.google.cloud.aiplatform.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/aiplatform/apiv1", - "version": "1.68.0", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/snippet_metadata.google.cloud.aiplatform.v1beta1.json b/internal/generated/snippets/aiplatform/apiv1beta1/snippet_metadata.google.cloud.aiplatform.v1beta1.json index bd7053022007..f130051c8698 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/snippet_metadata.google.cloud.aiplatform.v1beta1.json +++ b/internal/generated/snippets/aiplatform/apiv1beta1/snippet_metadata.google.cloud.aiplatform.v1beta1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/aiplatform/apiv1beta1", - "version": "1.68.0", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/alloydb/apiv1/snippet_metadata.google.cloud.alloydb.v1.json b/internal/generated/snippets/alloydb/apiv1/snippet_metadata.google.cloud.alloydb.v1.json index d37816efd0cc..bb969bc57a9f 100644 --- a/internal/generated/snippets/alloydb/apiv1/snippet_metadata.google.cloud.alloydb.v1.json +++ b/internal/generated/snippets/alloydb/apiv1/snippet_metadata.google.cloud.alloydb.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/alloydb/apiv1", - "version": "1.12.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/alloydb/apiv1alpha/snippet_metadata.google.cloud.alloydb.v1alpha.json b/internal/generated/snippets/alloydb/apiv1alpha/snippet_metadata.google.cloud.alloydb.v1alpha.json index fd904ef2df50..f74ab3967f3b 100644 --- a/internal/generated/snippets/alloydb/apiv1alpha/snippet_metadata.google.cloud.alloydb.v1alpha.json +++ b/internal/generated/snippets/alloydb/apiv1alpha/snippet_metadata.google.cloud.alloydb.v1alpha.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/alloydb/apiv1alpha", - "version": "1.12.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/alloydb/apiv1beta/snippet_metadata.google.cloud.alloydb.v1beta.json b/internal/generated/snippets/alloydb/apiv1beta/snippet_metadata.google.cloud.alloydb.v1beta.json index 0559d39c2df2..81f30416173a 100644 --- a/internal/generated/snippets/alloydb/apiv1beta/snippet_metadata.google.cloud.alloydb.v1beta.json +++ b/internal/generated/snippets/alloydb/apiv1beta/snippet_metadata.google.cloud.alloydb.v1beta.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/alloydb/apiv1beta", - "version": "1.12.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/analytics/admin/apiv1alpha/snippet_metadata.google.analytics.admin.v1alpha.json b/internal/generated/snippets/analytics/admin/apiv1alpha/snippet_metadata.google.analytics.admin.v1alpha.json index a0af32cc138e..bbbd2d9163f5 100644 --- a/internal/generated/snippets/analytics/admin/apiv1alpha/snippet_metadata.google.analytics.admin.v1alpha.json +++ b/internal/generated/snippets/analytics/admin/apiv1alpha/snippet_metadata.google.analytics.admin.v1alpha.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/analytics/admin/apiv1alpha", - "version": "0.25.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/apigateway/apiv1/snippet_metadata.google.cloud.apigateway.v1.json b/internal/generated/snippets/apigateway/apiv1/snippet_metadata.google.cloud.apigateway.v1.json index db5cc9b12963..a4df27b46737 100644 --- a/internal/generated/snippets/apigateway/apiv1/snippet_metadata.google.cloud.apigateway.v1.json +++ b/internal/generated/snippets/apigateway/apiv1/snippet_metadata.google.cloud.apigateway.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/apigateway/apiv1", - "version": "1.6.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/apigeeconnect/apiv1/snippet_metadata.google.cloud.apigeeconnect.v1.json b/internal/generated/snippets/apigeeconnect/apiv1/snippet_metadata.google.cloud.apigeeconnect.v1.json index 19cc763392af..6258dd2ded58 100644 --- a/internal/generated/snippets/apigeeconnect/apiv1/snippet_metadata.google.cloud.apigeeconnect.v1.json +++ b/internal/generated/snippets/apigeeconnect/apiv1/snippet_metadata.google.cloud.apigeeconnect.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/apigeeconnect/apiv1", - "version": "1.6.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/apigeeregistry/apiv1/snippet_metadata.google.cloud.apigeeregistry.v1.json b/internal/generated/snippets/apigeeregistry/apiv1/snippet_metadata.google.cloud.apigeeregistry.v1.json index eebaee64f647..56c02e54725f 100644 --- a/internal/generated/snippets/apigeeregistry/apiv1/snippet_metadata.google.cloud.apigeeregistry.v1.json +++ b/internal/generated/snippets/apigeeregistry/apiv1/snippet_metadata.google.cloud.apigeeregistry.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/apigeeregistry/apiv1", - "version": "0.8.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/apihub/apiv1/snippet_metadata.google.cloud.apihub.v1.json b/internal/generated/snippets/apihub/apiv1/snippet_metadata.google.cloud.apihub.v1.json index 03807d3992ad..46b22e7c589e 100644 --- a/internal/generated/snippets/apihub/apiv1/snippet_metadata.google.cloud.apihub.v1.json +++ b/internal/generated/snippets/apihub/apiv1/snippet_metadata.google.cloud.apihub.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/apihub/apiv1", - "version": "0.1.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/apikeys/apiv2/snippet_metadata.google.api.apikeys.v2.json b/internal/generated/snippets/apikeys/apiv2/snippet_metadata.google.api.apikeys.v2.json index 77ac6df859d0..0c7b0e13d043 100644 --- a/internal/generated/snippets/apikeys/apiv2/snippet_metadata.google.api.apikeys.v2.json +++ b/internal/generated/snippets/apikeys/apiv2/snippet_metadata.google.api.apikeys.v2.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/apikeys/apiv2", - "version": "1.1.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/appengine/apiv1/snippet_metadata.google.appengine.v1.json b/internal/generated/snippets/appengine/apiv1/snippet_metadata.google.appengine.v1.json index 037d2fc6b967..c9b52a1415ea 100644 --- a/internal/generated/snippets/appengine/apiv1/snippet_metadata.google.appengine.v1.json +++ b/internal/generated/snippets/appengine/apiv1/snippet_metadata.google.appengine.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/appengine/apiv1", - "version": "1.8.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/apphub/apiv1/snippet_metadata.google.cloud.apphub.v1.json b/internal/generated/snippets/apphub/apiv1/snippet_metadata.google.cloud.apphub.v1.json index bfeb23097b93..3fc381c49249 100644 --- a/internal/generated/snippets/apphub/apiv1/snippet_metadata.google.cloud.apphub.v1.json +++ b/internal/generated/snippets/apphub/apiv1/snippet_metadata.google.cloud.apphub.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/apphub/apiv1", - "version": "0.2.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/apps/events/subscriptions/apiv1/snippet_metadata.google.apps.events.subscriptions.v1.json b/internal/generated/snippets/apps/events/subscriptions/apiv1/snippet_metadata.google.apps.events.subscriptions.v1.json index 36249f816cbf..eab3533069c3 100644 --- a/internal/generated/snippets/apps/events/subscriptions/apiv1/snippet_metadata.google.apps.events.subscriptions.v1.json +++ b/internal/generated/snippets/apps/events/subscriptions/apiv1/snippet_metadata.google.apps.events.subscriptions.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/apps/events/subscriptions/apiv1", - "version": "0.5.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/apps/meet/apiv2/snippet_metadata.google.apps.meet.v2.json b/internal/generated/snippets/apps/meet/apiv2/snippet_metadata.google.apps.meet.v2.json index 89c624266610..de0f1dd37993 100644 --- a/internal/generated/snippets/apps/meet/apiv2/snippet_metadata.google.apps.meet.v2.json +++ b/internal/generated/snippets/apps/meet/apiv2/snippet_metadata.google.apps.meet.v2.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/apps/meet/apiv2", - "version": "0.5.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/apps/meet/apiv2beta/snippet_metadata.google.apps.meet.v2beta.json b/internal/generated/snippets/apps/meet/apiv2beta/snippet_metadata.google.apps.meet.v2beta.json index 533b4c8d0853..c7627cb7f63c 100644 --- a/internal/generated/snippets/apps/meet/apiv2beta/snippet_metadata.google.apps.meet.v2beta.json +++ b/internal/generated/snippets/apps/meet/apiv2beta/snippet_metadata.google.apps.meet.v2beta.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/apps/meet/apiv2beta", - "version": "0.5.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/area120/tables/apiv1alpha1/snippet_metadata.google.area120.tables.v1alpha1.json b/internal/generated/snippets/area120/tables/apiv1alpha1/snippet_metadata.google.area120.tables.v1alpha1.json index 67c4d82f79ee..cce0bc44605f 100644 --- a/internal/generated/snippets/area120/tables/apiv1alpha1/snippet_metadata.google.area120.tables.v1alpha1.json +++ b/internal/generated/snippets/area120/tables/apiv1alpha1/snippet_metadata.google.area120.tables.v1alpha1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/area120/tables/apiv1alpha1", - "version": "0.8.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/artifactregistry/apiv1/snippet_metadata.google.devtools.artifactregistry.v1.json b/internal/generated/snippets/artifactregistry/apiv1/snippet_metadata.google.devtools.artifactregistry.v1.json index 11a73ecffce5..c237232d6e11 100644 --- a/internal/generated/snippets/artifactregistry/apiv1/snippet_metadata.google.devtools.artifactregistry.v1.json +++ b/internal/generated/snippets/artifactregistry/apiv1/snippet_metadata.google.devtools.artifactregistry.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/artifactregistry/apiv1", - "version": "1.14.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/artifactregistry/apiv1beta2/snippet_metadata.google.devtools.artifactregistry.v1beta2.json b/internal/generated/snippets/artifactregistry/apiv1beta2/snippet_metadata.google.devtools.artifactregistry.v1beta2.json index d166bed362c2..00934cd8cba7 100644 --- a/internal/generated/snippets/artifactregistry/apiv1beta2/snippet_metadata.google.devtools.artifactregistry.v1beta2.json +++ b/internal/generated/snippets/artifactregistry/apiv1beta2/snippet_metadata.google.devtools.artifactregistry.v1beta2.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/artifactregistry/apiv1beta2", - "version": "1.14.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/asset/apiv1/snippet_metadata.google.cloud.asset.v1.json b/internal/generated/snippets/asset/apiv1/snippet_metadata.google.cloud.asset.v1.json index d312260f4311..ab8ffaebcd43 100644 --- a/internal/generated/snippets/asset/apiv1/snippet_metadata.google.cloud.asset.v1.json +++ b/internal/generated/snippets/asset/apiv1/snippet_metadata.google.cloud.asset.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/asset/apiv1", - "version": "1.20.2", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/asset/apiv1p2beta1/snippet_metadata.google.cloud.asset.v1p2beta1.json b/internal/generated/snippets/asset/apiv1p2beta1/snippet_metadata.google.cloud.asset.v1p2beta1.json index e83232d61d00..b6de8824fed9 100644 --- a/internal/generated/snippets/asset/apiv1p2beta1/snippet_metadata.google.cloud.asset.v1p2beta1.json +++ b/internal/generated/snippets/asset/apiv1p2beta1/snippet_metadata.google.cloud.asset.v1p2beta1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/asset/apiv1p2beta1", - "version": "1.20.2", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/asset/apiv1p5beta1/snippet_metadata.google.cloud.asset.v1p5beta1.json b/internal/generated/snippets/asset/apiv1p5beta1/snippet_metadata.google.cloud.asset.v1p5beta1.json index e9683cbe76f6..4a4e0a87dcc6 100644 --- a/internal/generated/snippets/asset/apiv1p5beta1/snippet_metadata.google.cloud.asset.v1p5beta1.json +++ b/internal/generated/snippets/asset/apiv1p5beta1/snippet_metadata.google.cloud.asset.v1p5beta1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/asset/apiv1p5beta1", - "version": "1.20.2", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/assuredworkloads/apiv1/snippet_metadata.google.cloud.assuredworkloads.v1.json b/internal/generated/snippets/assuredworkloads/apiv1/snippet_metadata.google.cloud.assuredworkloads.v1.json index 9732be819440..74beef860f17 100644 --- a/internal/generated/snippets/assuredworkloads/apiv1/snippet_metadata.google.cloud.assuredworkloads.v1.json +++ b/internal/generated/snippets/assuredworkloads/apiv1/snippet_metadata.google.cloud.assuredworkloads.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/assuredworkloads/apiv1", - "version": "1.11.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/assuredworkloads/apiv1beta1/snippet_metadata.google.cloud.assuredworkloads.v1beta1.json b/internal/generated/snippets/assuredworkloads/apiv1beta1/snippet_metadata.google.cloud.assuredworkloads.v1beta1.json index a121e1767f7a..77c9282a72e1 100644 --- a/internal/generated/snippets/assuredworkloads/apiv1beta1/snippet_metadata.google.cloud.assuredworkloads.v1beta1.json +++ b/internal/generated/snippets/assuredworkloads/apiv1beta1/snippet_metadata.google.cloud.assuredworkloads.v1beta1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/assuredworkloads/apiv1beta1", - "version": "1.11.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/automl/apiv1/snippet_metadata.google.cloud.automl.v1.json b/internal/generated/snippets/automl/apiv1/snippet_metadata.google.cloud.automl.v1.json index f2f5f55cfa26..daa66d444d6c 100644 --- a/internal/generated/snippets/automl/apiv1/snippet_metadata.google.cloud.automl.v1.json +++ b/internal/generated/snippets/automl/apiv1/snippet_metadata.google.cloud.automl.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/automl/apiv1", - "version": "1.13.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/automl/apiv1beta1/snippet_metadata.google.cloud.automl.v1beta1.json b/internal/generated/snippets/automl/apiv1beta1/snippet_metadata.google.cloud.automl.v1beta1.json index ca36c9f89e55..1d5472da0faf 100644 --- a/internal/generated/snippets/automl/apiv1beta1/snippet_metadata.google.cloud.automl.v1beta1.json +++ b/internal/generated/snippets/automl/apiv1beta1/snippet_metadata.google.cloud.automl.v1beta1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/automl/apiv1beta1", - "version": "1.13.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/backupdr/apiv1/snippet_metadata.google.cloud.backupdr.v1.json b/internal/generated/snippets/backupdr/apiv1/snippet_metadata.google.cloud.backupdr.v1.json index b81ae413f20e..55721ae33687 100644 --- a/internal/generated/snippets/backupdr/apiv1/snippet_metadata.google.cloud.backupdr.v1.json +++ b/internal/generated/snippets/backupdr/apiv1/snippet_metadata.google.cloud.backupdr.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/backupdr/apiv1", - "version": "1.2.0", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/baremetalsolution/apiv2/snippet_metadata.google.cloud.baremetalsolution.v2.json b/internal/generated/snippets/baremetalsolution/apiv2/snippet_metadata.google.cloud.baremetalsolution.v2.json index 67bc714a3bfb..c05cf22bbff2 100644 --- a/internal/generated/snippets/baremetalsolution/apiv2/snippet_metadata.google.cloud.baremetalsolution.v2.json +++ b/internal/generated/snippets/baremetalsolution/apiv2/snippet_metadata.google.cloud.baremetalsolution.v2.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/baremetalsolution/apiv2", - "version": "1.2.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/batch/apiv1/snippet_metadata.google.cloud.batch.v1.json b/internal/generated/snippets/batch/apiv1/snippet_metadata.google.cloud.batch.v1.json index c53715e33992..fec4306c5aa8 100644 --- a/internal/generated/snippets/batch/apiv1/snippet_metadata.google.cloud.batch.v1.json +++ b/internal/generated/snippets/batch/apiv1/snippet_metadata.google.cloud.batch.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/batch/apiv1", - "version": "1.11.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/beyondcorp/appconnections/apiv1/snippet_metadata.google.cloud.beyondcorp.appconnections.v1.json b/internal/generated/snippets/beyondcorp/appconnections/apiv1/snippet_metadata.google.cloud.beyondcorp.appconnections.v1.json index 1266df06b3dc..97cde6261e51 100644 --- a/internal/generated/snippets/beyondcorp/appconnections/apiv1/snippet_metadata.google.cloud.beyondcorp.appconnections.v1.json +++ b/internal/generated/snippets/beyondcorp/appconnections/apiv1/snippet_metadata.google.cloud.beyondcorp.appconnections.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/beyondcorp/appconnections/apiv1", - "version": "1.0.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/beyondcorp/appconnectors/apiv1/snippet_metadata.google.cloud.beyondcorp.appconnectors.v1.json b/internal/generated/snippets/beyondcorp/appconnectors/apiv1/snippet_metadata.google.cloud.beyondcorp.appconnectors.v1.json index a7efd11c00b5..b8676e9a7487 100644 --- a/internal/generated/snippets/beyondcorp/appconnectors/apiv1/snippet_metadata.google.cloud.beyondcorp.appconnectors.v1.json +++ b/internal/generated/snippets/beyondcorp/appconnectors/apiv1/snippet_metadata.google.cloud.beyondcorp.appconnectors.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/beyondcorp/appconnectors/apiv1", - "version": "1.0.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/beyondcorp/appgateways/apiv1/snippet_metadata.google.cloud.beyondcorp.appgateways.v1.json b/internal/generated/snippets/beyondcorp/appgateways/apiv1/snippet_metadata.google.cloud.beyondcorp.appgateways.v1.json index a08674be8f81..19ccfdfb2187 100644 --- a/internal/generated/snippets/beyondcorp/appgateways/apiv1/snippet_metadata.google.cloud.beyondcorp.appgateways.v1.json +++ b/internal/generated/snippets/beyondcorp/appgateways/apiv1/snippet_metadata.google.cloud.beyondcorp.appgateways.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/beyondcorp/appgateways/apiv1", - "version": "1.0.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/beyondcorp/clientconnectorservices/apiv1/snippet_metadata.google.cloud.beyondcorp.clientconnectorservices.v1.json b/internal/generated/snippets/beyondcorp/clientconnectorservices/apiv1/snippet_metadata.google.cloud.beyondcorp.clientconnectorservices.v1.json index efd9c35477a6..542f82cd51e0 100644 --- a/internal/generated/snippets/beyondcorp/clientconnectorservices/apiv1/snippet_metadata.google.cloud.beyondcorp.clientconnectorservices.v1.json +++ b/internal/generated/snippets/beyondcorp/clientconnectorservices/apiv1/snippet_metadata.google.cloud.beyondcorp.clientconnectorservices.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/beyondcorp/clientconnectorservices/apiv1", - "version": "1.0.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/beyondcorp/clientgateways/apiv1/snippet_metadata.google.cloud.beyondcorp.clientgateways.v1.json b/internal/generated/snippets/beyondcorp/clientgateways/apiv1/snippet_metadata.google.cloud.beyondcorp.clientgateways.v1.json index 274a537b9a0b..c75a0e07609c 100644 --- a/internal/generated/snippets/beyondcorp/clientgateways/apiv1/snippet_metadata.google.cloud.beyondcorp.clientgateways.v1.json +++ b/internal/generated/snippets/beyondcorp/clientgateways/apiv1/snippet_metadata.google.cloud.beyondcorp.clientgateways.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/beyondcorp/clientgateways/apiv1", - "version": "1.0.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/bigquery/analyticshub/apiv1/snippet_metadata.google.cloud.bigquery.analyticshub.v1.json b/internal/generated/snippets/bigquery/analyticshub/apiv1/snippet_metadata.google.cloud.bigquery.analyticshub.v1.json index fe5d0d3f347f..2c2f3e2568ed 100644 --- a/internal/generated/snippets/bigquery/analyticshub/apiv1/snippet_metadata.google.cloud.bigquery.analyticshub.v1.json +++ b/internal/generated/snippets/bigquery/analyticshub/apiv1/snippet_metadata.google.cloud.bigquery.analyticshub.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/bigquery/analyticshub/apiv1", - "version": "1.63.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/bigquery/biglake/apiv1/snippet_metadata.google.cloud.bigquery.biglake.v1.json b/internal/generated/snippets/bigquery/biglake/apiv1/snippet_metadata.google.cloud.bigquery.biglake.v1.json index 9c2a531e1d9a..a66b3fb12e9e 100644 --- a/internal/generated/snippets/bigquery/biglake/apiv1/snippet_metadata.google.cloud.bigquery.biglake.v1.json +++ b/internal/generated/snippets/bigquery/biglake/apiv1/snippet_metadata.google.cloud.bigquery.biglake.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/bigquery/biglake/apiv1", - "version": "1.63.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/bigquery/biglake/apiv1alpha1/snippet_metadata.google.cloud.bigquery.biglake.v1alpha1.json b/internal/generated/snippets/bigquery/biglake/apiv1alpha1/snippet_metadata.google.cloud.bigquery.biglake.v1alpha1.json index 1d955a83b850..b9bf15e957f2 100644 --- a/internal/generated/snippets/bigquery/biglake/apiv1alpha1/snippet_metadata.google.cloud.bigquery.biglake.v1alpha1.json +++ b/internal/generated/snippets/bigquery/biglake/apiv1alpha1/snippet_metadata.google.cloud.bigquery.biglake.v1alpha1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/bigquery/biglake/apiv1alpha1", - "version": "1.63.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/bigquery/connection/apiv1/snippet_metadata.google.cloud.bigquery.connection.v1.json b/internal/generated/snippets/bigquery/connection/apiv1/snippet_metadata.google.cloud.bigquery.connection.v1.json index 9a60d65c02f7..266c1a48883e 100644 --- a/internal/generated/snippets/bigquery/connection/apiv1/snippet_metadata.google.cloud.bigquery.connection.v1.json +++ b/internal/generated/snippets/bigquery/connection/apiv1/snippet_metadata.google.cloud.bigquery.connection.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/bigquery/connection/apiv1", - "version": "1.63.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/bigquery/connection/apiv1beta1/snippet_metadata.google.cloud.bigquery.connection.v1beta1.json b/internal/generated/snippets/bigquery/connection/apiv1beta1/snippet_metadata.google.cloud.bigquery.connection.v1beta1.json index d7b3329c7b3d..efaa3a351ba4 100644 --- a/internal/generated/snippets/bigquery/connection/apiv1beta1/snippet_metadata.google.cloud.bigquery.connection.v1beta1.json +++ b/internal/generated/snippets/bigquery/connection/apiv1beta1/snippet_metadata.google.cloud.bigquery.connection.v1beta1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/bigquery/connection/apiv1beta1", - "version": "1.63.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/bigquery/dataexchange/apiv1beta1/snippet_metadata.google.cloud.bigquery.dataexchange.v1beta1.json b/internal/generated/snippets/bigquery/dataexchange/apiv1beta1/snippet_metadata.google.cloud.bigquery.dataexchange.v1beta1.json index ac4250e4f94d..c5bb087497cc 100644 --- a/internal/generated/snippets/bigquery/dataexchange/apiv1beta1/snippet_metadata.google.cloud.bigquery.dataexchange.v1beta1.json +++ b/internal/generated/snippets/bigquery/dataexchange/apiv1beta1/snippet_metadata.google.cloud.bigquery.dataexchange.v1beta1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/bigquery/dataexchange/apiv1beta1", - "version": "1.63.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/bigquery/datapolicies/apiv1/snippet_metadata.google.cloud.bigquery.datapolicies.v1.json b/internal/generated/snippets/bigquery/datapolicies/apiv1/snippet_metadata.google.cloud.bigquery.datapolicies.v1.json index d79faf3c43e6..4324d248fec9 100644 --- a/internal/generated/snippets/bigquery/datapolicies/apiv1/snippet_metadata.google.cloud.bigquery.datapolicies.v1.json +++ b/internal/generated/snippets/bigquery/datapolicies/apiv1/snippet_metadata.google.cloud.bigquery.datapolicies.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/bigquery/datapolicies/apiv1", - "version": "1.63.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/bigquery/datapolicies/apiv1beta1/snippet_metadata.google.cloud.bigquery.datapolicies.v1beta1.json b/internal/generated/snippets/bigquery/datapolicies/apiv1beta1/snippet_metadata.google.cloud.bigquery.datapolicies.v1beta1.json index 3313087a39bd..1b2af399237d 100644 --- a/internal/generated/snippets/bigquery/datapolicies/apiv1beta1/snippet_metadata.google.cloud.bigquery.datapolicies.v1beta1.json +++ b/internal/generated/snippets/bigquery/datapolicies/apiv1beta1/snippet_metadata.google.cloud.bigquery.datapolicies.v1beta1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/bigquery/datapolicies/apiv1beta1", - "version": "1.63.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/bigquery/datatransfer/apiv1/snippet_metadata.google.cloud.bigquery.datatransfer.v1.json b/internal/generated/snippets/bigquery/datatransfer/apiv1/snippet_metadata.google.cloud.bigquery.datatransfer.v1.json index a205923c3ef1..ec907652ab29 100644 --- a/internal/generated/snippets/bigquery/datatransfer/apiv1/snippet_metadata.google.cloud.bigquery.datatransfer.v1.json +++ b/internal/generated/snippets/bigquery/datatransfer/apiv1/snippet_metadata.google.cloud.bigquery.datatransfer.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/bigquery/datatransfer/apiv1", - "version": "1.63.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/bigquery/migration/apiv2/snippet_metadata.google.cloud.bigquery.migration.v2.json b/internal/generated/snippets/bigquery/migration/apiv2/snippet_metadata.google.cloud.bigquery.migration.v2.json index 99184c859145..01de4efd1d99 100644 --- a/internal/generated/snippets/bigquery/migration/apiv2/snippet_metadata.google.cloud.bigquery.migration.v2.json +++ b/internal/generated/snippets/bigquery/migration/apiv2/snippet_metadata.google.cloud.bigquery.migration.v2.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/bigquery/migration/apiv2", - "version": "1.63.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/bigquery/migration/apiv2alpha/snippet_metadata.google.cloud.bigquery.migration.v2alpha.json b/internal/generated/snippets/bigquery/migration/apiv2alpha/snippet_metadata.google.cloud.bigquery.migration.v2alpha.json index 95c5a661f9f9..3677e790d40e 100644 --- a/internal/generated/snippets/bigquery/migration/apiv2alpha/snippet_metadata.google.cloud.bigquery.migration.v2alpha.json +++ b/internal/generated/snippets/bigquery/migration/apiv2alpha/snippet_metadata.google.cloud.bigquery.migration.v2alpha.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/bigquery/migration/apiv2alpha", - "version": "1.63.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/bigquery/reservation/apiv1/snippet_metadata.google.cloud.bigquery.reservation.v1.json b/internal/generated/snippets/bigquery/reservation/apiv1/snippet_metadata.google.cloud.bigquery.reservation.v1.json index c34431c96728..4ba3e2d68441 100644 --- a/internal/generated/snippets/bigquery/reservation/apiv1/snippet_metadata.google.cloud.bigquery.reservation.v1.json +++ b/internal/generated/snippets/bigquery/reservation/apiv1/snippet_metadata.google.cloud.bigquery.reservation.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/bigquery/reservation/apiv1", - "version": "1.63.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/bigquery/storage/apiv1/snippet_metadata.google.cloud.bigquery.storage.v1.json b/internal/generated/snippets/bigquery/storage/apiv1/snippet_metadata.google.cloud.bigquery.storage.v1.json index 1366b5e78807..c3114096a8b5 100644 --- a/internal/generated/snippets/bigquery/storage/apiv1/snippet_metadata.google.cloud.bigquery.storage.v1.json +++ b/internal/generated/snippets/bigquery/storage/apiv1/snippet_metadata.google.cloud.bigquery.storage.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/bigquery/storage/apiv1", - "version": "1.63.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/bigquery/storage/apiv1alpha/snippet_metadata.google.cloud.bigquery.storage.v1alpha.json b/internal/generated/snippets/bigquery/storage/apiv1alpha/snippet_metadata.google.cloud.bigquery.storage.v1alpha.json index eb23dee1129e..f704ba46faaa 100644 --- a/internal/generated/snippets/bigquery/storage/apiv1alpha/snippet_metadata.google.cloud.bigquery.storage.v1alpha.json +++ b/internal/generated/snippets/bigquery/storage/apiv1alpha/snippet_metadata.google.cloud.bigquery.storage.v1alpha.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/bigquery/storage/apiv1alpha", - "version": "1.63.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/bigquery/storage/apiv1beta1/snippet_metadata.google.cloud.bigquery.storage.v1beta1.json b/internal/generated/snippets/bigquery/storage/apiv1beta1/snippet_metadata.google.cloud.bigquery.storage.v1beta1.json index 5de30485831a..66ba412c6d00 100644 --- a/internal/generated/snippets/bigquery/storage/apiv1beta1/snippet_metadata.google.cloud.bigquery.storage.v1beta1.json +++ b/internal/generated/snippets/bigquery/storage/apiv1beta1/snippet_metadata.google.cloud.bigquery.storage.v1beta1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/bigquery/storage/apiv1beta1", - "version": "1.63.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/bigquery/storage/apiv1beta2/snippet_metadata.google.cloud.bigquery.storage.v1beta2.json b/internal/generated/snippets/bigquery/storage/apiv1beta2/snippet_metadata.google.cloud.bigquery.storage.v1beta2.json index 3b353a293d44..62325704658a 100644 --- a/internal/generated/snippets/bigquery/storage/apiv1beta2/snippet_metadata.google.cloud.bigquery.storage.v1beta2.json +++ b/internal/generated/snippets/bigquery/storage/apiv1beta2/snippet_metadata.google.cloud.bigquery.storage.v1beta2.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/bigquery/storage/apiv1beta2", - "version": "1.63.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/billing/apiv1/snippet_metadata.google.cloud.billing.v1.json b/internal/generated/snippets/billing/apiv1/snippet_metadata.google.cloud.billing.v1.json index 18c3d152371e..6692c4f0ffb2 100644 --- a/internal/generated/snippets/billing/apiv1/snippet_metadata.google.cloud.billing.v1.json +++ b/internal/generated/snippets/billing/apiv1/snippet_metadata.google.cloud.billing.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/billing/apiv1", - "version": "1.18.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/billing/budgets/apiv1/snippet_metadata.google.cloud.billing.budgets.v1.json b/internal/generated/snippets/billing/budgets/apiv1/snippet_metadata.google.cloud.billing.budgets.v1.json index b83a52b4005d..2fd3f9cde316 100644 --- a/internal/generated/snippets/billing/budgets/apiv1/snippet_metadata.google.cloud.billing.budgets.v1.json +++ b/internal/generated/snippets/billing/budgets/apiv1/snippet_metadata.google.cloud.billing.budgets.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/billing/budgets/apiv1", - "version": "1.18.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/billing/budgets/apiv1beta1/snippet_metadata.google.cloud.billing.budgets.v1beta1.json b/internal/generated/snippets/billing/budgets/apiv1beta1/snippet_metadata.google.cloud.billing.budgets.v1beta1.json index 45b7030c45e9..0222c8f863b6 100644 --- a/internal/generated/snippets/billing/budgets/apiv1beta1/snippet_metadata.google.cloud.billing.budgets.v1beta1.json +++ b/internal/generated/snippets/billing/budgets/apiv1beta1/snippet_metadata.google.cloud.billing.budgets.v1beta1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/billing/budgets/apiv1beta1", - "version": "1.18.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/binaryauthorization/apiv1/snippet_metadata.google.cloud.binaryauthorization.v1.json b/internal/generated/snippets/binaryauthorization/apiv1/snippet_metadata.google.cloud.binaryauthorization.v1.json index c99f6c222afe..293feb345ea8 100644 --- a/internal/generated/snippets/binaryauthorization/apiv1/snippet_metadata.google.cloud.binaryauthorization.v1.json +++ b/internal/generated/snippets/binaryauthorization/apiv1/snippet_metadata.google.cloud.binaryauthorization.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/binaryauthorization/apiv1", - "version": "1.9.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/binaryauthorization/apiv1beta1/snippet_metadata.google.cloud.binaryauthorization.v1beta1.json b/internal/generated/snippets/binaryauthorization/apiv1beta1/snippet_metadata.google.cloud.binaryauthorization.v1beta1.json index 8c59207c363e..2dcd55b28ead 100644 --- a/internal/generated/snippets/binaryauthorization/apiv1beta1/snippet_metadata.google.cloud.binaryauthorization.v1beta1.json +++ b/internal/generated/snippets/binaryauthorization/apiv1beta1/snippet_metadata.google.cloud.binaryauthorization.v1beta1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/binaryauthorization/apiv1beta1", - "version": "1.9.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/certificatemanager/apiv1/snippet_metadata.google.cloud.certificatemanager.v1.json b/internal/generated/snippets/certificatemanager/apiv1/snippet_metadata.google.cloud.certificatemanager.v1.json index 183eff34a4be..81eb00428727 100644 --- a/internal/generated/snippets/certificatemanager/apiv1/snippet_metadata.google.cloud.certificatemanager.v1.json +++ b/internal/generated/snippets/certificatemanager/apiv1/snippet_metadata.google.cloud.certificatemanager.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/certificatemanager/apiv1", - "version": "1.9.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/channel/apiv1/snippet_metadata.google.cloud.channel.v1.json b/internal/generated/snippets/channel/apiv1/snippet_metadata.google.cloud.channel.v1.json index 9df96d494980..1edbe40226a1 100644 --- a/internal/generated/snippets/channel/apiv1/snippet_metadata.google.cloud.channel.v1.json +++ b/internal/generated/snippets/channel/apiv1/snippet_metadata.google.cloud.channel.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/channel/apiv1", - "version": "1.17.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/chat/apiv1/snippet_metadata.google.chat.v1.json b/internal/generated/snippets/chat/apiv1/snippet_metadata.google.chat.v1.json index 4bef2bbbf799..94ecbfecadfd 100644 --- a/internal/generated/snippets/chat/apiv1/snippet_metadata.google.chat.v1.json +++ b/internal/generated/snippets/chat/apiv1/snippet_metadata.google.chat.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/chat/apiv1", - "version": "0.7.0", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/cloudbuild/apiv1/v2/snippet_metadata.google.devtools.cloudbuild.v1.json b/internal/generated/snippets/cloudbuild/apiv1/v2/snippet_metadata.google.devtools.cloudbuild.v1.json index 49d197548868..a285b95216bd 100644 --- a/internal/generated/snippets/cloudbuild/apiv1/v2/snippet_metadata.google.devtools.cloudbuild.v1.json +++ b/internal/generated/snippets/cloudbuild/apiv1/v2/snippet_metadata.google.devtools.cloudbuild.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/cloudbuild/apiv1/v2", - "version": "1.18.0", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/cloudbuild/apiv2/snippet_metadata.google.devtools.cloudbuild.v2.json b/internal/generated/snippets/cloudbuild/apiv2/snippet_metadata.google.devtools.cloudbuild.v2.json index 822aeb53188d..ca02caf1ef8f 100644 --- a/internal/generated/snippets/cloudbuild/apiv2/snippet_metadata.google.devtools.cloudbuild.v2.json +++ b/internal/generated/snippets/cloudbuild/apiv2/snippet_metadata.google.devtools.cloudbuild.v2.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/cloudbuild/apiv2", - "version": "1.18.0", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/cloudcontrolspartner/apiv1/snippet_metadata.google.cloud.cloudcontrolspartner.v1.json b/internal/generated/snippets/cloudcontrolspartner/apiv1/snippet_metadata.google.cloud.cloudcontrolspartner.v1.json index a1016b4eaa89..f231eda9ae12 100644 --- a/internal/generated/snippets/cloudcontrolspartner/apiv1/snippet_metadata.google.cloud.cloudcontrolspartner.v1.json +++ b/internal/generated/snippets/cloudcontrolspartner/apiv1/snippet_metadata.google.cloud.cloudcontrolspartner.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/cloudcontrolspartner/apiv1", - "version": "1.2.0", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/cloudcontrolspartner/apiv1beta/snippet_metadata.google.cloud.cloudcontrolspartner.v1beta.json b/internal/generated/snippets/cloudcontrolspartner/apiv1beta/snippet_metadata.google.cloud.cloudcontrolspartner.v1beta.json index b8b88f1e434d..6e188dda837e 100644 --- a/internal/generated/snippets/cloudcontrolspartner/apiv1beta/snippet_metadata.google.cloud.cloudcontrolspartner.v1beta.json +++ b/internal/generated/snippets/cloudcontrolspartner/apiv1beta/snippet_metadata.google.cloud.cloudcontrolspartner.v1beta.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/cloudcontrolspartner/apiv1beta", - "version": "1.2.0", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/clouddms/apiv1/snippet_metadata.google.cloud.clouddms.v1.json b/internal/generated/snippets/clouddms/apiv1/snippet_metadata.google.cloud.clouddms.v1.json index ff4ff8d48e87..e18e92c4e910 100644 --- a/internal/generated/snippets/clouddms/apiv1/snippet_metadata.google.cloud.clouddms.v1.json +++ b/internal/generated/snippets/clouddms/apiv1/snippet_metadata.google.cloud.clouddms.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/clouddms/apiv1", - "version": "1.7.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/cloudprofiler/apiv2/snippet_metadata.google.devtools.cloudprofiler.v2.json b/internal/generated/snippets/cloudprofiler/apiv2/snippet_metadata.google.devtools.cloudprofiler.v2.json index 887da9006f62..85533f4e1ba1 100644 --- a/internal/generated/snippets/cloudprofiler/apiv2/snippet_metadata.google.devtools.cloudprofiler.v2.json +++ b/internal/generated/snippets/cloudprofiler/apiv2/snippet_metadata.google.devtools.cloudprofiler.v2.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/cloudprofiler/apiv2", - "version": "0.4.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/cloudquotas/apiv1/snippet_metadata.google.api.cloudquotas.v1.json b/internal/generated/snippets/cloudquotas/apiv1/snippet_metadata.google.api.cloudquotas.v1.json index 367273bb174a..af7649b150ed 100644 --- a/internal/generated/snippets/cloudquotas/apiv1/snippet_metadata.google.api.cloudquotas.v1.json +++ b/internal/generated/snippets/cloudquotas/apiv1/snippet_metadata.google.api.cloudquotas.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/cloudquotas/apiv1", - "version": "1.1.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/cloudtasks/apiv2/snippet_metadata.google.cloud.tasks.v2.json b/internal/generated/snippets/cloudtasks/apiv2/snippet_metadata.google.cloud.tasks.v2.json index 85eaa58b1cf6..4e2954eccdfb 100644 --- a/internal/generated/snippets/cloudtasks/apiv2/snippet_metadata.google.cloud.tasks.v2.json +++ b/internal/generated/snippets/cloudtasks/apiv2/snippet_metadata.google.cloud.tasks.v2.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/cloudtasks/apiv2", - "version": "1.12.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/cloudtasks/apiv2beta2/snippet_metadata.google.cloud.tasks.v2beta2.json b/internal/generated/snippets/cloudtasks/apiv2beta2/snippet_metadata.google.cloud.tasks.v2beta2.json index bfe493284b8e..1da61bd68bff 100644 --- a/internal/generated/snippets/cloudtasks/apiv2beta2/snippet_metadata.google.cloud.tasks.v2beta2.json +++ b/internal/generated/snippets/cloudtasks/apiv2beta2/snippet_metadata.google.cloud.tasks.v2beta2.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/cloudtasks/apiv2beta2", - "version": "1.12.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/cloudtasks/apiv2beta3/snippet_metadata.google.cloud.tasks.v2beta3.json b/internal/generated/snippets/cloudtasks/apiv2beta3/snippet_metadata.google.cloud.tasks.v2beta3.json index b8fc07a49f21..914e636ef3a8 100644 --- a/internal/generated/snippets/cloudtasks/apiv2beta3/snippet_metadata.google.cloud.tasks.v2beta3.json +++ b/internal/generated/snippets/cloudtasks/apiv2beta3/snippet_metadata.google.cloud.tasks.v2beta3.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/cloudtasks/apiv2beta3", - "version": "1.12.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/commerce/consumer/procurement/apiv1/snippet_metadata.google.cloud.commerce.consumer.procurement.v1.json b/internal/generated/snippets/commerce/consumer/procurement/apiv1/snippet_metadata.google.cloud.commerce.consumer.procurement.v1.json index 38c40ba7f952..bf6d51bc9aea 100644 --- a/internal/generated/snippets/commerce/consumer/procurement/apiv1/snippet_metadata.google.cloud.commerce.consumer.procurement.v1.json +++ b/internal/generated/snippets/commerce/consumer/procurement/apiv1/snippet_metadata.google.cloud.commerce.consumer.procurement.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/commerce/consumer/procurement/apiv1", - "version": "1.2.0", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/compute/apiv1/snippet_metadata.google.cloud.compute.v1.json b/internal/generated/snippets/compute/apiv1/snippet_metadata.google.cloud.compute.v1.json index ec1b60474711..05f066835ea2 100644 --- a/internal/generated/snippets/compute/apiv1/snippet_metadata.google.cloud.compute.v1.json +++ b/internal/generated/snippets/compute/apiv1/snippet_metadata.google.cloud.compute.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/compute/apiv1", - "version": "1.28.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/confidentialcomputing/apiv1/snippet_metadata.google.cloud.confidentialcomputing.v1.json b/internal/generated/snippets/confidentialcomputing/apiv1/snippet_metadata.google.cloud.confidentialcomputing.v1.json index e99f21ad0589..d9bee51be66f 100644 --- a/internal/generated/snippets/confidentialcomputing/apiv1/snippet_metadata.google.cloud.confidentialcomputing.v1.json +++ b/internal/generated/snippets/confidentialcomputing/apiv1/snippet_metadata.google.cloud.confidentialcomputing.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/confidentialcomputing/apiv1", - "version": "1.7.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/confidentialcomputing/apiv1alpha1/snippet_metadata.google.cloud.confidentialcomputing.v1alpha1.json b/internal/generated/snippets/confidentialcomputing/apiv1alpha1/snippet_metadata.google.cloud.confidentialcomputing.v1alpha1.json index b9ee278bc213..7057cf73a853 100644 --- a/internal/generated/snippets/confidentialcomputing/apiv1alpha1/snippet_metadata.google.cloud.confidentialcomputing.v1alpha1.json +++ b/internal/generated/snippets/confidentialcomputing/apiv1alpha1/snippet_metadata.google.cloud.confidentialcomputing.v1alpha1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/confidentialcomputing/apiv1alpha1", - "version": "1.7.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/config/apiv1/snippet_metadata.google.cloud.config.v1.json b/internal/generated/snippets/config/apiv1/snippet_metadata.google.cloud.config.v1.json index b9fa8c8f930c..a9bfe6b1a7f4 100644 --- a/internal/generated/snippets/config/apiv1/snippet_metadata.google.cloud.config.v1.json +++ b/internal/generated/snippets/config/apiv1/snippet_metadata.google.cloud.config.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/config/apiv1", - "version": "1.1.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/contactcenterinsights/apiv1/snippet_metadata.google.cloud.contactcenterinsights.v1.json b/internal/generated/snippets/contactcenterinsights/apiv1/snippet_metadata.google.cloud.contactcenterinsights.v1.json index 585f1548363f..223dbffbfaa6 100644 --- a/internal/generated/snippets/contactcenterinsights/apiv1/snippet_metadata.google.cloud.contactcenterinsights.v1.json +++ b/internal/generated/snippets/contactcenterinsights/apiv1/snippet_metadata.google.cloud.contactcenterinsights.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/contactcenterinsights/apiv1", - "version": "1.15.0", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/container/apiv1/snippet_metadata.google.container.v1.json b/internal/generated/snippets/container/apiv1/snippet_metadata.google.container.v1.json index 44cf95678c7c..ad853ebaf062 100644 --- a/internal/generated/snippets/container/apiv1/snippet_metadata.google.container.v1.json +++ b/internal/generated/snippets/container/apiv1/snippet_metadata.google.container.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/container/apiv1", - "version": "1.40.0", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/containeranalysis/apiv1beta1/snippet_metadata.google.devtools.containeranalysis.v1beta1.json b/internal/generated/snippets/containeranalysis/apiv1beta1/snippet_metadata.google.devtools.containeranalysis.v1beta1.json index b2285d9a8745..792311baf87d 100644 --- a/internal/generated/snippets/containeranalysis/apiv1beta1/snippet_metadata.google.devtools.containeranalysis.v1beta1.json +++ b/internal/generated/snippets/containeranalysis/apiv1beta1/snippet_metadata.google.devtools.containeranalysis.v1beta1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/containeranalysis/apiv1beta1", - "version": "0.13.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/datacatalog/apiv1/snippet_metadata.google.cloud.datacatalog.v1.json b/internal/generated/snippets/datacatalog/apiv1/snippet_metadata.google.cloud.datacatalog.v1.json index 013513b894d7..dc8617f447ed 100644 --- a/internal/generated/snippets/datacatalog/apiv1/snippet_metadata.google.cloud.datacatalog.v1.json +++ b/internal/generated/snippets/datacatalog/apiv1/snippet_metadata.google.cloud.datacatalog.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/datacatalog/apiv1", - "version": "1.22.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/datacatalog/apiv1beta1/snippet_metadata.google.cloud.datacatalog.v1beta1.json b/internal/generated/snippets/datacatalog/apiv1beta1/snippet_metadata.google.cloud.datacatalog.v1beta1.json index e021a0876d6a..450647deeb9c 100644 --- a/internal/generated/snippets/datacatalog/apiv1beta1/snippet_metadata.google.cloud.datacatalog.v1beta1.json +++ b/internal/generated/snippets/datacatalog/apiv1beta1/snippet_metadata.google.cloud.datacatalog.v1beta1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/datacatalog/apiv1beta1", - "version": "1.22.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/datacatalog/lineage/apiv1/snippet_metadata.google.cloud.datacatalog.lineage.v1.json b/internal/generated/snippets/datacatalog/lineage/apiv1/snippet_metadata.google.cloud.datacatalog.lineage.v1.json index c9142889984d..04c57abbd352 100644 --- a/internal/generated/snippets/datacatalog/lineage/apiv1/snippet_metadata.google.cloud.datacatalog.lineage.v1.json +++ b/internal/generated/snippets/datacatalog/lineage/apiv1/snippet_metadata.google.cloud.datacatalog.lineage.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/datacatalog/lineage/apiv1", - "version": "1.22.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/dataflow/apiv1beta3/snippet_metadata.google.dataflow.v1beta3.json b/internal/generated/snippets/dataflow/apiv1beta3/snippet_metadata.google.dataflow.v1beta3.json index c2194b0f37e7..db246fe229cf 100644 --- a/internal/generated/snippets/dataflow/apiv1beta3/snippet_metadata.google.dataflow.v1beta3.json +++ b/internal/generated/snippets/dataflow/apiv1beta3/snippet_metadata.google.dataflow.v1beta3.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/dataflow/apiv1beta3", - "version": "0.9.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/dataform/apiv1alpha2/snippet_metadata.google.cloud.dataform.v1alpha2.json b/internal/generated/snippets/dataform/apiv1alpha2/snippet_metadata.google.cloud.dataform.v1alpha2.json index 617df219a1b1..5f34d6432105 100644 --- a/internal/generated/snippets/dataform/apiv1alpha2/snippet_metadata.google.cloud.dataform.v1alpha2.json +++ b/internal/generated/snippets/dataform/apiv1alpha2/snippet_metadata.google.cloud.dataform.v1alpha2.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/dataform/apiv1alpha2", - "version": "0.10.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/dataform/apiv1beta1/snippet_metadata.google.cloud.dataform.v1beta1.json b/internal/generated/snippets/dataform/apiv1beta1/snippet_metadata.google.cloud.dataform.v1beta1.json index b0fd23e4dbf8..4622e3caa4a3 100644 --- a/internal/generated/snippets/dataform/apiv1beta1/snippet_metadata.google.cloud.dataform.v1beta1.json +++ b/internal/generated/snippets/dataform/apiv1beta1/snippet_metadata.google.cloud.dataform.v1beta1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/dataform/apiv1beta1", - "version": "0.10.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/datafusion/apiv1/snippet_metadata.google.cloud.datafusion.v1.json b/internal/generated/snippets/datafusion/apiv1/snippet_metadata.google.cloud.datafusion.v1.json index 1cc260620073..9a607701e104 100644 --- a/internal/generated/snippets/datafusion/apiv1/snippet_metadata.google.cloud.datafusion.v1.json +++ b/internal/generated/snippets/datafusion/apiv1/snippet_metadata.google.cloud.datafusion.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/datafusion/apiv1", - "version": "1.7.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/datalabeling/apiv1beta1/snippet_metadata.google.cloud.datalabeling.v1beta1.json b/internal/generated/snippets/datalabeling/apiv1beta1/snippet_metadata.google.cloud.datalabeling.v1beta1.json index 4225223a8960..c51c18e95b34 100644 --- a/internal/generated/snippets/datalabeling/apiv1beta1/snippet_metadata.google.cloud.datalabeling.v1beta1.json +++ b/internal/generated/snippets/datalabeling/apiv1beta1/snippet_metadata.google.cloud.datalabeling.v1beta1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/datalabeling/apiv1beta1", - "version": "0.8.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/dataplex/apiv1/snippet_metadata.google.cloud.dataplex.v1.json b/internal/generated/snippets/dataplex/apiv1/snippet_metadata.google.cloud.dataplex.v1.json index 4e6694972445..6f5f4369e0a6 100644 --- a/internal/generated/snippets/dataplex/apiv1/snippet_metadata.google.cloud.dataplex.v1.json +++ b/internal/generated/snippets/dataplex/apiv1/snippet_metadata.google.cloud.dataplex.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/dataplex/apiv1", - "version": "1.19.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/dataproc/apiv1/snippet_metadata.google.cloud.dataproc.v1.json b/internal/generated/snippets/dataproc/apiv1/snippet_metadata.google.cloud.dataproc.v1.json index ca1e121ea83d..84fe7db77ca1 100644 --- a/internal/generated/snippets/dataproc/apiv1/snippet_metadata.google.cloud.dataproc.v1.json +++ b/internal/generated/snippets/dataproc/apiv1/snippet_metadata.google.cloud.dataproc.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/dataproc/v2/apiv1", - "version": "2.9.0", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/dataqna/apiv1alpha/snippet_metadata.google.cloud.dataqna.v1alpha.json b/internal/generated/snippets/dataqna/apiv1alpha/snippet_metadata.google.cloud.dataqna.v1alpha.json index e2e42aab8c2f..b9287e0bfb3e 100644 --- a/internal/generated/snippets/dataqna/apiv1alpha/snippet_metadata.google.cloud.dataqna.v1alpha.json +++ b/internal/generated/snippets/dataqna/apiv1alpha/snippet_metadata.google.cloud.dataqna.v1alpha.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/dataqna/apiv1alpha", - "version": "0.8.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/datastore/admin/apiv1/snippet_metadata.google.datastore.admin.v1.json b/internal/generated/snippets/datastore/admin/apiv1/snippet_metadata.google.datastore.admin.v1.json index 345d857c2e35..326dfe117d7d 100644 --- a/internal/generated/snippets/datastore/admin/apiv1/snippet_metadata.google.datastore.admin.v1.json +++ b/internal/generated/snippets/datastore/admin/apiv1/snippet_metadata.google.datastore.admin.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/datastore/admin/apiv1", - "version": "1.19.0", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/datastream/apiv1/snippet_metadata.google.cloud.datastream.v1.json b/internal/generated/snippets/datastream/apiv1/snippet_metadata.google.cloud.datastream.v1.json index 5ce5879fc53a..0a2e20e1e3b7 100644 --- a/internal/generated/snippets/datastream/apiv1/snippet_metadata.google.cloud.datastream.v1.json +++ b/internal/generated/snippets/datastream/apiv1/snippet_metadata.google.cloud.datastream.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/datastream/apiv1", - "version": "1.10.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/datastream/apiv1alpha1/snippet_metadata.google.cloud.datastream.v1alpha1.json b/internal/generated/snippets/datastream/apiv1alpha1/snippet_metadata.google.cloud.datastream.v1alpha1.json index 18df6c79b177..4461956bed66 100644 --- a/internal/generated/snippets/datastream/apiv1alpha1/snippet_metadata.google.cloud.datastream.v1alpha1.json +++ b/internal/generated/snippets/datastream/apiv1alpha1/snippet_metadata.google.cloud.datastream.v1alpha1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/datastream/apiv1alpha1", - "version": "1.10.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/deploy/apiv1/snippet_metadata.google.cloud.deploy.v1.json b/internal/generated/snippets/deploy/apiv1/snippet_metadata.google.cloud.deploy.v1.json index f3b9faa206ec..38523bb380fa 100644 --- a/internal/generated/snippets/deploy/apiv1/snippet_metadata.google.cloud.deploy.v1.json +++ b/internal/generated/snippets/deploy/apiv1/snippet_metadata.google.cloud.deploy.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/deploy/apiv1", - "version": "1.23.0", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/developerconnect/apiv1/snippet_metadata.google.cloud.developerconnect.v1.json b/internal/generated/snippets/developerconnect/apiv1/snippet_metadata.google.cloud.developerconnect.v1.json index f5178033a0cd..c441c1d5b5e5 100644 --- a/internal/generated/snippets/developerconnect/apiv1/snippet_metadata.google.cloud.developerconnect.v1.json +++ b/internal/generated/snippets/developerconnect/apiv1/snippet_metadata.google.cloud.developerconnect.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/developerconnect/apiv1", - "version": "0.2.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/dialogflow/apiv2/snippet_metadata.google.cloud.dialogflow.v2.json b/internal/generated/snippets/dialogflow/apiv2/snippet_metadata.google.cloud.dialogflow.v2.json index 23580e8e1e73..191885d9b6a1 100644 --- a/internal/generated/snippets/dialogflow/apiv2/snippet_metadata.google.cloud.dialogflow.v2.json +++ b/internal/generated/snippets/dialogflow/apiv2/snippet_metadata.google.cloud.dialogflow.v2.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/dialogflow/apiv2", - "version": "1.58.0", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/dialogflow/apiv2beta1/snippet_metadata.google.cloud.dialogflow.v2beta1.json b/internal/generated/snippets/dialogflow/apiv2beta1/snippet_metadata.google.cloud.dialogflow.v2beta1.json index 4be786c7b89c..12164e05b375 100644 --- a/internal/generated/snippets/dialogflow/apiv2beta1/snippet_metadata.google.cloud.dialogflow.v2beta1.json +++ b/internal/generated/snippets/dialogflow/apiv2beta1/snippet_metadata.google.cloud.dialogflow.v2beta1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/dialogflow/apiv2beta1", - "version": "1.58.0", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/dialogflow/cx/apiv3/snippet_metadata.google.cloud.dialogflow.cx.v3.json b/internal/generated/snippets/dialogflow/cx/apiv3/snippet_metadata.google.cloud.dialogflow.cx.v3.json index bd47e2e92f68..47cb807b6080 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3/snippet_metadata.google.cloud.dialogflow.cx.v3.json +++ b/internal/generated/snippets/dialogflow/cx/apiv3/snippet_metadata.google.cloud.dialogflow.cx.v3.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/dialogflow/cx/apiv3", - "version": "1.58.0", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/dialogflow/cx/apiv3beta1/snippet_metadata.google.cloud.dialogflow.cx.v3beta1.json b/internal/generated/snippets/dialogflow/cx/apiv3beta1/snippet_metadata.google.cloud.dialogflow.cx.v3beta1.json index 5d6db19f9a8f..3573f04a72ec 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3beta1/snippet_metadata.google.cloud.dialogflow.cx.v3beta1.json +++ b/internal/generated/snippets/dialogflow/cx/apiv3beta1/snippet_metadata.google.cloud.dialogflow.cx.v3beta1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/dialogflow/cx/apiv3beta1", - "version": "1.58.0", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/discoveryengine/apiv1/snippet_metadata.google.cloud.discoveryengine.v1.json b/internal/generated/snippets/discoveryengine/apiv1/snippet_metadata.google.cloud.discoveryengine.v1.json index c979f97844c5..fc0a262d51fb 100644 --- a/internal/generated/snippets/discoveryengine/apiv1/snippet_metadata.google.cloud.discoveryengine.v1.json +++ b/internal/generated/snippets/discoveryengine/apiv1/snippet_metadata.google.cloud.discoveryengine.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/discoveryengine/apiv1", - "version": "1.14.0", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/discoveryengine/apiv1alpha/snippet_metadata.google.cloud.discoveryengine.v1alpha.json b/internal/generated/snippets/discoveryengine/apiv1alpha/snippet_metadata.google.cloud.discoveryengine.v1alpha.json index 582b365857a8..8874b1bdd5f2 100644 --- a/internal/generated/snippets/discoveryengine/apiv1alpha/snippet_metadata.google.cloud.discoveryengine.v1alpha.json +++ b/internal/generated/snippets/discoveryengine/apiv1alpha/snippet_metadata.google.cloud.discoveryengine.v1alpha.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/discoveryengine/apiv1alpha", - "version": "1.14.0", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/discoveryengine/apiv1beta/snippet_metadata.google.cloud.discoveryengine.v1beta.json b/internal/generated/snippets/discoveryengine/apiv1beta/snippet_metadata.google.cloud.discoveryengine.v1beta.json index c02615abc9ae..1fa9889a45b7 100644 --- a/internal/generated/snippets/discoveryengine/apiv1beta/snippet_metadata.google.cloud.discoveryengine.v1beta.json +++ b/internal/generated/snippets/discoveryengine/apiv1beta/snippet_metadata.google.cloud.discoveryengine.v1beta.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/discoveryengine/apiv1beta", - "version": "1.14.0", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/dlp/apiv2/snippet_metadata.google.privacy.dlp.v2.json b/internal/generated/snippets/dlp/apiv2/snippet_metadata.google.privacy.dlp.v2.json index 55dd8c7b412d..4674d11f0d47 100644 --- a/internal/generated/snippets/dlp/apiv2/snippet_metadata.google.privacy.dlp.v2.json +++ b/internal/generated/snippets/dlp/apiv2/snippet_metadata.google.privacy.dlp.v2.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/dlp/apiv2", - "version": "1.19.0", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/documentai/apiv1/snippet_metadata.google.cloud.documentai.v1.json b/internal/generated/snippets/documentai/apiv1/snippet_metadata.google.cloud.documentai.v1.json index 734633ef556b..4b7426b07e65 100644 --- a/internal/generated/snippets/documentai/apiv1/snippet_metadata.google.cloud.documentai.v1.json +++ b/internal/generated/snippets/documentai/apiv1/snippet_metadata.google.cloud.documentai.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/documentai/apiv1", - "version": "1.34.0", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/documentai/apiv1beta3/snippet_metadata.google.cloud.documentai.v1beta3.json b/internal/generated/snippets/documentai/apiv1beta3/snippet_metadata.google.cloud.documentai.v1beta3.json index e7b1cf9062f1..69f1b1a8aa57 100644 --- a/internal/generated/snippets/documentai/apiv1beta3/snippet_metadata.google.cloud.documentai.v1beta3.json +++ b/internal/generated/snippets/documentai/apiv1beta3/snippet_metadata.google.cloud.documentai.v1beta3.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/documentai/apiv1beta3", - "version": "1.34.0", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/domains/apiv1beta1/snippet_metadata.google.cloud.domains.v1beta1.json b/internal/generated/snippets/domains/apiv1beta1/snippet_metadata.google.cloud.domains.v1beta1.json index 74d7620552de..15ef5009f39f 100644 --- a/internal/generated/snippets/domains/apiv1beta1/snippet_metadata.google.cloud.domains.v1beta1.json +++ b/internal/generated/snippets/domains/apiv1beta1/snippet_metadata.google.cloud.domains.v1beta1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/domains/apiv1beta1", - "version": "0.9.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/edgecontainer/apiv1/snippet_metadata.google.cloud.edgecontainer.v1.json b/internal/generated/snippets/edgecontainer/apiv1/snippet_metadata.google.cloud.edgecontainer.v1.json index 81a4e94f517c..d43ad1d00478 100644 --- a/internal/generated/snippets/edgecontainer/apiv1/snippet_metadata.google.cloud.edgecontainer.v1.json +++ b/internal/generated/snippets/edgecontainer/apiv1/snippet_metadata.google.cloud.edgecontainer.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/edgecontainer/apiv1", - "version": "1.3.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/edgenetwork/apiv1/snippet_metadata.google.cloud.edgenetwork.v1.json b/internal/generated/snippets/edgenetwork/apiv1/snippet_metadata.google.cloud.edgenetwork.v1.json index e6e52d283041..71c3a0747574 100644 --- a/internal/generated/snippets/edgenetwork/apiv1/snippet_metadata.google.cloud.edgenetwork.v1.json +++ b/internal/generated/snippets/edgenetwork/apiv1/snippet_metadata.google.cloud.edgenetwork.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/edgenetwork/apiv1", - "version": "1.2.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/essentialcontacts/apiv1/snippet_metadata.google.cloud.essentialcontacts.v1.json b/internal/generated/snippets/essentialcontacts/apiv1/snippet_metadata.google.cloud.essentialcontacts.v1.json index 843deb0c786a..b86ce23ad73c 100644 --- a/internal/generated/snippets/essentialcontacts/apiv1/snippet_metadata.google.cloud.essentialcontacts.v1.json +++ b/internal/generated/snippets/essentialcontacts/apiv1/snippet_metadata.google.cloud.essentialcontacts.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/essentialcontacts/apiv1", - "version": "1.6.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/eventarc/apiv1/snippet_metadata.google.cloud.eventarc.v1.json b/internal/generated/snippets/eventarc/apiv1/snippet_metadata.google.cloud.eventarc.v1.json index e0cc01a0742f..f55aa78271eb 100644 --- a/internal/generated/snippets/eventarc/apiv1/snippet_metadata.google.cloud.eventarc.v1.json +++ b/internal/generated/snippets/eventarc/apiv1/snippet_metadata.google.cloud.eventarc.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/eventarc/apiv1", - "version": "1.13.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/eventarc/publishing/apiv1/snippet_metadata.google.cloud.eventarc.publishing.v1.json b/internal/generated/snippets/eventarc/publishing/apiv1/snippet_metadata.google.cloud.eventarc.publishing.v1.json index c8b0478876de..e568959bb99f 100644 --- a/internal/generated/snippets/eventarc/publishing/apiv1/snippet_metadata.google.cloud.eventarc.publishing.v1.json +++ b/internal/generated/snippets/eventarc/publishing/apiv1/snippet_metadata.google.cloud.eventarc.publishing.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/eventarc/publishing/apiv1", - "version": "1.13.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/filestore/apiv1/snippet_metadata.google.cloud.filestore.v1.json b/internal/generated/snippets/filestore/apiv1/snippet_metadata.google.cloud.filestore.v1.json index 96870c00091d..18ddf97a15b3 100644 --- a/internal/generated/snippets/filestore/apiv1/snippet_metadata.google.cloud.filestore.v1.json +++ b/internal/generated/snippets/filestore/apiv1/snippet_metadata.google.cloud.filestore.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/filestore/apiv1", - "version": "1.9.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/firestore/apiv1/admin/snippet_metadata.google.firestore.admin.v1.json b/internal/generated/snippets/firestore/apiv1/admin/snippet_metadata.google.firestore.admin.v1.json index ce461e129efb..a7a7b6e85a6a 100644 --- a/internal/generated/snippets/firestore/apiv1/admin/snippet_metadata.google.firestore.admin.v1.json +++ b/internal/generated/snippets/firestore/apiv1/admin/snippet_metadata.google.firestore.admin.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/firestore/apiv1/admin", - "version": "1.17.0", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/firestore/apiv1/snippet_metadata.google.firestore.v1.json b/internal/generated/snippets/firestore/apiv1/snippet_metadata.google.firestore.v1.json index 755e9f0b265b..0b9a95a6417b 100644 --- a/internal/generated/snippets/firestore/apiv1/snippet_metadata.google.firestore.v1.json +++ b/internal/generated/snippets/firestore/apiv1/snippet_metadata.google.firestore.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/firestore/apiv1", - "version": "1.17.0", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/functions/apiv1/snippet_metadata.google.cloud.functions.v1.json b/internal/generated/snippets/functions/apiv1/snippet_metadata.google.cloud.functions.v1.json index d09cef3524bf..7626bbe8d4e6 100644 --- a/internal/generated/snippets/functions/apiv1/snippet_metadata.google.cloud.functions.v1.json +++ b/internal/generated/snippets/functions/apiv1/snippet_metadata.google.cloud.functions.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/functions/apiv1", - "version": "1.19.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/functions/apiv2/snippet_metadata.google.cloud.functions.v2.json b/internal/generated/snippets/functions/apiv2/snippet_metadata.google.cloud.functions.v2.json index 1577cde117c2..15755e0813ee 100644 --- a/internal/generated/snippets/functions/apiv2/snippet_metadata.google.cloud.functions.v2.json +++ b/internal/generated/snippets/functions/apiv2/snippet_metadata.google.cloud.functions.v2.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/functions/apiv2", - "version": "1.19.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/functions/apiv2beta/snippet_metadata.google.cloud.functions.v2beta.json b/internal/generated/snippets/functions/apiv2beta/snippet_metadata.google.cloud.functions.v2beta.json index 25602cc2c358..53ddbf993a55 100644 --- a/internal/generated/snippets/functions/apiv2beta/snippet_metadata.google.cloud.functions.v2beta.json +++ b/internal/generated/snippets/functions/apiv2beta/snippet_metadata.google.cloud.functions.v2beta.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/functions/apiv2beta", - "version": "1.19.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/gkebackup/apiv1/snippet_metadata.google.cloud.gkebackup.v1.json b/internal/generated/snippets/gkebackup/apiv1/snippet_metadata.google.cloud.gkebackup.v1.json index cdeb8cfc74c3..2fd7952f46cc 100644 --- a/internal/generated/snippets/gkebackup/apiv1/snippet_metadata.google.cloud.gkebackup.v1.json +++ b/internal/generated/snippets/gkebackup/apiv1/snippet_metadata.google.cloud.gkebackup.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/gkebackup/apiv1", - "version": "1.6.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/gkeconnect/gateway/apiv1/snippet_metadata.google.cloud.gkeconnect.gateway.v1.json b/internal/generated/snippets/gkeconnect/gateway/apiv1/snippet_metadata.google.cloud.gkeconnect.gateway.v1.json index 6040ac2b6926..723126698728 100644 --- a/internal/generated/snippets/gkeconnect/gateway/apiv1/snippet_metadata.google.cloud.gkeconnect.gateway.v1.json +++ b/internal/generated/snippets/gkeconnect/gateway/apiv1/snippet_metadata.google.cloud.gkeconnect.gateway.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/gkeconnect/gateway/apiv1", - "version": "0.8.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/gkeconnect/gateway/apiv1beta1/snippet_metadata.google.cloud.gkeconnect.gateway.v1beta1.json b/internal/generated/snippets/gkeconnect/gateway/apiv1beta1/snippet_metadata.google.cloud.gkeconnect.gateway.v1beta1.json index 276c48c73e9d..fe4d9f4ad490 100644 --- a/internal/generated/snippets/gkeconnect/gateway/apiv1beta1/snippet_metadata.google.cloud.gkeconnect.gateway.v1beta1.json +++ b/internal/generated/snippets/gkeconnect/gateway/apiv1beta1/snippet_metadata.google.cloud.gkeconnect.gateway.v1beta1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/gkeconnect/gateway/apiv1beta1", - "version": "0.8.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/gkehub/apiv1beta1/snippet_metadata.google.cloud.gkehub.v1beta1.json b/internal/generated/snippets/gkehub/apiv1beta1/snippet_metadata.google.cloud.gkehub.v1beta1.json index 24aa2bda2f8c..5c0a5979b988 100644 --- a/internal/generated/snippets/gkehub/apiv1beta1/snippet_metadata.google.cloud.gkehub.v1beta1.json +++ b/internal/generated/snippets/gkehub/apiv1beta1/snippet_metadata.google.cloud.gkehub.v1beta1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/gkehub/apiv1beta1", - "version": "0.14.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/gkemulticloud/apiv1/snippet_metadata.google.cloud.gkemulticloud.v1.json b/internal/generated/snippets/gkemulticloud/apiv1/snippet_metadata.google.cloud.gkemulticloud.v1.json index 5251f1e1d56b..11bec4f0754f 100644 --- a/internal/generated/snippets/gkemulticloud/apiv1/snippet_metadata.google.cloud.gkemulticloud.v1.json +++ b/internal/generated/snippets/gkemulticloud/apiv1/snippet_metadata.google.cloud.gkemulticloud.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/gkemulticloud/apiv1", - "version": "1.4.0", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/gsuiteaddons/apiv1/snippet_metadata.google.cloud.gsuiteaddons.v1.json b/internal/generated/snippets/gsuiteaddons/apiv1/snippet_metadata.google.cloud.gsuiteaddons.v1.json index 82cbf6b3d4b8..a2588884a9e2 100644 --- a/internal/generated/snippets/gsuiteaddons/apiv1/snippet_metadata.google.cloud.gsuiteaddons.v1.json +++ b/internal/generated/snippets/gsuiteaddons/apiv1/snippet_metadata.google.cloud.gsuiteaddons.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/gsuiteaddons/apiv1", - "version": "1.6.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/iam/apiv1/snippet_metadata.google.iam.v1.json b/internal/generated/snippets/iam/apiv1/snippet_metadata.google.iam.v1.json index 1618ff19d77a..354ea8499a13 100644 --- a/internal/generated/snippets/iam/apiv1/snippet_metadata.google.iam.v1.json +++ b/internal/generated/snippets/iam/apiv1/snippet_metadata.google.iam.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/iam/apiv1", - "version": "1.1.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/iam/apiv2/snippet_metadata.google.iam.v2.json b/internal/generated/snippets/iam/apiv2/snippet_metadata.google.iam.v2.json index b920931a538b..b9c8b3a0e73a 100644 --- a/internal/generated/snippets/iam/apiv2/snippet_metadata.google.iam.v2.json +++ b/internal/generated/snippets/iam/apiv2/snippet_metadata.google.iam.v2.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/iam/apiv2", - "version": "1.1.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/iam/credentials/apiv1/snippet_metadata.google.iam.credentials.v1.json b/internal/generated/snippets/iam/credentials/apiv1/snippet_metadata.google.iam.credentials.v1.json index 36edda8134f3..319f1ff11bd5 100644 --- a/internal/generated/snippets/iam/credentials/apiv1/snippet_metadata.google.iam.credentials.v1.json +++ b/internal/generated/snippets/iam/credentials/apiv1/snippet_metadata.google.iam.credentials.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/iam/credentials/apiv1", - "version": "1.1.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/iap/apiv1/snippet_metadata.google.cloud.iap.v1.json b/internal/generated/snippets/iap/apiv1/snippet_metadata.google.cloud.iap.v1.json index 44b34c6e66bd..9a7d9877bc3d 100644 --- a/internal/generated/snippets/iap/apiv1/snippet_metadata.google.cloud.iap.v1.json +++ b/internal/generated/snippets/iap/apiv1/snippet_metadata.google.cloud.iap.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/iap/apiv1", - "version": "1.9.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/identitytoolkit/apiv2/snippet_metadata.google.cloud.identitytoolkit.v2.json b/internal/generated/snippets/identitytoolkit/apiv2/snippet_metadata.google.cloud.identitytoolkit.v2.json index 0dea388cfe7c..57789d26d658 100644 --- a/internal/generated/snippets/identitytoolkit/apiv2/snippet_metadata.google.cloud.identitytoolkit.v2.json +++ b/internal/generated/snippets/identitytoolkit/apiv2/snippet_metadata.google.cloud.identitytoolkit.v2.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/identitytoolkit/apiv2", - "version": "0.2.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/ids/apiv1/snippet_metadata.google.cloud.ids.v1.json b/internal/generated/snippets/ids/apiv1/snippet_metadata.google.cloud.ids.v1.json index f4db6f8344d5..f697f93c633f 100644 --- a/internal/generated/snippets/ids/apiv1/snippet_metadata.google.cloud.ids.v1.json +++ b/internal/generated/snippets/ids/apiv1/snippet_metadata.google.cloud.ids.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/ids/apiv1", - "version": "1.4.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/iot/apiv1/snippet_metadata.google.cloud.iot.v1.json b/internal/generated/snippets/iot/apiv1/snippet_metadata.google.cloud.iot.v1.json index 465399e1665d..d4fec3278922 100644 --- a/internal/generated/snippets/iot/apiv1/snippet_metadata.google.cloud.iot.v1.json +++ b/internal/generated/snippets/iot/apiv1/snippet_metadata.google.cloud.iot.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/iot/apiv1", - "version": "1.7.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/kms/apiv1/snippet_metadata.google.cloud.kms.v1.json b/internal/generated/snippets/kms/apiv1/snippet_metadata.google.cloud.kms.v1.json index ddf90cf8f6b6..51ab9320bb2f 100644 --- a/internal/generated/snippets/kms/apiv1/snippet_metadata.google.cloud.kms.v1.json +++ b/internal/generated/snippets/kms/apiv1/snippet_metadata.google.cloud.kms.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/kms/apiv1", - "version": "1.20.0", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/kms/inventory/apiv1/snippet_metadata.google.cloud.kms.inventory.v1.json b/internal/generated/snippets/kms/inventory/apiv1/snippet_metadata.google.cloud.kms.inventory.v1.json index dbef47767bc7..c100ac611097 100644 --- a/internal/generated/snippets/kms/inventory/apiv1/snippet_metadata.google.cloud.kms.inventory.v1.json +++ b/internal/generated/snippets/kms/inventory/apiv1/snippet_metadata.google.cloud.kms.inventory.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/kms/inventory/apiv1", - "version": "1.20.0", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/language/apiv1/snippet_metadata.google.cloud.language.v1.json b/internal/generated/snippets/language/apiv1/snippet_metadata.google.cloud.language.v1.json index adeb2a7cfa12..44021f58f80a 100644 --- a/internal/generated/snippets/language/apiv1/snippet_metadata.google.cloud.language.v1.json +++ b/internal/generated/snippets/language/apiv1/snippet_metadata.google.cloud.language.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/language/apiv1", - "version": "1.14.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/language/apiv1beta2/snippet_metadata.google.cloud.language.v1beta2.json b/internal/generated/snippets/language/apiv1beta2/snippet_metadata.google.cloud.language.v1beta2.json index 9924324e3b75..c4bbbf9c09b6 100644 --- a/internal/generated/snippets/language/apiv1beta2/snippet_metadata.google.cloud.language.v1beta2.json +++ b/internal/generated/snippets/language/apiv1beta2/snippet_metadata.google.cloud.language.v1beta2.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/language/apiv1beta2", - "version": "1.14.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/language/apiv2/snippet_metadata.google.cloud.language.v2.json b/internal/generated/snippets/language/apiv2/snippet_metadata.google.cloud.language.v2.json index 32928c480a69..b4a36fb6910c 100644 --- a/internal/generated/snippets/language/apiv2/snippet_metadata.google.cloud.language.v2.json +++ b/internal/generated/snippets/language/apiv2/snippet_metadata.google.cloud.language.v2.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/language/apiv2", - "version": "1.14.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/lifesciences/apiv2beta/snippet_metadata.google.cloud.lifesciences.v2beta.json b/internal/generated/snippets/lifesciences/apiv2beta/snippet_metadata.google.cloud.lifesciences.v2beta.json index 6d76d7758b85..5d37cc216ed4 100644 --- a/internal/generated/snippets/lifesciences/apiv2beta/snippet_metadata.google.cloud.lifesciences.v2beta.json +++ b/internal/generated/snippets/lifesciences/apiv2beta/snippet_metadata.google.cloud.lifesciences.v2beta.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/lifesciences/apiv2beta", - "version": "0.9.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/logging/apiv2/snippet_metadata.google.logging.v2.json b/internal/generated/snippets/logging/apiv2/snippet_metadata.google.logging.v2.json index f661abe27ff5..1b896a084066 100644 --- a/internal/generated/snippets/logging/apiv2/snippet_metadata.google.logging.v2.json +++ b/internal/generated/snippets/logging/apiv2/snippet_metadata.google.logging.v2.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/logging/apiv2", - "version": "1.12.0", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/longrunning/autogen/snippet_metadata.google.longrunning.json b/internal/generated/snippets/longrunning/autogen/snippet_metadata.google.longrunning.json index c41e6a8673fc..ae063e9365bb 100644 --- a/internal/generated/snippets/longrunning/autogen/snippet_metadata.google.longrunning.json +++ b/internal/generated/snippets/longrunning/autogen/snippet_metadata.google.longrunning.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/longrunning/autogen", - "version": "0.5.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/managedidentities/apiv1/snippet_metadata.google.cloud.managedidentities.v1.json b/internal/generated/snippets/managedidentities/apiv1/snippet_metadata.google.cloud.managedidentities.v1.json index bb10acc33c0f..e013ce565f8b 100644 --- a/internal/generated/snippets/managedidentities/apiv1/snippet_metadata.google.cloud.managedidentities.v1.json +++ b/internal/generated/snippets/managedidentities/apiv1/snippet_metadata.google.cloud.managedidentities.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/managedidentities/apiv1", - "version": "1.6.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/managedkafka/apiv1/snippet_metadata.google.cloud.managedkafka.v1.json b/internal/generated/snippets/managedkafka/apiv1/snippet_metadata.google.cloud.managedkafka.v1.json index c749073eefdd..249720e9d3d8 100644 --- a/internal/generated/snippets/managedkafka/apiv1/snippet_metadata.google.cloud.managedkafka.v1.json +++ b/internal/generated/snippets/managedkafka/apiv1/snippet_metadata.google.cloud.managedkafka.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/managedkafka/apiv1", - "version": "0.2.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/maps/addressvalidation/apiv1/snippet_metadata.google.maps.addressvalidation.v1.json b/internal/generated/snippets/maps/addressvalidation/apiv1/snippet_metadata.google.maps.addressvalidation.v1.json index 3a726d9b6a84..d621693eae75 100644 --- a/internal/generated/snippets/maps/addressvalidation/apiv1/snippet_metadata.google.maps.addressvalidation.v1.json +++ b/internal/generated/snippets/maps/addressvalidation/apiv1/snippet_metadata.google.maps.addressvalidation.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/maps/addressvalidation/apiv1", - "version": "1.14.0", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/maps/areainsights/apiv1/snippet_metadata.google.maps.areainsights.v1.json b/internal/generated/snippets/maps/areainsights/apiv1/snippet_metadata.google.maps.areainsights.v1.json index 0ec0a95780f5..997fc748bb2a 100644 --- a/internal/generated/snippets/maps/areainsights/apiv1/snippet_metadata.google.maps.areainsights.v1.json +++ b/internal/generated/snippets/maps/areainsights/apiv1/snippet_metadata.google.maps.areainsights.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/maps/areainsights/apiv1", - "version": "1.14.0", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/maps/fleetengine/apiv1/snippet_metadata.maps.fleetengine.v1.json b/internal/generated/snippets/maps/fleetengine/apiv1/snippet_metadata.maps.fleetengine.v1.json index aa54bf8cf41d..326efdb1a342 100644 --- a/internal/generated/snippets/maps/fleetengine/apiv1/snippet_metadata.maps.fleetengine.v1.json +++ b/internal/generated/snippets/maps/fleetengine/apiv1/snippet_metadata.maps.fleetengine.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/maps/fleetengine/apiv1", - "version": "1.14.0", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/maps/fleetengine/delivery/apiv1/snippet_metadata.maps.fleetengine.delivery.v1.json b/internal/generated/snippets/maps/fleetengine/delivery/apiv1/snippet_metadata.maps.fleetengine.delivery.v1.json index 534f88d206a6..976ff68eb547 100644 --- a/internal/generated/snippets/maps/fleetengine/delivery/apiv1/snippet_metadata.maps.fleetengine.delivery.v1.json +++ b/internal/generated/snippets/maps/fleetengine/delivery/apiv1/snippet_metadata.maps.fleetengine.delivery.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/maps/fleetengine/delivery/apiv1", - "version": "1.14.0", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/maps/places/apiv1/snippet_metadata.google.maps.places.v1.json b/internal/generated/snippets/maps/places/apiv1/snippet_metadata.google.maps.places.v1.json index f5b94715bb40..6b15d7d0f90e 100644 --- a/internal/generated/snippets/maps/places/apiv1/snippet_metadata.google.maps.places.v1.json +++ b/internal/generated/snippets/maps/places/apiv1/snippet_metadata.google.maps.places.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/maps/places/apiv1", - "version": "1.14.0", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/maps/routeoptimization/apiv1/snippet_metadata.google.maps.routeoptimization.v1.json b/internal/generated/snippets/maps/routeoptimization/apiv1/snippet_metadata.google.maps.routeoptimization.v1.json index f4fd68314c45..dc72f748dcdd 100644 --- a/internal/generated/snippets/maps/routeoptimization/apiv1/snippet_metadata.google.maps.routeoptimization.v1.json +++ b/internal/generated/snippets/maps/routeoptimization/apiv1/snippet_metadata.google.maps.routeoptimization.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/maps/routeoptimization/apiv1", - "version": "1.14.0", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/maps/routing/apiv2/snippet_metadata.google.maps.routing.v2.json b/internal/generated/snippets/maps/routing/apiv2/snippet_metadata.google.maps.routing.v2.json index b4e78157b1bd..bd27e97748ff 100644 --- a/internal/generated/snippets/maps/routing/apiv2/snippet_metadata.google.maps.routing.v2.json +++ b/internal/generated/snippets/maps/routing/apiv2/snippet_metadata.google.maps.routing.v2.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/maps/routing/apiv2", - "version": "1.14.0", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/maps/solar/apiv1/snippet_metadata.google.maps.solar.v1.json b/internal/generated/snippets/maps/solar/apiv1/snippet_metadata.google.maps.solar.v1.json index 5bc7fdd89312..d43564a1a02a 100644 --- a/internal/generated/snippets/maps/solar/apiv1/snippet_metadata.google.maps.solar.v1.json +++ b/internal/generated/snippets/maps/solar/apiv1/snippet_metadata.google.maps.solar.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/maps/solar/apiv1", - "version": "1.14.0", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/mediatranslation/apiv1beta1/snippet_metadata.google.cloud.mediatranslation.v1beta1.json b/internal/generated/snippets/mediatranslation/apiv1beta1/snippet_metadata.google.cloud.mediatranslation.v1beta1.json index d08b1f32e2de..e8bc7952ff46 100644 --- a/internal/generated/snippets/mediatranslation/apiv1beta1/snippet_metadata.google.cloud.mediatranslation.v1beta1.json +++ b/internal/generated/snippets/mediatranslation/apiv1beta1/snippet_metadata.google.cloud.mediatranslation.v1beta1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/mediatranslation/apiv1beta1", - "version": "0.8.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/memcache/apiv1/snippet_metadata.google.cloud.memcache.v1.json b/internal/generated/snippets/memcache/apiv1/snippet_metadata.google.cloud.memcache.v1.json index 0d0537f15ff5..b6087ced9608 100644 --- a/internal/generated/snippets/memcache/apiv1/snippet_metadata.google.cloud.memcache.v1.json +++ b/internal/generated/snippets/memcache/apiv1/snippet_metadata.google.cloud.memcache.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/memcache/apiv1", - "version": "1.10.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/memcache/apiv1beta2/snippet_metadata.google.cloud.memcache.v1beta2.json b/internal/generated/snippets/memcache/apiv1beta2/snippet_metadata.google.cloud.memcache.v1beta2.json index 0943422bad83..f63191cd9cd0 100644 --- a/internal/generated/snippets/memcache/apiv1beta2/snippet_metadata.google.cloud.memcache.v1beta2.json +++ b/internal/generated/snippets/memcache/apiv1beta2/snippet_metadata.google.cloud.memcache.v1beta2.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/memcache/apiv1beta2", - "version": "1.10.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/metastore/apiv1/snippet_metadata.google.cloud.metastore.v1.json b/internal/generated/snippets/metastore/apiv1/snippet_metadata.google.cloud.metastore.v1.json index 00f4ec00d41b..9aa000c4ff34 100644 --- a/internal/generated/snippets/metastore/apiv1/snippet_metadata.google.cloud.metastore.v1.json +++ b/internal/generated/snippets/metastore/apiv1/snippet_metadata.google.cloud.metastore.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/metastore/apiv1", - "version": "1.13.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/metastore/apiv1alpha/snippet_metadata.google.cloud.metastore.v1alpha.json b/internal/generated/snippets/metastore/apiv1alpha/snippet_metadata.google.cloud.metastore.v1alpha.json index c9c8d860e9d8..9259179778ac 100644 --- a/internal/generated/snippets/metastore/apiv1alpha/snippet_metadata.google.cloud.metastore.v1alpha.json +++ b/internal/generated/snippets/metastore/apiv1alpha/snippet_metadata.google.cloud.metastore.v1alpha.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/metastore/apiv1alpha", - "version": "1.13.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/metastore/apiv1beta/snippet_metadata.google.cloud.metastore.v1beta.json b/internal/generated/snippets/metastore/apiv1beta/snippet_metadata.google.cloud.metastore.v1beta.json index 6e5486937cfb..c42dd8cfd853 100644 --- a/internal/generated/snippets/metastore/apiv1beta/snippet_metadata.google.cloud.metastore.v1beta.json +++ b/internal/generated/snippets/metastore/apiv1beta/snippet_metadata.google.cloud.metastore.v1beta.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/metastore/apiv1beta", - "version": "1.13.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/migrationcenter/apiv1/snippet_metadata.google.cloud.migrationcenter.v1.json b/internal/generated/snippets/migrationcenter/apiv1/snippet_metadata.google.cloud.migrationcenter.v1.json index f00c106192a0..eb80517413b4 100644 --- a/internal/generated/snippets/migrationcenter/apiv1/snippet_metadata.google.cloud.migrationcenter.v1.json +++ b/internal/generated/snippets/migrationcenter/apiv1/snippet_metadata.google.cloud.migrationcenter.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/migrationcenter/apiv1", - "version": "1.1.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/monitoring/apiv3/v2/snippet_metadata.google.monitoring.v3.json b/internal/generated/snippets/monitoring/apiv3/v2/snippet_metadata.google.monitoring.v3.json index 7a4727aaa35f..8aec446a5fe2 100644 --- a/internal/generated/snippets/monitoring/apiv3/v2/snippet_metadata.google.monitoring.v3.json +++ b/internal/generated/snippets/monitoring/apiv3/v2/snippet_metadata.google.monitoring.v3.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/monitoring/apiv3/v2", - "version": "1.21.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/monitoring/dashboard/apiv1/snippet_metadata.google.monitoring.dashboard.v1.json b/internal/generated/snippets/monitoring/dashboard/apiv1/snippet_metadata.google.monitoring.dashboard.v1.json index 8787217d7a33..f60d36c684fa 100644 --- a/internal/generated/snippets/monitoring/dashboard/apiv1/snippet_metadata.google.monitoring.dashboard.v1.json +++ b/internal/generated/snippets/monitoring/dashboard/apiv1/snippet_metadata.google.monitoring.dashboard.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/monitoring/dashboard/apiv1", - "version": "1.21.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/monitoring/metricsscope/apiv1/snippet_metadata.google.monitoring.metricsscope.v1.json b/internal/generated/snippets/monitoring/metricsscope/apiv1/snippet_metadata.google.monitoring.metricsscope.v1.json index 42ae3baa5ea9..48845b4163bc 100644 --- a/internal/generated/snippets/monitoring/metricsscope/apiv1/snippet_metadata.google.monitoring.metricsscope.v1.json +++ b/internal/generated/snippets/monitoring/metricsscope/apiv1/snippet_metadata.google.monitoring.metricsscope.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/monitoring/metricsscope/apiv1", - "version": "1.21.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/netapp/apiv1/snippet_metadata.google.cloud.netapp.v1.json b/internal/generated/snippets/netapp/apiv1/snippet_metadata.google.cloud.netapp.v1.json index 58fcedbfc6ec..48e52bb6315a 100644 --- a/internal/generated/snippets/netapp/apiv1/snippet_metadata.google.cloud.netapp.v1.json +++ b/internal/generated/snippets/netapp/apiv1/snippet_metadata.google.cloud.netapp.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/netapp/apiv1", - "version": "1.4.0", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/networkconnectivity/apiv1/snippet_metadata.google.cloud.networkconnectivity.v1.json b/internal/generated/snippets/networkconnectivity/apiv1/snippet_metadata.google.cloud.networkconnectivity.v1.json index 192c22c02df2..21eda0544a6b 100644 --- a/internal/generated/snippets/networkconnectivity/apiv1/snippet_metadata.google.cloud.networkconnectivity.v1.json +++ b/internal/generated/snippets/networkconnectivity/apiv1/snippet_metadata.google.cloud.networkconnectivity.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/networkconnectivity/apiv1", - "version": "1.14.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/networkconnectivity/apiv1alpha1/snippet_metadata.google.cloud.networkconnectivity.v1alpha1.json b/internal/generated/snippets/networkconnectivity/apiv1alpha1/snippet_metadata.google.cloud.networkconnectivity.v1alpha1.json index e83f62cae1f0..8cc1524d533c 100644 --- a/internal/generated/snippets/networkconnectivity/apiv1alpha1/snippet_metadata.google.cloud.networkconnectivity.v1alpha1.json +++ b/internal/generated/snippets/networkconnectivity/apiv1alpha1/snippet_metadata.google.cloud.networkconnectivity.v1alpha1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/networkconnectivity/apiv1alpha1", - "version": "1.14.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/networkmanagement/apiv1/snippet_metadata.google.cloud.networkmanagement.v1.json b/internal/generated/snippets/networkmanagement/apiv1/snippet_metadata.google.cloud.networkmanagement.v1.json index 6a76f93e68f6..65567eec5d50 100644 --- a/internal/generated/snippets/networkmanagement/apiv1/snippet_metadata.google.cloud.networkmanagement.v1.json +++ b/internal/generated/snippets/networkmanagement/apiv1/snippet_metadata.google.cloud.networkmanagement.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/networkmanagement/apiv1", - "version": "1.14.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/networksecurity/apiv1beta1/snippet_metadata.google.cloud.networksecurity.v1beta1.json b/internal/generated/snippets/networksecurity/apiv1beta1/snippet_metadata.google.cloud.networksecurity.v1beta1.json index 713c5700f401..a7a7eb194eb3 100644 --- a/internal/generated/snippets/networksecurity/apiv1beta1/snippet_metadata.google.cloud.networksecurity.v1beta1.json +++ b/internal/generated/snippets/networksecurity/apiv1beta1/snippet_metadata.google.cloud.networksecurity.v1beta1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/networksecurity/apiv1beta1", - "version": "0.9.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/networkservices/apiv1/snippet_metadata.google.cloud.networkservices.v1.json b/internal/generated/snippets/networkservices/apiv1/snippet_metadata.google.cloud.networkservices.v1.json index 7c5013a1790a..060e91a1a1ae 100644 --- a/internal/generated/snippets/networkservices/apiv1/snippet_metadata.google.cloud.networkservices.v1.json +++ b/internal/generated/snippets/networkservices/apiv1/snippet_metadata.google.cloud.networkservices.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/networkservices/apiv1", - "version": "0.2.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/notebooks/apiv1/snippet_metadata.google.cloud.notebooks.v1.json b/internal/generated/snippets/notebooks/apiv1/snippet_metadata.google.cloud.notebooks.v1.json index 58dae201209c..74fd8f62dc56 100644 --- a/internal/generated/snippets/notebooks/apiv1/snippet_metadata.google.cloud.notebooks.v1.json +++ b/internal/generated/snippets/notebooks/apiv1/snippet_metadata.google.cloud.notebooks.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/notebooks/apiv1", - "version": "1.11.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/notebooks/apiv1beta1/snippet_metadata.google.cloud.notebooks.v1beta1.json b/internal/generated/snippets/notebooks/apiv1beta1/snippet_metadata.google.cloud.notebooks.v1beta1.json index 3f1338b10a2a..aa3b907cd4da 100644 --- a/internal/generated/snippets/notebooks/apiv1beta1/snippet_metadata.google.cloud.notebooks.v1beta1.json +++ b/internal/generated/snippets/notebooks/apiv1beta1/snippet_metadata.google.cloud.notebooks.v1beta1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/notebooks/apiv1beta1", - "version": "1.11.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/notebooks/apiv2/snippet_metadata.google.cloud.notebooks.v2.json b/internal/generated/snippets/notebooks/apiv2/snippet_metadata.google.cloud.notebooks.v2.json index c5965daad44c..01f09fd5d589 100644 --- a/internal/generated/snippets/notebooks/apiv2/snippet_metadata.google.cloud.notebooks.v2.json +++ b/internal/generated/snippets/notebooks/apiv2/snippet_metadata.google.cloud.notebooks.v2.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/notebooks/apiv2", - "version": "1.11.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/optimization/apiv1/snippet_metadata.google.cloud.optimization.v1.json b/internal/generated/snippets/optimization/apiv1/snippet_metadata.google.cloud.optimization.v1.json index 5e8c0a9fdd1a..33cdd000b7e8 100644 --- a/internal/generated/snippets/optimization/apiv1/snippet_metadata.google.cloud.optimization.v1.json +++ b/internal/generated/snippets/optimization/apiv1/snippet_metadata.google.cloud.optimization.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/optimization/apiv1", - "version": "1.6.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/oracledatabase/apiv1/snippet_metadata.google.cloud.oracledatabase.v1.json b/internal/generated/snippets/oracledatabase/apiv1/snippet_metadata.google.cloud.oracledatabase.v1.json index 5fa165603143..92dae9e6ef43 100644 --- a/internal/generated/snippets/oracledatabase/apiv1/snippet_metadata.google.cloud.oracledatabase.v1.json +++ b/internal/generated/snippets/oracledatabase/apiv1/snippet_metadata.google.cloud.oracledatabase.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/oracledatabase/apiv1", - "version": "0.1.0", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/orchestration/airflow/service/apiv1/snippet_metadata.google.cloud.orchestration.airflow.service.v1.json b/internal/generated/snippets/orchestration/airflow/service/apiv1/snippet_metadata.google.cloud.orchestration.airflow.service.v1.json index b517638d6d3a..88137959d226 100644 --- a/internal/generated/snippets/orchestration/airflow/service/apiv1/snippet_metadata.google.cloud.orchestration.airflow.service.v1.json +++ b/internal/generated/snippets/orchestration/airflow/service/apiv1/snippet_metadata.google.cloud.orchestration.airflow.service.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/orchestration/airflow/service/apiv1", - "version": "1.11.0", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/orgpolicy/apiv2/snippet_metadata.google.cloud.orgpolicy.v2.json b/internal/generated/snippets/orgpolicy/apiv2/snippet_metadata.google.cloud.orgpolicy.v2.json index 67abef14e848..98614e70b3e3 100644 --- a/internal/generated/snippets/orgpolicy/apiv2/snippet_metadata.google.cloud.orgpolicy.v2.json +++ b/internal/generated/snippets/orgpolicy/apiv2/snippet_metadata.google.cloud.orgpolicy.v2.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/orgpolicy/apiv2", - "version": "1.14.0", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/osconfig/agentendpoint/apiv1/snippet_metadata.google.cloud.osconfig.agentendpoint.v1.json b/internal/generated/snippets/osconfig/agentendpoint/apiv1/snippet_metadata.google.cloud.osconfig.agentendpoint.v1.json index b7dabb6e64b8..867d189cad95 100644 --- a/internal/generated/snippets/osconfig/agentendpoint/apiv1/snippet_metadata.google.cloud.osconfig.agentendpoint.v1.json +++ b/internal/generated/snippets/osconfig/agentendpoint/apiv1/snippet_metadata.google.cloud.osconfig.agentendpoint.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/osconfig/agentendpoint/apiv1", - "version": "1.14.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/osconfig/agentendpoint/apiv1beta/snippet_metadata.google.cloud.osconfig.agentendpoint.v1beta.json b/internal/generated/snippets/osconfig/agentendpoint/apiv1beta/snippet_metadata.google.cloud.osconfig.agentendpoint.v1beta.json index c12c5537ee19..4f5cbe38ea81 100644 --- a/internal/generated/snippets/osconfig/agentendpoint/apiv1beta/snippet_metadata.google.cloud.osconfig.agentendpoint.v1beta.json +++ b/internal/generated/snippets/osconfig/agentendpoint/apiv1beta/snippet_metadata.google.cloud.osconfig.agentendpoint.v1beta.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/osconfig/agentendpoint/apiv1beta", - "version": "1.14.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/osconfig/apiv1/snippet_metadata.google.cloud.osconfig.v1.json b/internal/generated/snippets/osconfig/apiv1/snippet_metadata.google.cloud.osconfig.v1.json index d95b11d8dfad..73ff1fb30ec3 100644 --- a/internal/generated/snippets/osconfig/apiv1/snippet_metadata.google.cloud.osconfig.v1.json +++ b/internal/generated/snippets/osconfig/apiv1/snippet_metadata.google.cloud.osconfig.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/osconfig/apiv1", - "version": "1.14.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/osconfig/apiv1alpha/snippet_metadata.google.cloud.osconfig.v1alpha.json b/internal/generated/snippets/osconfig/apiv1alpha/snippet_metadata.google.cloud.osconfig.v1alpha.json index 684866d70772..3f7768ff908c 100644 --- a/internal/generated/snippets/osconfig/apiv1alpha/snippet_metadata.google.cloud.osconfig.v1alpha.json +++ b/internal/generated/snippets/osconfig/apiv1alpha/snippet_metadata.google.cloud.osconfig.v1alpha.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/osconfig/apiv1alpha", - "version": "1.14.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/osconfig/apiv1beta/snippet_metadata.google.cloud.osconfig.v1beta.json b/internal/generated/snippets/osconfig/apiv1beta/snippet_metadata.google.cloud.osconfig.v1beta.json index fe2ca8ac8721..66a1edfe5d2f 100644 --- a/internal/generated/snippets/osconfig/apiv1beta/snippet_metadata.google.cloud.osconfig.v1beta.json +++ b/internal/generated/snippets/osconfig/apiv1beta/snippet_metadata.google.cloud.osconfig.v1beta.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/osconfig/apiv1beta", - "version": "1.14.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/oslogin/apiv1/snippet_metadata.google.cloud.oslogin.v1.json b/internal/generated/snippets/oslogin/apiv1/snippet_metadata.google.cloud.oslogin.v1.json index 0caae1d08394..0984e8e64efe 100644 --- a/internal/generated/snippets/oslogin/apiv1/snippet_metadata.google.cloud.oslogin.v1.json +++ b/internal/generated/snippets/oslogin/apiv1/snippet_metadata.google.cloud.oslogin.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/oslogin/apiv1", - "version": "1.14.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/oslogin/apiv1beta/snippet_metadata.google.cloud.oslogin.v1beta.json b/internal/generated/snippets/oslogin/apiv1beta/snippet_metadata.google.cloud.oslogin.v1beta.json index d89b8c134ae1..535913748c40 100644 --- a/internal/generated/snippets/oslogin/apiv1beta/snippet_metadata.google.cloud.oslogin.v1beta.json +++ b/internal/generated/snippets/oslogin/apiv1beta/snippet_metadata.google.cloud.oslogin.v1beta.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/oslogin/apiv1beta", - "version": "1.14.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/parallelstore/apiv1beta/snippet_metadata.google.cloud.parallelstore.v1beta.json b/internal/generated/snippets/parallelstore/apiv1beta/snippet_metadata.google.cloud.parallelstore.v1beta.json index 621962f8f9b5..39e4f42d26a9 100644 --- a/internal/generated/snippets/parallelstore/apiv1beta/snippet_metadata.google.cloud.parallelstore.v1beta.json +++ b/internal/generated/snippets/parallelstore/apiv1beta/snippet_metadata.google.cloud.parallelstore.v1beta.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/parallelstore/apiv1beta", - "version": "0.7.0", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/phishingprotection/apiv1beta1/snippet_metadata.google.cloud.phishingprotection.v1beta1.json b/internal/generated/snippets/phishingprotection/apiv1beta1/snippet_metadata.google.cloud.phishingprotection.v1beta1.json index 2b55cbe51391..aa99a4be0466 100644 --- a/internal/generated/snippets/phishingprotection/apiv1beta1/snippet_metadata.google.cloud.phishingprotection.v1beta1.json +++ b/internal/generated/snippets/phishingprotection/apiv1beta1/snippet_metadata.google.cloud.phishingprotection.v1beta1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/phishingprotection/apiv1beta1", - "version": "0.8.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/policysimulator/apiv1/snippet_metadata.google.cloud.policysimulator.v1.json b/internal/generated/snippets/policysimulator/apiv1/snippet_metadata.google.cloud.policysimulator.v1.json index c9492171118c..fcd2f1c2144f 100644 --- a/internal/generated/snippets/policysimulator/apiv1/snippet_metadata.google.cloud.policysimulator.v1.json +++ b/internal/generated/snippets/policysimulator/apiv1/snippet_metadata.google.cloud.policysimulator.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/policysimulator/apiv1", - "version": "0.2.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/policytroubleshooter/apiv1/snippet_metadata.google.cloud.policytroubleshooter.v1.json b/internal/generated/snippets/policytroubleshooter/apiv1/snippet_metadata.google.cloud.policytroubleshooter.v1.json index dcac869a7a51..a1d8b024cf70 100644 --- a/internal/generated/snippets/policytroubleshooter/apiv1/snippet_metadata.google.cloud.policytroubleshooter.v1.json +++ b/internal/generated/snippets/policytroubleshooter/apiv1/snippet_metadata.google.cloud.policytroubleshooter.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/policytroubleshooter/apiv1", - "version": "1.10.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/policytroubleshooter/iam/apiv3/snippet_metadata.google.cloud.policytroubleshooter.iam.v3.json b/internal/generated/snippets/policytroubleshooter/iam/apiv3/snippet_metadata.google.cloud.policytroubleshooter.iam.v3.json index dd93ccbb9db0..d32e76b836e8 100644 --- a/internal/generated/snippets/policytroubleshooter/iam/apiv3/snippet_metadata.google.cloud.policytroubleshooter.iam.v3.json +++ b/internal/generated/snippets/policytroubleshooter/iam/apiv3/snippet_metadata.google.cloud.policytroubleshooter.iam.v3.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/policytroubleshooter/iam/apiv3", - "version": "1.10.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/privatecatalog/apiv1beta1/snippet_metadata.google.cloud.privatecatalog.v1beta1.json b/internal/generated/snippets/privatecatalog/apiv1beta1/snippet_metadata.google.cloud.privatecatalog.v1beta1.json index 35122a597928..df17ce5ccecb 100644 --- a/internal/generated/snippets/privatecatalog/apiv1beta1/snippet_metadata.google.cloud.privatecatalog.v1beta1.json +++ b/internal/generated/snippets/privatecatalog/apiv1beta1/snippet_metadata.google.cloud.privatecatalog.v1beta1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/privatecatalog/apiv1beta1", - "version": "0.9.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/privilegedaccessmanager/apiv1/snippet_metadata.google.cloud.privilegedaccessmanager.v1.json b/internal/generated/snippets/privilegedaccessmanager/apiv1/snippet_metadata.google.cloud.privilegedaccessmanager.v1.json index 392e184ac9ee..b5f304bc4555 100644 --- a/internal/generated/snippets/privilegedaccessmanager/apiv1/snippet_metadata.google.cloud.privilegedaccessmanager.v1.json +++ b/internal/generated/snippets/privilegedaccessmanager/apiv1/snippet_metadata.google.cloud.privilegedaccessmanager.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/privilegedaccessmanager/apiv1", - "version": "0.2.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/pubsub/apiv1/snippet_metadata.google.pubsub.v1.json b/internal/generated/snippets/pubsub/apiv1/snippet_metadata.google.pubsub.v1.json index 92e4d0d8cc3a..ff348617589b 100644 --- a/internal/generated/snippets/pubsub/apiv1/snippet_metadata.google.pubsub.v1.json +++ b/internal/generated/snippets/pubsub/apiv1/snippet_metadata.google.pubsub.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/pubsub/apiv1", - "version": "1.45.0", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/pubsublite/apiv1/snippet_metadata.google.cloud.pubsublite.v1.json b/internal/generated/snippets/pubsublite/apiv1/snippet_metadata.google.cloud.pubsublite.v1.json index a8b5983b53a8..59aae84e64b2 100644 --- a/internal/generated/snippets/pubsublite/apiv1/snippet_metadata.google.cloud.pubsublite.v1.json +++ b/internal/generated/snippets/pubsublite/apiv1/snippet_metadata.google.cloud.pubsublite.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/pubsublite/apiv1", - "version": "1.8.2", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/rapidmigrationassessment/apiv1/snippet_metadata.google.cloud.rapidmigrationassessment.v1.json b/internal/generated/snippets/rapidmigrationassessment/apiv1/snippet_metadata.google.cloud.rapidmigrationassessment.v1.json index 129bd5cf9508..08ed003f4fd9 100644 --- a/internal/generated/snippets/rapidmigrationassessment/apiv1/snippet_metadata.google.cloud.rapidmigrationassessment.v1.json +++ b/internal/generated/snippets/rapidmigrationassessment/apiv1/snippet_metadata.google.cloud.rapidmigrationassessment.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/rapidmigrationassessment/apiv1", - "version": "1.0.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/recommendationengine/apiv1beta1/snippet_metadata.google.cloud.recommendationengine.v1beta1.json b/internal/generated/snippets/recommendationengine/apiv1beta1/snippet_metadata.google.cloud.recommendationengine.v1beta1.json index 49296576ed4a..3884c057b51e 100644 --- a/internal/generated/snippets/recommendationengine/apiv1beta1/snippet_metadata.google.cloud.recommendationengine.v1beta1.json +++ b/internal/generated/snippets/recommendationengine/apiv1beta1/snippet_metadata.google.cloud.recommendationengine.v1beta1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/recommendationengine/apiv1beta1", - "version": "0.8.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/recommender/apiv1/snippet_metadata.google.cloud.recommender.v1.json b/internal/generated/snippets/recommender/apiv1/snippet_metadata.google.cloud.recommender.v1.json index d35f98e7a1dd..43ac1c7e96df 100644 --- a/internal/generated/snippets/recommender/apiv1/snippet_metadata.google.cloud.recommender.v1.json +++ b/internal/generated/snippets/recommender/apiv1/snippet_metadata.google.cloud.recommender.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/recommender/apiv1", - "version": "1.13.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/recommender/apiv1beta1/snippet_metadata.google.cloud.recommender.v1beta1.json b/internal/generated/snippets/recommender/apiv1beta1/snippet_metadata.google.cloud.recommender.v1beta1.json index 6ec6f81f3621..8f2985a956f5 100644 --- a/internal/generated/snippets/recommender/apiv1beta1/snippet_metadata.google.cloud.recommender.v1beta1.json +++ b/internal/generated/snippets/recommender/apiv1beta1/snippet_metadata.google.cloud.recommender.v1beta1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/recommender/apiv1beta1", - "version": "1.13.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/redis/apiv1/snippet_metadata.google.cloud.redis.v1.json b/internal/generated/snippets/redis/apiv1/snippet_metadata.google.cloud.redis.v1.json index a3e3602c0a68..871ff51369a0 100644 --- a/internal/generated/snippets/redis/apiv1/snippet_metadata.google.cloud.redis.v1.json +++ b/internal/generated/snippets/redis/apiv1/snippet_metadata.google.cloud.redis.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/redis/apiv1", - "version": "1.17.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/redis/apiv1beta1/snippet_metadata.google.cloud.redis.v1beta1.json b/internal/generated/snippets/redis/apiv1beta1/snippet_metadata.google.cloud.redis.v1beta1.json index 8c207415bbbf..bd1fc9c70347 100644 --- a/internal/generated/snippets/redis/apiv1beta1/snippet_metadata.google.cloud.redis.v1beta1.json +++ b/internal/generated/snippets/redis/apiv1beta1/snippet_metadata.google.cloud.redis.v1beta1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/redis/apiv1beta1", - "version": "1.17.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/redis/cluster/apiv1/snippet_metadata.google.cloud.redis.cluster.v1.json b/internal/generated/snippets/redis/cluster/apiv1/snippet_metadata.google.cloud.redis.cluster.v1.json index 07bb0c5383b1..dc657c52eece 100644 --- a/internal/generated/snippets/redis/cluster/apiv1/snippet_metadata.google.cloud.redis.cluster.v1.json +++ b/internal/generated/snippets/redis/cluster/apiv1/snippet_metadata.google.cloud.redis.cluster.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/redis/cluster/apiv1", - "version": "1.17.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/resourcemanager/apiv2/snippet_metadata.google.cloud.resourcemanager.v2.json b/internal/generated/snippets/resourcemanager/apiv2/snippet_metadata.google.cloud.resourcemanager.v2.json index 2a59f5b2ce4c..b4abbe5c4a49 100644 --- a/internal/generated/snippets/resourcemanager/apiv2/snippet_metadata.google.cloud.resourcemanager.v2.json +++ b/internal/generated/snippets/resourcemanager/apiv2/snippet_metadata.google.cloud.resourcemanager.v2.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/resourcemanager/apiv2", - "version": "1.9.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/resourcemanager/apiv3/snippet_metadata.google.cloud.resourcemanager.v3.json b/internal/generated/snippets/resourcemanager/apiv3/snippet_metadata.google.cloud.resourcemanager.v3.json index 3e5ed249991a..60f607323a90 100644 --- a/internal/generated/snippets/resourcemanager/apiv3/snippet_metadata.google.cloud.resourcemanager.v3.json +++ b/internal/generated/snippets/resourcemanager/apiv3/snippet_metadata.google.cloud.resourcemanager.v3.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/resourcemanager/apiv3", - "version": "1.9.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/resourcesettings/apiv1/snippet_metadata.google.cloud.resourcesettings.v1.json b/internal/generated/snippets/resourcesettings/apiv1/snippet_metadata.google.cloud.resourcesettings.v1.json index 134de7424379..6887b0ab6042 100644 --- a/internal/generated/snippets/resourcesettings/apiv1/snippet_metadata.google.cloud.resourcesettings.v1.json +++ b/internal/generated/snippets/resourcesettings/apiv1/snippet_metadata.google.cloud.resourcesettings.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/resourcesettings/apiv1", - "version": "1.8.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/retail/apiv2/snippet_metadata.google.cloud.retail.v2.json b/internal/generated/snippets/retail/apiv2/snippet_metadata.google.cloud.retail.v2.json index 6282ba97d00d..b7106411767e 100644 --- a/internal/generated/snippets/retail/apiv2/snippet_metadata.google.cloud.retail.v2.json +++ b/internal/generated/snippets/retail/apiv2/snippet_metadata.google.cloud.retail.v2.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/retail/apiv2", - "version": "1.19.0", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/retail/apiv2alpha/snippet_metadata.google.cloud.retail.v2alpha.json b/internal/generated/snippets/retail/apiv2alpha/snippet_metadata.google.cloud.retail.v2alpha.json index 55a70598f983..465019bfc0a8 100644 --- a/internal/generated/snippets/retail/apiv2alpha/snippet_metadata.google.cloud.retail.v2alpha.json +++ b/internal/generated/snippets/retail/apiv2alpha/snippet_metadata.google.cloud.retail.v2alpha.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/retail/apiv2alpha", - "version": "1.19.0", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/retail/apiv2beta/snippet_metadata.google.cloud.retail.v2beta.json b/internal/generated/snippets/retail/apiv2beta/snippet_metadata.google.cloud.retail.v2beta.json index c10109445926..bc64b334402f 100644 --- a/internal/generated/snippets/retail/apiv2beta/snippet_metadata.google.cloud.retail.v2beta.json +++ b/internal/generated/snippets/retail/apiv2beta/snippet_metadata.google.cloud.retail.v2beta.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/retail/apiv2beta", - "version": "1.19.0", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/run/apiv2/snippet_metadata.google.cloud.run.v2.json b/internal/generated/snippets/run/apiv2/snippet_metadata.google.cloud.run.v2.json index 5623764937c2..7516ea8fa05b 100644 --- a/internal/generated/snippets/run/apiv2/snippet_metadata.google.cloud.run.v2.json +++ b/internal/generated/snippets/run/apiv2/snippet_metadata.google.cloud.run.v2.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/run/apiv2", - "version": "1.3.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/scheduler/apiv1/snippet_metadata.google.cloud.scheduler.v1.json b/internal/generated/snippets/scheduler/apiv1/snippet_metadata.google.cloud.scheduler.v1.json index 2bf6aa43217e..323dbb994c32 100644 --- a/internal/generated/snippets/scheduler/apiv1/snippet_metadata.google.cloud.scheduler.v1.json +++ b/internal/generated/snippets/scheduler/apiv1/snippet_metadata.google.cloud.scheduler.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/scheduler/apiv1", - "version": "1.10.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/scheduler/apiv1beta1/snippet_metadata.google.cloud.scheduler.v1beta1.json b/internal/generated/snippets/scheduler/apiv1beta1/snippet_metadata.google.cloud.scheduler.v1beta1.json index b42f67638d4e..29e060d6f647 100644 --- a/internal/generated/snippets/scheduler/apiv1beta1/snippet_metadata.google.cloud.scheduler.v1beta1.json +++ b/internal/generated/snippets/scheduler/apiv1beta1/snippet_metadata.google.cloud.scheduler.v1beta1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/scheduler/apiv1beta1", - "version": "1.10.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/secretmanager/apiv1/snippet_metadata.google.cloud.secretmanager.v1.json b/internal/generated/snippets/secretmanager/apiv1/snippet_metadata.google.cloud.secretmanager.v1.json index 4031a0d30908..39629c9f4ce6 100644 --- a/internal/generated/snippets/secretmanager/apiv1/snippet_metadata.google.cloud.secretmanager.v1.json +++ b/internal/generated/snippets/secretmanager/apiv1/snippet_metadata.google.cloud.secretmanager.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/secretmanager/apiv1", - "version": "1.14.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/secretmanager/apiv1beta2/snippet_metadata.google.cloud.secretmanager.v1beta2.json b/internal/generated/snippets/secretmanager/apiv1beta2/snippet_metadata.google.cloud.secretmanager.v1beta2.json index 56c214e74035..2e90089d6137 100644 --- a/internal/generated/snippets/secretmanager/apiv1beta2/snippet_metadata.google.cloud.secretmanager.v1beta2.json +++ b/internal/generated/snippets/secretmanager/apiv1beta2/snippet_metadata.google.cloud.secretmanager.v1beta2.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/secretmanager/apiv1beta2", - "version": "1.14.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/securesourcemanager/apiv1/snippet_metadata.google.cloud.securesourcemanager.v1.json b/internal/generated/snippets/securesourcemanager/apiv1/snippet_metadata.google.cloud.securesourcemanager.v1.json index d92e64159c44..5176e7ef16a1 100644 --- a/internal/generated/snippets/securesourcemanager/apiv1/snippet_metadata.google.cloud.securesourcemanager.v1.json +++ b/internal/generated/snippets/securesourcemanager/apiv1/snippet_metadata.google.cloud.securesourcemanager.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/securesourcemanager/apiv1", - "version": "1.2.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/security/privateca/apiv1/snippet_metadata.google.cloud.security.privateca.v1.json b/internal/generated/snippets/security/privateca/apiv1/snippet_metadata.google.cloud.security.privateca.v1.json index 283150f980df..b8c88abd22a9 100644 --- a/internal/generated/snippets/security/privateca/apiv1/snippet_metadata.google.cloud.security.privateca.v1.json +++ b/internal/generated/snippets/security/privateca/apiv1/snippet_metadata.google.cloud.security.privateca.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/security/privateca/apiv1", - "version": "1.18.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/security/publicca/apiv1/snippet_metadata.google.cloud.security.publicca.v1.json b/internal/generated/snippets/security/publicca/apiv1/snippet_metadata.google.cloud.security.publicca.v1.json index 9becb78d1703..2c039ed74880 100644 --- a/internal/generated/snippets/security/publicca/apiv1/snippet_metadata.google.cloud.security.publicca.v1.json +++ b/internal/generated/snippets/security/publicca/apiv1/snippet_metadata.google.cloud.security.publicca.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/security/publicca/apiv1", - "version": "1.18.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/security/publicca/apiv1beta1/snippet_metadata.google.cloud.security.publicca.v1beta1.json b/internal/generated/snippets/security/publicca/apiv1beta1/snippet_metadata.google.cloud.security.publicca.v1beta1.json index a6fa483f66ec..eadee34be65f 100644 --- a/internal/generated/snippets/security/publicca/apiv1beta1/snippet_metadata.google.cloud.security.publicca.v1beta1.json +++ b/internal/generated/snippets/security/publicca/apiv1beta1/snippet_metadata.google.cloud.security.publicca.v1beta1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/security/publicca/apiv1beta1", - "version": "1.18.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/securitycenter/apiv1/snippet_metadata.google.cloud.securitycenter.v1.json b/internal/generated/snippets/securitycenter/apiv1/snippet_metadata.google.cloud.securitycenter.v1.json index 8310b89eabf5..b8bf012afde3 100644 --- a/internal/generated/snippets/securitycenter/apiv1/snippet_metadata.google.cloud.securitycenter.v1.json +++ b/internal/generated/snippets/securitycenter/apiv1/snippet_metadata.google.cloud.securitycenter.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/securitycenter/apiv1", - "version": "1.35.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/securitycenter/apiv1beta1/snippet_metadata.google.cloud.securitycenter.v1beta1.json b/internal/generated/snippets/securitycenter/apiv1beta1/snippet_metadata.google.cloud.securitycenter.v1beta1.json index 96aaaae966c8..c48269e95fa7 100644 --- a/internal/generated/snippets/securitycenter/apiv1beta1/snippet_metadata.google.cloud.securitycenter.v1beta1.json +++ b/internal/generated/snippets/securitycenter/apiv1beta1/snippet_metadata.google.cloud.securitycenter.v1beta1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/securitycenter/apiv1beta1", - "version": "1.35.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/securitycenter/apiv1p1beta1/snippet_metadata.google.cloud.securitycenter.v1p1beta1.json b/internal/generated/snippets/securitycenter/apiv1p1beta1/snippet_metadata.google.cloud.securitycenter.v1p1beta1.json index 4b5bb5917eed..81390537355c 100644 --- a/internal/generated/snippets/securitycenter/apiv1p1beta1/snippet_metadata.google.cloud.securitycenter.v1p1beta1.json +++ b/internal/generated/snippets/securitycenter/apiv1p1beta1/snippet_metadata.google.cloud.securitycenter.v1p1beta1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/securitycenter/apiv1p1beta1", - "version": "1.35.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/securitycenter/apiv2/snippet_metadata.google.cloud.securitycenter.v2.json b/internal/generated/snippets/securitycenter/apiv2/snippet_metadata.google.cloud.securitycenter.v2.json index 03857c5bf128..5120460e5b2b 100644 --- a/internal/generated/snippets/securitycenter/apiv2/snippet_metadata.google.cloud.securitycenter.v2.json +++ b/internal/generated/snippets/securitycenter/apiv2/snippet_metadata.google.cloud.securitycenter.v2.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/securitycenter/apiv2", - "version": "1.35.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/securitycenter/settings/apiv1beta1/snippet_metadata.google.cloud.securitycenter.settings.v1beta1.json b/internal/generated/snippets/securitycenter/settings/apiv1beta1/snippet_metadata.google.cloud.securitycenter.settings.v1beta1.json index 310b4e86cbf5..91c347d57224 100644 --- a/internal/generated/snippets/securitycenter/settings/apiv1beta1/snippet_metadata.google.cloud.securitycenter.settings.v1beta1.json +++ b/internal/generated/snippets/securitycenter/settings/apiv1beta1/snippet_metadata.google.cloud.securitycenter.settings.v1beta1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/securitycenter/settings/apiv1beta1", - "version": "1.35.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/securitycentermanagement/apiv1/snippet_metadata.google.cloud.securitycentermanagement.v1.json b/internal/generated/snippets/securitycentermanagement/apiv1/snippet_metadata.google.cloud.securitycentermanagement.v1.json index cf105c2a473c..8f6a6e5d515d 100644 --- a/internal/generated/snippets/securitycentermanagement/apiv1/snippet_metadata.google.cloud.securitycentermanagement.v1.json +++ b/internal/generated/snippets/securitycentermanagement/apiv1/snippet_metadata.google.cloud.securitycentermanagement.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/securitycentermanagement/apiv1", - "version": "1.1.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/securityposture/apiv1/snippet_metadata.google.cloud.securityposture.v1.json b/internal/generated/snippets/securityposture/apiv1/snippet_metadata.google.cloud.securityposture.v1.json index ec78a692d3ea..8eae75d60fe1 100644 --- a/internal/generated/snippets/securityposture/apiv1/snippet_metadata.google.cloud.securityposture.v1.json +++ b/internal/generated/snippets/securityposture/apiv1/snippet_metadata.google.cloud.securityposture.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/securityposture/apiv1", - "version": "0.2.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/servicecontrol/apiv1/snippet_metadata.google.api.servicecontrol.v1.json b/internal/generated/snippets/servicecontrol/apiv1/snippet_metadata.google.api.servicecontrol.v1.json index ad21e144fa01..05f81ad063b0 100644 --- a/internal/generated/snippets/servicecontrol/apiv1/snippet_metadata.google.api.servicecontrol.v1.json +++ b/internal/generated/snippets/servicecontrol/apiv1/snippet_metadata.google.api.servicecontrol.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/servicecontrol/apiv1", - "version": "1.14.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/servicedirectory/apiv1/snippet_metadata.google.cloud.servicedirectory.v1.json b/internal/generated/snippets/servicedirectory/apiv1/snippet_metadata.google.cloud.servicedirectory.v1.json index 2931530b8ff9..220c4b98e9b1 100644 --- a/internal/generated/snippets/servicedirectory/apiv1/snippet_metadata.google.cloud.servicedirectory.v1.json +++ b/internal/generated/snippets/servicedirectory/apiv1/snippet_metadata.google.cloud.servicedirectory.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/servicedirectory/apiv1", - "version": "1.11.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/servicedirectory/apiv1beta1/snippet_metadata.google.cloud.servicedirectory.v1beta1.json b/internal/generated/snippets/servicedirectory/apiv1beta1/snippet_metadata.google.cloud.servicedirectory.v1beta1.json index 158958f7c896..3124ea27c3f4 100644 --- a/internal/generated/snippets/servicedirectory/apiv1beta1/snippet_metadata.google.cloud.servicedirectory.v1beta1.json +++ b/internal/generated/snippets/servicedirectory/apiv1beta1/snippet_metadata.google.cloud.servicedirectory.v1beta1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/servicedirectory/apiv1beta1", - "version": "1.11.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/servicehealth/apiv1/snippet_metadata.google.cloud.servicehealth.v1.json b/internal/generated/snippets/servicehealth/apiv1/snippet_metadata.google.cloud.servicehealth.v1.json index dfa7da9a252a..dd54219db933 100644 --- a/internal/generated/snippets/servicehealth/apiv1/snippet_metadata.google.cloud.servicehealth.v1.json +++ b/internal/generated/snippets/servicehealth/apiv1/snippet_metadata.google.cloud.servicehealth.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/servicehealth/apiv1", - "version": "1.1.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/servicemanagement/apiv1/snippet_metadata.google.api.servicemanagement.v1.json b/internal/generated/snippets/servicemanagement/apiv1/snippet_metadata.google.api.servicemanagement.v1.json index 7c13ee0d4f57..0f96f92cd23e 100644 --- a/internal/generated/snippets/servicemanagement/apiv1/snippet_metadata.google.api.servicemanagement.v1.json +++ b/internal/generated/snippets/servicemanagement/apiv1/snippet_metadata.google.api.servicemanagement.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/servicemanagement/apiv1", - "version": "1.9.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/serviceusage/apiv1/snippet_metadata.google.api.serviceusage.v1.json b/internal/generated/snippets/serviceusage/apiv1/snippet_metadata.google.api.serviceusage.v1.json index 918e5262916b..e070fdb0975a 100644 --- a/internal/generated/snippets/serviceusage/apiv1/snippet_metadata.google.api.serviceusage.v1.json +++ b/internal/generated/snippets/serviceusage/apiv1/snippet_metadata.google.api.serviceusage.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/serviceusage/apiv1", - "version": "1.8.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/shell/apiv1/snippet_metadata.google.cloud.shell.v1.json b/internal/generated/snippets/shell/apiv1/snippet_metadata.google.cloud.shell.v1.json index 2e1b23200ede..993c5f419e6b 100644 --- a/internal/generated/snippets/shell/apiv1/snippet_metadata.google.cloud.shell.v1.json +++ b/internal/generated/snippets/shell/apiv1/snippet_metadata.google.cloud.shell.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/shell/apiv1", - "version": "1.7.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/shopping/css/apiv1/snippet_metadata.google.shopping.css.v1.json b/internal/generated/snippets/shopping/css/apiv1/snippet_metadata.google.shopping.css.v1.json index d64a1f0cad90..c592bfc50357 100644 --- a/internal/generated/snippets/shopping/css/apiv1/snippet_metadata.google.shopping.css.v1.json +++ b/internal/generated/snippets/shopping/css/apiv1/snippet_metadata.google.shopping.css.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/shopping/css/apiv1", - "version": "0.11.0", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/shopping/merchant/accounts/apiv1beta/snippet_metadata.google.shopping.merchant.accounts.v1beta.json b/internal/generated/snippets/shopping/merchant/accounts/apiv1beta/snippet_metadata.google.shopping.merchant.accounts.v1beta.json index 7bf929b52840..1ae586695f4c 100644 --- a/internal/generated/snippets/shopping/merchant/accounts/apiv1beta/snippet_metadata.google.shopping.merchant.accounts.v1beta.json +++ b/internal/generated/snippets/shopping/merchant/accounts/apiv1beta/snippet_metadata.google.shopping.merchant.accounts.v1beta.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/shopping/merchant/accounts/apiv1beta", - "version": "0.11.0", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/shopping/merchant/conversions/apiv1beta/snippet_metadata.google.shopping.merchant.conversions.v1beta.json b/internal/generated/snippets/shopping/merchant/conversions/apiv1beta/snippet_metadata.google.shopping.merchant.conversions.v1beta.json index 8d736b1b44c6..f384519541af 100644 --- a/internal/generated/snippets/shopping/merchant/conversions/apiv1beta/snippet_metadata.google.shopping.merchant.conversions.v1beta.json +++ b/internal/generated/snippets/shopping/merchant/conversions/apiv1beta/snippet_metadata.google.shopping.merchant.conversions.v1beta.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/shopping/merchant/conversions/apiv1beta", - "version": "0.11.0", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/shopping/merchant/datasources/apiv1beta/snippet_metadata.google.shopping.merchant.datasources.v1beta.json b/internal/generated/snippets/shopping/merchant/datasources/apiv1beta/snippet_metadata.google.shopping.merchant.datasources.v1beta.json index 85be501e444e..9ee7ffde578f 100644 --- a/internal/generated/snippets/shopping/merchant/datasources/apiv1beta/snippet_metadata.google.shopping.merchant.datasources.v1beta.json +++ b/internal/generated/snippets/shopping/merchant/datasources/apiv1beta/snippet_metadata.google.shopping.merchant.datasources.v1beta.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/shopping/merchant/datasources/apiv1beta", - "version": "0.11.0", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/shopping/merchant/inventories/apiv1beta/snippet_metadata.google.shopping.merchant.inventories.v1beta.json b/internal/generated/snippets/shopping/merchant/inventories/apiv1beta/snippet_metadata.google.shopping.merchant.inventories.v1beta.json index 89f665f10ce3..985f9f3cdb97 100644 --- a/internal/generated/snippets/shopping/merchant/inventories/apiv1beta/snippet_metadata.google.shopping.merchant.inventories.v1beta.json +++ b/internal/generated/snippets/shopping/merchant/inventories/apiv1beta/snippet_metadata.google.shopping.merchant.inventories.v1beta.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/shopping/merchant/inventories/apiv1beta", - "version": "0.11.0", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/shopping/merchant/lfp/apiv1beta/snippet_metadata.google.shopping.merchant.lfp.v1beta.json b/internal/generated/snippets/shopping/merchant/lfp/apiv1beta/snippet_metadata.google.shopping.merchant.lfp.v1beta.json index 44051f2a834c..62bb383a1a09 100644 --- a/internal/generated/snippets/shopping/merchant/lfp/apiv1beta/snippet_metadata.google.shopping.merchant.lfp.v1beta.json +++ b/internal/generated/snippets/shopping/merchant/lfp/apiv1beta/snippet_metadata.google.shopping.merchant.lfp.v1beta.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/shopping/merchant/lfp/apiv1beta", - "version": "0.11.0", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/shopping/merchant/notifications/apiv1beta/snippet_metadata.google.shopping.merchant.notifications.v1beta.json b/internal/generated/snippets/shopping/merchant/notifications/apiv1beta/snippet_metadata.google.shopping.merchant.notifications.v1beta.json index e18629d0c0e0..7f3aa2875db7 100644 --- a/internal/generated/snippets/shopping/merchant/notifications/apiv1beta/snippet_metadata.google.shopping.merchant.notifications.v1beta.json +++ b/internal/generated/snippets/shopping/merchant/notifications/apiv1beta/snippet_metadata.google.shopping.merchant.notifications.v1beta.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/shopping/merchant/notifications/apiv1beta", - "version": "0.11.0", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/shopping/merchant/products/apiv1beta/snippet_metadata.google.shopping.merchant.products.v1beta.json b/internal/generated/snippets/shopping/merchant/products/apiv1beta/snippet_metadata.google.shopping.merchant.products.v1beta.json index 760c58805982..95e88fe828a4 100644 --- a/internal/generated/snippets/shopping/merchant/products/apiv1beta/snippet_metadata.google.shopping.merchant.products.v1beta.json +++ b/internal/generated/snippets/shopping/merchant/products/apiv1beta/snippet_metadata.google.shopping.merchant.products.v1beta.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/shopping/merchant/products/apiv1beta", - "version": "0.11.0", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/shopping/merchant/promotions/apiv1beta/snippet_metadata.google.shopping.merchant.promotions.v1beta.json b/internal/generated/snippets/shopping/merchant/promotions/apiv1beta/snippet_metadata.google.shopping.merchant.promotions.v1beta.json index 5409d8d76689..4a47cf2a7c00 100644 --- a/internal/generated/snippets/shopping/merchant/promotions/apiv1beta/snippet_metadata.google.shopping.merchant.promotions.v1beta.json +++ b/internal/generated/snippets/shopping/merchant/promotions/apiv1beta/snippet_metadata.google.shopping.merchant.promotions.v1beta.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/shopping/merchant/promotions/apiv1beta", - "version": "0.11.0", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/shopping/merchant/quota/apiv1beta/snippet_metadata.google.shopping.merchant.quota.v1beta.json b/internal/generated/snippets/shopping/merchant/quota/apiv1beta/snippet_metadata.google.shopping.merchant.quota.v1beta.json index 1c162328881b..cdd82c932ecb 100644 --- a/internal/generated/snippets/shopping/merchant/quota/apiv1beta/snippet_metadata.google.shopping.merchant.quota.v1beta.json +++ b/internal/generated/snippets/shopping/merchant/quota/apiv1beta/snippet_metadata.google.shopping.merchant.quota.v1beta.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/shopping/merchant/quota/apiv1beta", - "version": "0.11.0", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/shopping/merchant/reports/apiv1beta/snippet_metadata.google.shopping.merchant.reports.v1beta.json b/internal/generated/snippets/shopping/merchant/reports/apiv1beta/snippet_metadata.google.shopping.merchant.reports.v1beta.json index e60d40a41868..271fda96d082 100644 --- a/internal/generated/snippets/shopping/merchant/reports/apiv1beta/snippet_metadata.google.shopping.merchant.reports.v1beta.json +++ b/internal/generated/snippets/shopping/merchant/reports/apiv1beta/snippet_metadata.google.shopping.merchant.reports.v1beta.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/shopping/merchant/reports/apiv1beta", - "version": "0.11.0", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/spanner/admin/database/apiv1/snippet_metadata.google.spanner.admin.database.v1.json b/internal/generated/snippets/spanner/admin/database/apiv1/snippet_metadata.google.spanner.admin.database.v1.json index 2dfef37bc519..e4e7be39e035 100644 --- a/internal/generated/snippets/spanner/admin/database/apiv1/snippet_metadata.google.spanner.admin.database.v1.json +++ b/internal/generated/snippets/spanner/admin/database/apiv1/snippet_metadata.google.spanner.admin.database.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/spanner/admin/database/apiv1", - "version": "1.70.0", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/spanner/admin/instance/apiv1/snippet_metadata.google.spanner.admin.instance.v1.json b/internal/generated/snippets/spanner/admin/instance/apiv1/snippet_metadata.google.spanner.admin.instance.v1.json index 657e702295d3..a2a06a29e29f 100644 --- a/internal/generated/snippets/spanner/admin/instance/apiv1/snippet_metadata.google.spanner.admin.instance.v1.json +++ b/internal/generated/snippets/spanner/admin/instance/apiv1/snippet_metadata.google.spanner.admin.instance.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/spanner/admin/instance/apiv1", - "version": "1.70.0", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/spanner/apiv1/snippet_metadata.google.spanner.v1.json b/internal/generated/snippets/spanner/apiv1/snippet_metadata.google.spanner.v1.json index da74ff46c78b..ceabf2a9a391 100644 --- a/internal/generated/snippets/spanner/apiv1/snippet_metadata.google.spanner.v1.json +++ b/internal/generated/snippets/spanner/apiv1/snippet_metadata.google.spanner.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/spanner/apiv1", - "version": "1.70.0", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/spanner/executor/apiv1/snippet_metadata.google.spanner.executor.v1.json b/internal/generated/snippets/spanner/executor/apiv1/snippet_metadata.google.spanner.executor.v1.json index 70f82efd678c..19b88ffcb890 100644 --- a/internal/generated/snippets/spanner/executor/apiv1/snippet_metadata.google.spanner.executor.v1.json +++ b/internal/generated/snippets/spanner/executor/apiv1/snippet_metadata.google.spanner.executor.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/spanner/executor/apiv1", - "version": "1.70.0", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/speech/apiv1/snippet_metadata.google.cloud.speech.v1.json b/internal/generated/snippets/speech/apiv1/snippet_metadata.google.cloud.speech.v1.json index 234bc4ce9a17..64b245f09c00 100644 --- a/internal/generated/snippets/speech/apiv1/snippet_metadata.google.cloud.speech.v1.json +++ b/internal/generated/snippets/speech/apiv1/snippet_metadata.google.cloud.speech.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/speech/apiv1", - "version": "1.25.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/speech/apiv1p1beta1/snippet_metadata.google.cloud.speech.v1p1beta1.json b/internal/generated/snippets/speech/apiv1p1beta1/snippet_metadata.google.cloud.speech.v1p1beta1.json index c0b44e4a4b77..af51d64db00e 100644 --- a/internal/generated/snippets/speech/apiv1p1beta1/snippet_metadata.google.cloud.speech.v1p1beta1.json +++ b/internal/generated/snippets/speech/apiv1p1beta1/snippet_metadata.google.cloud.speech.v1p1beta1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/speech/apiv1p1beta1", - "version": "1.25.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/speech/apiv2/snippet_metadata.google.cloud.speech.v2.json b/internal/generated/snippets/speech/apiv2/snippet_metadata.google.cloud.speech.v2.json index f1fceaab7e35..ba03e4a72adf 100644 --- a/internal/generated/snippets/speech/apiv2/snippet_metadata.google.cloud.speech.v2.json +++ b/internal/generated/snippets/speech/apiv2/snippet_metadata.google.cloud.speech.v2.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/speech/apiv2", - "version": "1.25.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/storage/control/apiv2/snippet_metadata.google.storage.control.v2.json b/internal/generated/snippets/storage/control/apiv2/snippet_metadata.google.storage.control.v2.json index a66ed9b1db3d..8778e0c6e193 100644 --- a/internal/generated/snippets/storage/control/apiv2/snippet_metadata.google.storage.control.v2.json +++ b/internal/generated/snippets/storage/control/apiv2/snippet_metadata.google.storage.control.v2.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/storage/control/apiv2", - "version": "1.45.0", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/storageinsights/apiv1/snippet_metadata.google.cloud.storageinsights.v1.json b/internal/generated/snippets/storageinsights/apiv1/snippet_metadata.google.cloud.storageinsights.v1.json index d0caa8061727..c8489091a570 100644 --- a/internal/generated/snippets/storageinsights/apiv1/snippet_metadata.google.cloud.storageinsights.v1.json +++ b/internal/generated/snippets/storageinsights/apiv1/snippet_metadata.google.cloud.storageinsights.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/storageinsights/apiv1", - "version": "1.0.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/storagetransfer/apiv1/snippet_metadata.google.storagetransfer.v1.json b/internal/generated/snippets/storagetransfer/apiv1/snippet_metadata.google.storagetransfer.v1.json index d339e54ab5a9..19f7d44da569 100644 --- a/internal/generated/snippets/storagetransfer/apiv1/snippet_metadata.google.storagetransfer.v1.json +++ b/internal/generated/snippets/storagetransfer/apiv1/snippet_metadata.google.storagetransfer.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/storagetransfer/apiv1", - "version": "1.10.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/streetview/publish/apiv1/snippet_metadata.google.streetview.publish.v1.json b/internal/generated/snippets/streetview/publish/apiv1/snippet_metadata.google.streetview.publish.v1.json index 11a0c19557f0..b723b8dbfacc 100644 --- a/internal/generated/snippets/streetview/publish/apiv1/snippet_metadata.google.streetview.publish.v1.json +++ b/internal/generated/snippets/streetview/publish/apiv1/snippet_metadata.google.streetview.publish.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/streetview/publish/apiv1", - "version": "0.2.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/support/apiv2/snippet_metadata.google.cloud.support.v2.json b/internal/generated/snippets/support/apiv2/snippet_metadata.google.cloud.support.v2.json index 314b6fe5b3d0..d4504897e076 100644 --- a/internal/generated/snippets/support/apiv2/snippet_metadata.google.cloud.support.v2.json +++ b/internal/generated/snippets/support/apiv2/snippet_metadata.google.cloud.support.v2.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/support/apiv2", - "version": "1.0.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/talent/apiv4/snippet_metadata.google.cloud.talent.v4.json b/internal/generated/snippets/talent/apiv4/snippet_metadata.google.cloud.talent.v4.json index e2bcd2724f81..0cb066c3f9c9 100644 --- a/internal/generated/snippets/talent/apiv4/snippet_metadata.google.cloud.talent.v4.json +++ b/internal/generated/snippets/talent/apiv4/snippet_metadata.google.cloud.talent.v4.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/talent/apiv4", - "version": "1.6.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/talent/apiv4beta1/snippet_metadata.google.cloud.talent.v4beta1.json b/internal/generated/snippets/talent/apiv4beta1/snippet_metadata.google.cloud.talent.v4beta1.json index fab6be591723..b053690019b3 100644 --- a/internal/generated/snippets/talent/apiv4beta1/snippet_metadata.google.cloud.talent.v4beta1.json +++ b/internal/generated/snippets/talent/apiv4beta1/snippet_metadata.google.cloud.talent.v4beta1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/talent/apiv4beta1", - "version": "1.6.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/telcoautomation/apiv1/snippet_metadata.google.cloud.telcoautomation.v1.json b/internal/generated/snippets/telcoautomation/apiv1/snippet_metadata.google.cloud.telcoautomation.v1.json index d60d7c0f3bde..a6c4cfeac3cd 100644 --- a/internal/generated/snippets/telcoautomation/apiv1/snippet_metadata.google.cloud.telcoautomation.v1.json +++ b/internal/generated/snippets/telcoautomation/apiv1/snippet_metadata.google.cloud.telcoautomation.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/telcoautomation/apiv1", - "version": "1.1.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/texttospeech/apiv1/snippet_metadata.google.cloud.texttospeech.v1.json b/internal/generated/snippets/texttospeech/apiv1/snippet_metadata.google.cloud.texttospeech.v1.json index 43e0cdc2a264..99d5c22952d5 100644 --- a/internal/generated/snippets/texttospeech/apiv1/snippet_metadata.google.cloud.texttospeech.v1.json +++ b/internal/generated/snippets/texttospeech/apiv1/snippet_metadata.google.cloud.texttospeech.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/texttospeech/apiv1", - "version": "1.7.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/tpu/apiv1/snippet_metadata.google.cloud.tpu.v1.json b/internal/generated/snippets/tpu/apiv1/snippet_metadata.google.cloud.tpu.v1.json index 7b5182594e72..02e9b0968dca 100644 --- a/internal/generated/snippets/tpu/apiv1/snippet_metadata.google.cloud.tpu.v1.json +++ b/internal/generated/snippets/tpu/apiv1/snippet_metadata.google.cloud.tpu.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/tpu/apiv1", - "version": "1.6.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/trace/apiv1/snippet_metadata.google.devtools.cloudtrace.v1.json b/internal/generated/snippets/trace/apiv1/snippet_metadata.google.devtools.cloudtrace.v1.json index e08daeb31ff2..0c3bf82befc6 100644 --- a/internal/generated/snippets/trace/apiv1/snippet_metadata.google.devtools.cloudtrace.v1.json +++ b/internal/generated/snippets/trace/apiv1/snippet_metadata.google.devtools.cloudtrace.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/trace/apiv1", - "version": "1.10.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/trace/apiv2/snippet_metadata.google.devtools.cloudtrace.v2.json b/internal/generated/snippets/trace/apiv2/snippet_metadata.google.devtools.cloudtrace.v2.json index b6c1f1e1898b..e01a9de43c4e 100644 --- a/internal/generated/snippets/trace/apiv2/snippet_metadata.google.devtools.cloudtrace.v2.json +++ b/internal/generated/snippets/trace/apiv2/snippet_metadata.google.devtools.cloudtrace.v2.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/trace/apiv2", - "version": "1.10.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/translate/apiv3/snippet_metadata.google.cloud.translation.v3.json b/internal/generated/snippets/translate/apiv3/snippet_metadata.google.cloud.translation.v3.json index b697f238c5cc..63bc68388fd1 100644 --- a/internal/generated/snippets/translate/apiv3/snippet_metadata.google.cloud.translation.v3.json +++ b/internal/generated/snippets/translate/apiv3/snippet_metadata.google.cloud.translation.v3.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/translate/apiv3", - "version": "1.12.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/video/livestream/apiv1/snippet_metadata.google.cloud.video.livestream.v1.json b/internal/generated/snippets/video/livestream/apiv1/snippet_metadata.google.cloud.video.livestream.v1.json index 76edc89e2a4e..96624eecf8b4 100644 --- a/internal/generated/snippets/video/livestream/apiv1/snippet_metadata.google.cloud.video.livestream.v1.json +++ b/internal/generated/snippets/video/livestream/apiv1/snippet_metadata.google.cloud.video.livestream.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/video/livestream/apiv1", - "version": "1.23.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/video/stitcher/apiv1/snippet_metadata.google.cloud.video.stitcher.v1.json b/internal/generated/snippets/video/stitcher/apiv1/snippet_metadata.google.cloud.video.stitcher.v1.json index f2fea7be4c5f..428d39dd7b2e 100644 --- a/internal/generated/snippets/video/stitcher/apiv1/snippet_metadata.google.cloud.video.stitcher.v1.json +++ b/internal/generated/snippets/video/stitcher/apiv1/snippet_metadata.google.cloud.video.stitcher.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/video/stitcher/apiv1", - "version": "1.23.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/video/transcoder/apiv1/snippet_metadata.google.cloud.video.transcoder.v1.json b/internal/generated/snippets/video/transcoder/apiv1/snippet_metadata.google.cloud.video.transcoder.v1.json index 4398044aed71..ad23f76a613a 100644 --- a/internal/generated/snippets/video/transcoder/apiv1/snippet_metadata.google.cloud.video.transcoder.v1.json +++ b/internal/generated/snippets/video/transcoder/apiv1/snippet_metadata.google.cloud.video.transcoder.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/video/transcoder/apiv1", - "version": "1.23.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/videointelligence/apiv1/snippet_metadata.google.cloud.videointelligence.v1.json b/internal/generated/snippets/videointelligence/apiv1/snippet_metadata.google.cloud.videointelligence.v1.json index 8ca5549b65a5..cb661cc01bc6 100644 --- a/internal/generated/snippets/videointelligence/apiv1/snippet_metadata.google.cloud.videointelligence.v1.json +++ b/internal/generated/snippets/videointelligence/apiv1/snippet_metadata.google.cloud.videointelligence.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/videointelligence/apiv1", - "version": "1.11.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/videointelligence/apiv1beta2/snippet_metadata.google.cloud.videointelligence.v1beta2.json b/internal/generated/snippets/videointelligence/apiv1beta2/snippet_metadata.google.cloud.videointelligence.v1beta2.json index c871eefc1dc2..4e9d9f24fd1c 100644 --- a/internal/generated/snippets/videointelligence/apiv1beta2/snippet_metadata.google.cloud.videointelligence.v1beta2.json +++ b/internal/generated/snippets/videointelligence/apiv1beta2/snippet_metadata.google.cloud.videointelligence.v1beta2.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/videointelligence/apiv1beta2", - "version": "1.11.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/videointelligence/apiv1p3beta1/snippet_metadata.google.cloud.videointelligence.v1p3beta1.json b/internal/generated/snippets/videointelligence/apiv1p3beta1/snippet_metadata.google.cloud.videointelligence.v1p3beta1.json index 6ced01d11943..706643935dd3 100644 --- a/internal/generated/snippets/videointelligence/apiv1p3beta1/snippet_metadata.google.cloud.videointelligence.v1p3beta1.json +++ b/internal/generated/snippets/videointelligence/apiv1p3beta1/snippet_metadata.google.cloud.videointelligence.v1p3beta1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/videointelligence/apiv1p3beta1", - "version": "1.11.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/vision/apiv1/snippet_metadata.google.cloud.vision.v1.json b/internal/generated/snippets/vision/apiv1/snippet_metadata.google.cloud.vision.v1.json index c7ab58604dcf..e17c761424f4 100644 --- a/internal/generated/snippets/vision/apiv1/snippet_metadata.google.cloud.vision.v1.json +++ b/internal/generated/snippets/vision/apiv1/snippet_metadata.google.cloud.vision.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/vision/v2/apiv1", - "version": "2.9.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/vision/apiv1p1beta1/snippet_metadata.google.cloud.vision.v1p1beta1.json b/internal/generated/snippets/vision/apiv1p1beta1/snippet_metadata.google.cloud.vision.v1p1beta1.json index cf2f7fca0c31..4165401e6844 100644 --- a/internal/generated/snippets/vision/apiv1p1beta1/snippet_metadata.google.cloud.vision.v1p1beta1.json +++ b/internal/generated/snippets/vision/apiv1p1beta1/snippet_metadata.google.cloud.vision.v1p1beta1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/vision/v2/apiv1p1beta1", - "version": "2.9.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/visionai/apiv1/snippet_metadata.google.cloud.visionai.v1.json b/internal/generated/snippets/visionai/apiv1/snippet_metadata.google.cloud.visionai.v1.json index f07f859dfa36..bc6106f818ac 100644 --- a/internal/generated/snippets/visionai/apiv1/snippet_metadata.google.cloud.visionai.v1.json +++ b/internal/generated/snippets/visionai/apiv1/snippet_metadata.google.cloud.visionai.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/visionai/apiv1", - "version": "0.4.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/vmmigration/apiv1/snippet_metadata.google.cloud.vmmigration.v1.json b/internal/generated/snippets/vmmigration/apiv1/snippet_metadata.google.cloud.vmmigration.v1.json index f85ddc8c556e..1d6503e3b6af 100644 --- a/internal/generated/snippets/vmmigration/apiv1/snippet_metadata.google.cloud.vmmigration.v1.json +++ b/internal/generated/snippets/vmmigration/apiv1/snippet_metadata.google.cloud.vmmigration.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/vmmigration/apiv1", - "version": "1.7.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/vmwareengine/apiv1/snippet_metadata.google.cloud.vmwareengine.v1.json b/internal/generated/snippets/vmwareengine/apiv1/snippet_metadata.google.cloud.vmwareengine.v1.json index 7b952b2edd9a..6c63fc03f5c1 100644 --- a/internal/generated/snippets/vmwareengine/apiv1/snippet_metadata.google.cloud.vmwareengine.v1.json +++ b/internal/generated/snippets/vmwareengine/apiv1/snippet_metadata.google.cloud.vmwareengine.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/vmwareengine/apiv1", - "version": "1.3.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/vpcaccess/apiv1/snippet_metadata.google.cloud.vpcaccess.v1.json b/internal/generated/snippets/vpcaccess/apiv1/snippet_metadata.google.cloud.vpcaccess.v1.json index 50a5b802ef7e..dace0c59646f 100644 --- a/internal/generated/snippets/vpcaccess/apiv1/snippet_metadata.google.cloud.vpcaccess.v1.json +++ b/internal/generated/snippets/vpcaccess/apiv1/snippet_metadata.google.cloud.vpcaccess.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/vpcaccess/apiv1", - "version": "1.7.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/webrisk/apiv1/snippet_metadata.google.cloud.webrisk.v1.json b/internal/generated/snippets/webrisk/apiv1/snippet_metadata.google.cloud.webrisk.v1.json index 17ef6679cf84..3701e6dac40a 100644 --- a/internal/generated/snippets/webrisk/apiv1/snippet_metadata.google.cloud.webrisk.v1.json +++ b/internal/generated/snippets/webrisk/apiv1/snippet_metadata.google.cloud.webrisk.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/webrisk/apiv1", - "version": "1.9.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/webrisk/apiv1beta1/snippet_metadata.google.cloud.webrisk.v1beta1.json b/internal/generated/snippets/webrisk/apiv1beta1/snippet_metadata.google.cloud.webrisk.v1beta1.json index 305550665859..92970a2509bf 100644 --- a/internal/generated/snippets/webrisk/apiv1beta1/snippet_metadata.google.cloud.webrisk.v1beta1.json +++ b/internal/generated/snippets/webrisk/apiv1beta1/snippet_metadata.google.cloud.webrisk.v1beta1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/webrisk/apiv1beta1", - "version": "1.9.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/websecurityscanner/apiv1/snippet_metadata.google.cloud.websecurityscanner.v1.json b/internal/generated/snippets/websecurityscanner/apiv1/snippet_metadata.google.cloud.websecurityscanner.v1.json index 8fc60f57e400..b2c4623be4a6 100644 --- a/internal/generated/snippets/websecurityscanner/apiv1/snippet_metadata.google.cloud.websecurityscanner.v1.json +++ b/internal/generated/snippets/websecurityscanner/apiv1/snippet_metadata.google.cloud.websecurityscanner.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/websecurityscanner/apiv1", - "version": "1.6.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/workflows/apiv1/snippet_metadata.google.cloud.workflows.v1.json b/internal/generated/snippets/workflows/apiv1/snippet_metadata.google.cloud.workflows.v1.json index e0d7084d8d3d..b48ccc61fd2f 100644 --- a/internal/generated/snippets/workflows/apiv1/snippet_metadata.google.cloud.workflows.v1.json +++ b/internal/generated/snippets/workflows/apiv1/snippet_metadata.google.cloud.workflows.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/workflows/apiv1", - "version": "1.12.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/workflows/apiv1beta/snippet_metadata.google.cloud.workflows.v1beta.json b/internal/generated/snippets/workflows/apiv1beta/snippet_metadata.google.cloud.workflows.v1beta.json index 41c7bc3b1842..a458a0db6c06 100644 --- a/internal/generated/snippets/workflows/apiv1beta/snippet_metadata.google.cloud.workflows.v1beta.json +++ b/internal/generated/snippets/workflows/apiv1beta/snippet_metadata.google.cloud.workflows.v1beta.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/workflows/apiv1beta", - "version": "1.12.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/workflows/executions/apiv1/snippet_metadata.google.cloud.workflows.executions.v1.json b/internal/generated/snippets/workflows/executions/apiv1/snippet_metadata.google.cloud.workflows.executions.v1.json index 6bf5b0acf7d4..71acb4d33c8a 100644 --- a/internal/generated/snippets/workflows/executions/apiv1/snippet_metadata.google.cloud.workflows.executions.v1.json +++ b/internal/generated/snippets/workflows/executions/apiv1/snippet_metadata.google.cloud.workflows.executions.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/workflows/executions/apiv1", - "version": "1.12.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/workflows/executions/apiv1beta/snippet_metadata.google.cloud.workflows.executions.v1beta.json b/internal/generated/snippets/workflows/executions/apiv1beta/snippet_metadata.google.cloud.workflows.executions.v1beta.json index aa61daf0b6d4..dc94bf1fb667 100644 --- a/internal/generated/snippets/workflows/executions/apiv1beta/snippet_metadata.google.cloud.workflows.executions.v1beta.json +++ b/internal/generated/snippets/workflows/executions/apiv1beta/snippet_metadata.google.cloud.workflows.executions.v1beta.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/workflows/executions/apiv1beta", - "version": "1.12.10", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/workstations/apiv1/snippet_metadata.google.cloud.workstations.v1.json b/internal/generated/snippets/workstations/apiv1/snippet_metadata.google.cloud.workstations.v1.json index abba513d336f..d261a009d709 100644 --- a/internal/generated/snippets/workstations/apiv1/snippet_metadata.google.cloud.workstations.v1.json +++ b/internal/generated/snippets/workstations/apiv1/snippet_metadata.google.cloud.workstations.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/workstations/apiv1", - "version": "1.1.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/workstations/apiv1beta/snippet_metadata.google.cloud.workstations.v1beta.json b/internal/generated/snippets/workstations/apiv1beta/snippet_metadata.google.cloud.workstations.v1beta.json index fb239edac412..c89a9d16eb44 100644 --- a/internal/generated/snippets/workstations/apiv1beta/snippet_metadata.google.cloud.workstations.v1beta.json +++ b/internal/generated/snippets/workstations/apiv1beta/snippet_metadata.google.cloud.workstations.v1beta.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/workstations/apiv1beta", - "version": "1.1.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/iot/apiv1/iotpb/device_manager.pb.go b/iot/apiv1/iotpb/device_manager.pb.go index a21451830e07..4894378f8d8e 100755 --- a/iot/apiv1/iotpb/device_manager.pb.go +++ b/iot/apiv1/iotpb/device_manager.pb.go @@ -21,11 +21,8 @@ package iotpb import ( - context "context" - reflect "reflect" - sync "sync" - iampb "cloud.google.com/go/iam/apiv1/iampb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/iot/apiv1/iotpb/resources.pb.go b/iot/apiv1/iotpb/resources.pb.go index 06719e178aa7..2cb385438f07 100755 --- a/iot/apiv1/iotpb/resources.pb.go +++ b/iot/apiv1/iotpb/resources.pb.go @@ -21,14 +21,13 @@ package iotpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/kms/apiv1/kmspb/autokey.pb.go b/kms/apiv1/kmspb/autokey.pb.go index 4b2a60c2c94e..d9689bb5cedd 100755 --- a/kms/apiv1/kmspb/autokey.pb.go +++ b/kms/apiv1/kmspb/autokey.pb.go @@ -21,17 +21,16 @@ package kmspb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/kms/apiv1/kmspb/autokey_admin.pb.go b/kms/apiv1/kmspb/autokey_admin.pb.go index 0d612bba5d00..300e033e2507 100755 --- a/kms/apiv1/kmspb/autokey_admin.pb.go +++ b/kms/apiv1/kmspb/autokey_admin.pb.go @@ -22,9 +22,6 @@ package kmspb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/kms/apiv1/kmspb/ekm_service.pb.go b/kms/apiv1/kmspb/ekm_service.pb.go index eaa41d0323a6..3cc5cca279a4 100755 --- a/kms/apiv1/kmspb/ekm_service.pb.go +++ b/kms/apiv1/kmspb/ekm_service.pb.go @@ -22,9 +22,6 @@ package kmspb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/kms/apiv1/kmspb/resources.pb.go b/kms/apiv1/kmspb/resources.pb.go index 74d2c1f46065..4ab4c11427e8 100755 --- a/kms/apiv1/kmspb/resources.pb.go +++ b/kms/apiv1/kmspb/resources.pb.go @@ -21,15 +21,14 @@ package kmspb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( diff --git a/kms/apiv1/kmspb/service.pb.go b/kms/apiv1/kmspb/service.pb.go index d629ee2d21b9..2399fdf1a6a3 100755 --- a/kms/apiv1/kmspb/service.pb.go +++ b/kms/apiv1/kmspb/service.pb.go @@ -22,9 +22,6 @@ package kmspb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( diff --git a/kms/inventory/apiv1/inventorypb/key_dashboard_service.pb.go b/kms/inventory/apiv1/inventorypb/key_dashboard_service.pb.go index a4d7baff9855..8d65e66f90d1 100755 --- a/kms/inventory/apiv1/inventorypb/key_dashboard_service.pb.go +++ b/kms/inventory/apiv1/inventorypb/key_dashboard_service.pb.go @@ -21,17 +21,16 @@ package inventorypb import ( - context "context" - reflect "reflect" - sync "sync" - kmspb "cloud.google.com/go/kms/apiv1/kmspb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/kms/inventory/apiv1/inventorypb/key_tracking_service.pb.go b/kms/inventory/apiv1/inventorypb/key_tracking_service.pb.go index 940ec796436d..9e423e686b48 100755 --- a/kms/inventory/apiv1/inventorypb/key_tracking_service.pb.go +++ b/kms/inventory/apiv1/inventorypb/key_tracking_service.pb.go @@ -22,9 +22,6 @@ package inventorypb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/language/apiv1/auxiliary.go b/language/apiv1/auxiliary.go index f4c6d0a94251..2229db2887eb 100755 --- a/language/apiv1/auxiliary.go +++ b/language/apiv1/auxiliary.go @@ -15,3 +15,5 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package language + +import () diff --git a/language/apiv1/auxiliary_go123.go b/language/apiv1/auxiliary_go123.go index b806c365989f..8cb64e7e699b 100755 --- a/language/apiv1/auxiliary_go123.go +++ b/language/apiv1/auxiliary_go123.go @@ -17,3 +17,5 @@ //go:build go1.23 package language + +import () diff --git a/language/apiv1/language_client_example_go123_test.go b/language/apiv1/language_client_example_go123_test.go index 75eec9bc9c4c..5b34eadb7c32 100644 --- a/language/apiv1/language_client_example_go123_test.go +++ b/language/apiv1/language_client_example_go123_test.go @@ -17,3 +17,7 @@ //go:build go1.23 package language_test + +import ( + language "cloud.google.com/go/language/apiv1" +) diff --git a/language/apiv1/languagepb/language_service.pb.go b/language/apiv1/languagepb/language_service.pb.go index b960e47ea428..f5cc2b5898ca 100755 --- a/language/apiv1/languagepb/language_service.pb.go +++ b/language/apiv1/languagepb/language_service.pb.go @@ -22,15 +22,14 @@ package languagepb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/language/apiv1beta2/auxiliary.go b/language/apiv1beta2/auxiliary.go index f4c6d0a94251..2229db2887eb 100755 --- a/language/apiv1beta2/auxiliary.go +++ b/language/apiv1beta2/auxiliary.go @@ -15,3 +15,5 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package language + +import () diff --git a/language/apiv1beta2/auxiliary_go123.go b/language/apiv1beta2/auxiliary_go123.go index b806c365989f..8cb64e7e699b 100755 --- a/language/apiv1beta2/auxiliary_go123.go +++ b/language/apiv1beta2/auxiliary_go123.go @@ -17,3 +17,5 @@ //go:build go1.23 package language + +import () diff --git a/language/apiv1beta2/language_client_example_go123_test.go b/language/apiv1beta2/language_client_example_go123_test.go index 75eec9bc9c4c..5c538a9e6e77 100644 --- a/language/apiv1beta2/language_client_example_go123_test.go +++ b/language/apiv1beta2/language_client_example_go123_test.go @@ -17,3 +17,7 @@ //go:build go1.23 package language_test + +import ( + language "cloud.google.com/go/language/apiv1beta2" +) diff --git a/language/apiv1beta2/languagepb/language_service.pb.go b/language/apiv1beta2/languagepb/language_service.pb.go index a2fe78657301..f0cccd660e43 100755 --- a/language/apiv1beta2/languagepb/language_service.pb.go +++ b/language/apiv1beta2/languagepb/language_service.pb.go @@ -22,15 +22,14 @@ package languagepb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/language/apiv2/auxiliary.go b/language/apiv2/auxiliary.go index f4c6d0a94251..2229db2887eb 100755 --- a/language/apiv2/auxiliary.go +++ b/language/apiv2/auxiliary.go @@ -15,3 +15,5 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package language + +import () diff --git a/language/apiv2/auxiliary_go123.go b/language/apiv2/auxiliary_go123.go index b806c365989f..8cb64e7e699b 100755 --- a/language/apiv2/auxiliary_go123.go +++ b/language/apiv2/auxiliary_go123.go @@ -17,3 +17,5 @@ //go:build go1.23 package language + +import () diff --git a/language/apiv2/language_client_example_go123_test.go b/language/apiv2/language_client_example_go123_test.go index 75eec9bc9c4c..a351bd556cb2 100644 --- a/language/apiv2/language_client_example_go123_test.go +++ b/language/apiv2/language_client_example_go123_test.go @@ -17,3 +17,7 @@ //go:build go1.23 package language_test + +import ( + language "cloud.google.com/go/language/apiv2" +) diff --git a/language/apiv2/languagepb/language_service.pb.go b/language/apiv2/languagepb/language_service.pb.go index 615661ae1244..007ef7a7a173 100755 --- a/language/apiv2/languagepb/language_service.pb.go +++ b/language/apiv2/languagepb/language_service.pb.go @@ -22,15 +22,14 @@ package languagepb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/lifesciences/apiv2beta/lifesciencespb/workflows.pb.go b/lifesciences/apiv2beta/lifesciencespb/workflows.pb.go index 48f763b2f68e..1ae9072263d9 100755 --- a/lifesciences/apiv2beta/lifesciencespb/workflows.pb.go +++ b/lifesciences/apiv2beta/lifesciencespb/workflows.pb.go @@ -21,11 +21,8 @@ package lifesciencespb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" code "google.golang.org/genproto/googleapis/rpc/code" grpc "google.golang.org/grpc" @@ -35,6 +32,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/logging/apiv2/loggingpb/log_entry.pb.go b/logging/apiv2/loggingpb/log_entry.pb.go index 2be3cccb23ee..04cfc5090a20 100755 --- a/logging/apiv2/loggingpb/log_entry.pb.go +++ b/logging/apiv2/loggingpb/log_entry.pb.go @@ -21,9 +21,6 @@ package loggingpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" monitoredres "google.golang.org/genproto/googleapis/api/monitoredres" _type "google.golang.org/genproto/googleapis/logging/type" @@ -32,6 +29,8 @@ import ( anypb "google.golang.org/protobuf/types/known/anypb" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/logging/apiv2/loggingpb/logging.pb.go b/logging/apiv2/loggingpb/logging.pb.go index 2e21a84bec7d..5f8ff426793a 100755 --- a/logging/apiv2/loggingpb/logging.pb.go +++ b/logging/apiv2/loggingpb/logging.pb.go @@ -22,9 +22,6 @@ package loggingpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" monitoredres "google.golang.org/genproto/googleapis/api/monitoredres" status "google.golang.org/genproto/googleapis/rpc/status" @@ -35,6 +32,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" emptypb "google.golang.org/protobuf/types/known/emptypb" + reflect "reflect" + sync "sync" ) const ( diff --git a/logging/apiv2/loggingpb/logging_config.pb.go b/logging/apiv2/loggingpb/logging_config.pb.go index 47428daa5a47..603525a9c93b 100755 --- a/logging/apiv2/loggingpb/logging_config.pb.go +++ b/logging/apiv2/loggingpb/logging_config.pb.go @@ -21,11 +21,8 @@ package loggingpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/logging/apiv2/loggingpb/logging_metrics.pb.go b/logging/apiv2/loggingpb/logging_metrics.pb.go index db4193b7b6f1..9f43abb2e243 100755 --- a/logging/apiv2/loggingpb/logging_metrics.pb.go +++ b/logging/apiv2/loggingpb/logging_metrics.pb.go @@ -22,9 +22,6 @@ package loggingpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" distribution "google.golang.org/genproto/googleapis/api/distribution" metric "google.golang.org/genproto/googleapis/api/metric" @@ -35,6 +32,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/longrunning/autogen/longrunningpb/operations.pb.go b/longrunning/autogen/longrunningpb/operations.pb.go index 0a4d66c6373a..03578499432f 100755 --- a/longrunning/autogen/longrunningpb/operations.pb.go +++ b/longrunning/autogen/longrunningpb/operations.pb.go @@ -22,9 +22,6 @@ package longrunningpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -36,6 +33,8 @@ import ( anypb "google.golang.org/protobuf/types/known/anypb" durationpb "google.golang.org/protobuf/types/known/durationpb" emptypb "google.golang.org/protobuf/types/known/emptypb" + reflect "reflect" + sync "sync" ) const ( diff --git a/managedidentities/apiv1/managedidentitiespb/managed_identities_service.pb.go b/managedidentities/apiv1/managedidentitiespb/managed_identities_service.pb.go index 831d7ef07dc3..9aa9cdaa59a9 100755 --- a/managedidentities/apiv1/managedidentitiespb/managed_identities_service.pb.go +++ b/managedidentities/apiv1/managedidentitiespb/managed_identities_service.pb.go @@ -22,11 +22,8 @@ package managedidentitiespb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/managedidentities/apiv1/managedidentitiespb/resource.pb.go b/managedidentities/apiv1/managedidentitiespb/resource.pb.go index 782dfdae857c..dd01a787f27b 100755 --- a/managedidentities/apiv1/managedidentitiespb/resource.pb.go +++ b/managedidentities/apiv1/managedidentitiespb/resource.pb.go @@ -22,13 +22,12 @@ package managedidentitiespb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/managedkafka/apiv1/managedkafkapb/managed_kafka.pb.go b/managedkafka/apiv1/managedkafkapb/managed_kafka.pb.go index 731f661533ce..194abddacb3b 100755 --- a/managedkafka/apiv1/managedkafkapb/managed_kafka.pb.go +++ b/managedkafka/apiv1/managedkafkapb/managed_kafka.pb.go @@ -21,11 +21,8 @@ package managedkafkapb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/managedkafka/apiv1/managedkafkapb/resources.pb.go b/managedkafka/apiv1/managedkafkapb/resources.pb.go index 7c1419103846..8aa6f8d3b589 100755 --- a/managedkafka/apiv1/managedkafkapb/resources.pb.go +++ b/managedkafka/apiv1/managedkafkapb/resources.pb.go @@ -21,13 +21,12 @@ package managedkafkapb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/addressvalidation/apiv1/address_validation_client_example_go123_test.go b/maps/addressvalidation/apiv1/address_validation_client_example_go123_test.go index ff4edc083ed0..78076fb4f9b9 100644 --- a/maps/addressvalidation/apiv1/address_validation_client_example_go123_test.go +++ b/maps/addressvalidation/apiv1/address_validation_client_example_go123_test.go @@ -17,3 +17,7 @@ //go:build go1.23 package addressvalidation_test + +import ( + addressvalidation "cloud.google.com/go/maps/addressvalidation/apiv1" +) diff --git a/maps/addressvalidation/apiv1/addressvalidationpb/address.pb.go b/maps/addressvalidation/apiv1/addressvalidationpb/address.pb.go index 8709a0b723a7..0dad81010436 100755 --- a/maps/addressvalidation/apiv1/addressvalidationpb/address.pb.go +++ b/maps/addressvalidation/apiv1/addressvalidationpb/address.pb.go @@ -21,13 +21,12 @@ package addressvalidationpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" postaladdress "google.golang.org/genproto/googleapis/type/postaladdress" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/addressvalidation/apiv1/addressvalidationpb/address_validation_service.pb.go b/maps/addressvalidation/apiv1/addressvalidationpb/address_validation_service.pb.go index 09885f961e49..33c31e57e56e 100755 --- a/maps/addressvalidation/apiv1/addressvalidationpb/address_validation_service.pb.go +++ b/maps/addressvalidation/apiv1/addressvalidationpb/address_validation_service.pb.go @@ -22,9 +22,6 @@ package addressvalidationpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" postaladdress "google.golang.org/genproto/googleapis/type/postaladdress" grpc "google.golang.org/grpc" @@ -32,6 +29,8 @@ import ( status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/addressvalidation/apiv1/addressvalidationpb/geocode.pb.go b/maps/addressvalidation/apiv1/addressvalidationpb/geocode.pb.go index b541ede3086a..f1615afeeeb4 100755 --- a/maps/addressvalidation/apiv1/addressvalidationpb/geocode.pb.go +++ b/maps/addressvalidation/apiv1/addressvalidationpb/geocode.pb.go @@ -21,13 +21,12 @@ package addressvalidationpb import ( - reflect "reflect" - sync "sync" - viewport "google.golang.org/genproto/googleapis/geo/type/viewport" latlng "google.golang.org/genproto/googleapis/type/latlng" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/addressvalidation/apiv1/addressvalidationpb/metadata.pb.go b/maps/addressvalidation/apiv1/addressvalidationpb/metadata.pb.go index b2893dd3f744..521b9390ba35 100755 --- a/maps/addressvalidation/apiv1/addressvalidationpb/metadata.pb.go +++ b/maps/addressvalidation/apiv1/addressvalidationpb/metadata.pb.go @@ -21,11 +21,10 @@ package addressvalidationpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/addressvalidation/apiv1/addressvalidationpb/usps_data.pb.go b/maps/addressvalidation/apiv1/addressvalidationpb/usps_data.pb.go index ac0054c9bfb7..fe2b176f7622 100755 --- a/maps/addressvalidation/apiv1/addressvalidationpb/usps_data.pb.go +++ b/maps/addressvalidation/apiv1/addressvalidationpb/usps_data.pb.go @@ -21,11 +21,10 @@ package addressvalidationpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/addressvalidation/apiv1/auxiliary.go b/maps/addressvalidation/apiv1/auxiliary.go index 6cf00b0a6f6e..b1e1010794de 100755 --- a/maps/addressvalidation/apiv1/auxiliary.go +++ b/maps/addressvalidation/apiv1/auxiliary.go @@ -15,3 +15,5 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package addressvalidation + +import () diff --git a/maps/addressvalidation/apiv1/auxiliary_go123.go b/maps/addressvalidation/apiv1/auxiliary_go123.go index be4ba17b95ef..8191a7b40f18 100755 --- a/maps/addressvalidation/apiv1/auxiliary_go123.go +++ b/maps/addressvalidation/apiv1/auxiliary_go123.go @@ -17,3 +17,5 @@ //go:build go1.23 package addressvalidation + +import () diff --git a/maps/areainsights/apiv1/area_insights_client_example_go123_test.go b/maps/areainsights/apiv1/area_insights_client_example_go123_test.go index a4b1de17f74b..afc40aac83df 100644 --- a/maps/areainsights/apiv1/area_insights_client_example_go123_test.go +++ b/maps/areainsights/apiv1/area_insights_client_example_go123_test.go @@ -17,3 +17,7 @@ //go:build go1.23 package areainsights_test + +import ( + areainsights "cloud.google.com/go/maps/areainsights/apiv1" +) diff --git a/maps/areainsights/apiv1/areainsightspb/area_insights_service.pb.go b/maps/areainsights/apiv1/areainsightspb/area_insights_service.pb.go index 37d7e92149aa..9716a34be7bb 100755 --- a/maps/areainsights/apiv1/areainsightspb/area_insights_service.pb.go +++ b/maps/areainsights/apiv1/areainsightspb/area_insights_service.pb.go @@ -22,9 +22,6 @@ package areainsightspb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" latlng "google.golang.org/genproto/googleapis/type/latlng" grpc "google.golang.org/grpc" @@ -32,6 +29,8 @@ import ( status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/areainsights/apiv1/auxiliary.go b/maps/areainsights/apiv1/auxiliary.go index 24bcc7837d6e..de093293fabd 100755 --- a/maps/areainsights/apiv1/auxiliary.go +++ b/maps/areainsights/apiv1/auxiliary.go @@ -15,3 +15,5 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package areainsights + +import () diff --git a/maps/areainsights/apiv1/auxiliary_go123.go b/maps/areainsights/apiv1/auxiliary_go123.go index 2d5fe26c7f1d..adb8d1c28c5d 100755 --- a/maps/areainsights/apiv1/auxiliary_go123.go +++ b/maps/areainsights/apiv1/auxiliary_go123.go @@ -17,3 +17,5 @@ //go:build go1.23 package areainsights + +import () diff --git a/maps/fleetengine/apiv1/fleetenginepb/fleetengine.pb.go b/maps/fleetengine/apiv1/fleetenginepb/fleetengine.pb.go index 4076fe50dc41..8eec8731e5bb 100755 --- a/maps/fleetengine/apiv1/fleetenginepb/fleetengine.pb.go +++ b/maps/fleetengine/apiv1/fleetenginepb/fleetengine.pb.go @@ -21,9 +21,6 @@ package fleetenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" latlng "google.golang.org/genproto/googleapis/type/latlng" protoreflect "google.golang.org/protobuf/reflect/protoreflect" @@ -31,6 +28,8 @@ import ( durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/fleetengine/apiv1/fleetenginepb/header.pb.go b/maps/fleetengine/apiv1/fleetenginepb/header.pb.go index b0eae2990413..c3518d485470 100755 --- a/maps/fleetengine/apiv1/fleetenginepb/header.pb.go +++ b/maps/fleetengine/apiv1/fleetenginepb/header.pb.go @@ -21,12 +21,11 @@ package fleetenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/fleetengine/apiv1/fleetenginepb/traffic.pb.go b/maps/fleetengine/apiv1/fleetenginepb/traffic.pb.go index 7db9a3262375..7749be2c7a68 100755 --- a/maps/fleetengine/apiv1/fleetenginepb/traffic.pb.go +++ b/maps/fleetengine/apiv1/fleetenginepb/traffic.pb.go @@ -21,11 +21,10 @@ package fleetenginepb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/fleetengine/apiv1/fleetenginepb/trip_api.pb.go b/maps/fleetengine/apiv1/fleetenginepb/trip_api.pb.go index 38ef655fef54..80ac4b07d322 100755 --- a/maps/fleetengine/apiv1/fleetenginepb/trip_api.pb.go +++ b/maps/fleetengine/apiv1/fleetenginepb/trip_api.pb.go @@ -22,9 +22,6 @@ package fleetenginepb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/fleetengine/apiv1/fleetenginepb/trips.pb.go b/maps/fleetengine/apiv1/fleetenginepb/trips.pb.go index a8df6798e418..6bd9dd290d30 100755 --- a/maps/fleetengine/apiv1/fleetenginepb/trips.pb.go +++ b/maps/fleetengine/apiv1/fleetenginepb/trips.pb.go @@ -21,9 +21,6 @@ package fleetenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" latlng "google.golang.org/genproto/googleapis/type/latlng" protoreflect "google.golang.org/protobuf/reflect/protoreflect" @@ -31,6 +28,8 @@ import ( durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/fleetengine/apiv1/fleetenginepb/vehicle_api.pb.go b/maps/fleetengine/apiv1/fleetenginepb/vehicle_api.pb.go index 420a1a75cda1..5272f54f32b7 100755 --- a/maps/fleetengine/apiv1/fleetenginepb/vehicle_api.pb.go +++ b/maps/fleetengine/apiv1/fleetenginepb/vehicle_api.pb.go @@ -22,9 +22,6 @@ package fleetenginepb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" viewport "google.golang.org/genproto/googleapis/geo/type/viewport" latlng "google.golang.org/genproto/googleapis/type/latlng" @@ -37,6 +34,8 @@ import ( fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/fleetengine/apiv1/fleetenginepb/vehicles.pb.go b/maps/fleetengine/apiv1/fleetenginepb/vehicles.pb.go index da1c15ef8c23..ecfc5e7dbb7a 100755 --- a/maps/fleetengine/apiv1/fleetenginepb/vehicles.pb.go +++ b/maps/fleetengine/apiv1/fleetenginepb/vehicles.pb.go @@ -21,14 +21,13 @@ package fleetenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/fleetengine/delivery/apiv1/deliverypb/common.pb.go b/maps/fleetengine/delivery/apiv1/deliverypb/common.pb.go index 35436249072b..0f776e806d0d 100755 --- a/maps/fleetengine/delivery/apiv1/deliverypb/common.pb.go +++ b/maps/fleetengine/delivery/apiv1/deliverypb/common.pb.go @@ -21,15 +21,14 @@ package deliverypb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" latlng "google.golang.org/genproto/googleapis/type/latlng" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/fleetengine/delivery/apiv1/deliverypb/delivery_api.pb.go b/maps/fleetengine/delivery/apiv1/deliverypb/delivery_api.pb.go index 0eeafd4aa6e6..0d6f92a409d6 100755 --- a/maps/fleetengine/delivery/apiv1/deliverypb/delivery_api.pb.go +++ b/maps/fleetengine/delivery/apiv1/deliverypb/delivery_api.pb.go @@ -22,9 +22,6 @@ package deliverypb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" viewport "google.golang.org/genproto/googleapis/geo/type/viewport" grpc "google.golang.org/grpc" @@ -33,6 +30,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/fleetengine/delivery/apiv1/deliverypb/delivery_vehicles.pb.go b/maps/fleetengine/delivery/apiv1/deliverypb/delivery_vehicles.pb.go index 2f38cbec3f1b..13e39812b167 100755 --- a/maps/fleetengine/delivery/apiv1/deliverypb/delivery_vehicles.pb.go +++ b/maps/fleetengine/delivery/apiv1/deliverypb/delivery_vehicles.pb.go @@ -21,15 +21,14 @@ package deliverypb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" latlng "google.golang.org/genproto/googleapis/type/latlng" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/fleetengine/delivery/apiv1/deliverypb/header.pb.go b/maps/fleetengine/delivery/apiv1/deliverypb/header.pb.go index 2ebd0ccf224c..430f215c30e6 100755 --- a/maps/fleetengine/delivery/apiv1/deliverypb/header.pb.go +++ b/maps/fleetengine/delivery/apiv1/deliverypb/header.pb.go @@ -21,12 +21,11 @@ package deliverypb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/fleetengine/delivery/apiv1/deliverypb/task_tracking_info.pb.go b/maps/fleetengine/delivery/apiv1/deliverypb/task_tracking_info.pb.go index 480ed124cc7c..b57dca7dec67 100755 --- a/maps/fleetengine/delivery/apiv1/deliverypb/task_tracking_info.pb.go +++ b/maps/fleetengine/delivery/apiv1/deliverypb/task_tracking_info.pb.go @@ -21,15 +21,14 @@ package deliverypb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" latlng "google.golang.org/genproto/googleapis/type/latlng" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/fleetengine/delivery/apiv1/deliverypb/tasks.pb.go b/maps/fleetengine/delivery/apiv1/deliverypb/tasks.pb.go index eba57c3dfc71..67486e8968e9 100755 --- a/maps/fleetengine/delivery/apiv1/deliverypb/tasks.pb.go +++ b/maps/fleetengine/delivery/apiv1/deliverypb/tasks.pb.go @@ -21,14 +21,13 @@ package deliverypb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/places/apiv1/auxiliary.go b/maps/places/apiv1/auxiliary.go index 3ca263245c18..9674787f1122 100755 --- a/maps/places/apiv1/auxiliary.go +++ b/maps/places/apiv1/auxiliary.go @@ -15,3 +15,5 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package places + +import () diff --git a/maps/places/apiv1/auxiliary_go123.go b/maps/places/apiv1/auxiliary_go123.go index 10220dcb331d..75ac97bf2047 100755 --- a/maps/places/apiv1/auxiliary_go123.go +++ b/maps/places/apiv1/auxiliary_go123.go @@ -17,3 +17,5 @@ //go:build go1.23 package places + +import () diff --git a/maps/places/apiv1/places_client_example_go123_test.go b/maps/places/apiv1/places_client_example_go123_test.go index 1b58e7bfffac..9a0e72060421 100644 --- a/maps/places/apiv1/places_client_example_go123_test.go +++ b/maps/places/apiv1/places_client_example_go123_test.go @@ -17,3 +17,7 @@ //go:build go1.23 package places_test + +import ( + places "cloud.google.com/go/maps/places/apiv1" +) diff --git a/maps/places/apiv1/placespb/attribution.pb.go b/maps/places/apiv1/placespb/attribution.pb.go index eddb017e8d3f..9678feb81ba7 100755 --- a/maps/places/apiv1/placespb/attribution.pb.go +++ b/maps/places/apiv1/placespb/attribution.pb.go @@ -21,11 +21,10 @@ package placespb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/places/apiv1/placespb/content_block.pb.go b/maps/places/apiv1/placespb/content_block.pb.go index 514b7aff2084..84f9053332d2 100755 --- a/maps/places/apiv1/placespb/content_block.pb.go +++ b/maps/places/apiv1/placespb/content_block.pb.go @@ -21,12 +21,11 @@ package placespb import ( - reflect "reflect" - sync "sync" - localized_text "google.golang.org/genproto/googleapis/type/localized_text" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/places/apiv1/placespb/contextual_content.pb.go b/maps/places/apiv1/placespb/contextual_content.pb.go index 664ee37c26bc..40d95d73ea79 100755 --- a/maps/places/apiv1/placespb/contextual_content.pb.go +++ b/maps/places/apiv1/placespb/contextual_content.pb.go @@ -21,11 +21,10 @@ package placespb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/places/apiv1/placespb/ev_charging.pb.go b/maps/places/apiv1/placespb/ev_charging.pb.go index 763b38ba554f..f918d88a369f 100755 --- a/maps/places/apiv1/placespb/ev_charging.pb.go +++ b/maps/places/apiv1/placespb/ev_charging.pb.go @@ -21,12 +21,11 @@ package placespb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/places/apiv1/placespb/fuel_options.pb.go b/maps/places/apiv1/placespb/fuel_options.pb.go index 87fe93457041..e2d7357b7455 100755 --- a/maps/places/apiv1/placespb/fuel_options.pb.go +++ b/maps/places/apiv1/placespb/fuel_options.pb.go @@ -21,13 +21,12 @@ package placespb import ( - reflect "reflect" - sync "sync" - money "google.golang.org/genproto/googleapis/type/money" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/places/apiv1/placespb/geometry.pb.go b/maps/places/apiv1/placespb/geometry.pb.go index 29683ba1c944..c98289592374 100755 --- a/maps/places/apiv1/placespb/geometry.pb.go +++ b/maps/places/apiv1/placespb/geometry.pb.go @@ -21,13 +21,12 @@ package placespb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" latlng "google.golang.org/genproto/googleapis/type/latlng" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/places/apiv1/placespb/photo.pb.go b/maps/places/apiv1/placespb/photo.pb.go index 3deca9e44f0a..d53b138527cf 100755 --- a/maps/places/apiv1/placespb/photo.pb.go +++ b/maps/places/apiv1/placespb/photo.pb.go @@ -21,12 +21,11 @@ package placespb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/places/apiv1/placespb/place.pb.go b/maps/places/apiv1/placespb/place.pb.go index d5b2eb7bad48..694558545523 100755 --- a/maps/places/apiv1/placespb/place.pb.go +++ b/maps/places/apiv1/placespb/place.pb.go @@ -21,9 +21,6 @@ package placespb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" viewport "google.golang.org/genproto/googleapis/geo/type/viewport" date "google.golang.org/genproto/googleapis/type/date" @@ -31,6 +28,8 @@ import ( localized_text "google.golang.org/genproto/googleapis/type/localized_text" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/places/apiv1/placespb/places_service.pb.go b/maps/places/apiv1/placespb/places_service.pb.go index 801a4b0987f6..6e013ec47ace 100755 --- a/maps/places/apiv1/placespb/places_service.pb.go +++ b/maps/places/apiv1/placespb/places_service.pb.go @@ -22,9 +22,6 @@ package placespb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" viewport "google.golang.org/genproto/googleapis/geo/type/viewport" latlng "google.golang.org/genproto/googleapis/type/latlng" @@ -33,6 +30,8 @@ import ( status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/places/apiv1/placespb/polyline.pb.go b/maps/places/apiv1/placespb/polyline.pb.go index 8205f46f1ea0..c31a6e6e612a 100755 --- a/maps/places/apiv1/placespb/polyline.pb.go +++ b/maps/places/apiv1/placespb/polyline.pb.go @@ -21,11 +21,10 @@ package placespb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/places/apiv1/placespb/reference.pb.go b/maps/places/apiv1/placespb/reference.pb.go index 14cc0fc70d2a..2b2b655792f8 100755 --- a/maps/places/apiv1/placespb/reference.pb.go +++ b/maps/places/apiv1/placespb/reference.pb.go @@ -21,12 +21,11 @@ package placespb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/places/apiv1/placespb/review.pb.go b/maps/places/apiv1/placespb/review.pb.go index 0df1a17e363f..6026189e528a 100755 --- a/maps/places/apiv1/placespb/review.pb.go +++ b/maps/places/apiv1/placespb/review.pb.go @@ -21,14 +21,13 @@ package placespb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" localized_text "google.golang.org/genproto/googleapis/type/localized_text" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/places/apiv1/placespb/route_modifiers.pb.go b/maps/places/apiv1/placespb/route_modifiers.pb.go index 176eefe74c27..176f3c06df68 100755 --- a/maps/places/apiv1/placespb/route_modifiers.pb.go +++ b/maps/places/apiv1/placespb/route_modifiers.pb.go @@ -21,12 +21,11 @@ package placespb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/places/apiv1/placespb/routing_preference.pb.go b/maps/places/apiv1/placespb/routing_preference.pb.go index cf9d22bf9d23..43cd6aaf1717 100755 --- a/maps/places/apiv1/placespb/routing_preference.pb.go +++ b/maps/places/apiv1/placespb/routing_preference.pb.go @@ -21,11 +21,10 @@ package placespb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/places/apiv1/placespb/routing_summary.pb.go b/maps/places/apiv1/placespb/routing_summary.pb.go index 9dba502c9aec..5ee5353f40e2 100755 --- a/maps/places/apiv1/placespb/routing_summary.pb.go +++ b/maps/places/apiv1/placespb/routing_summary.pb.go @@ -21,12 +21,11 @@ package placespb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/places/apiv1/placespb/travel_mode.pb.go b/maps/places/apiv1/placespb/travel_mode.pb.go index 3a60b69fcbe3..42da0ae85b9d 100755 --- a/maps/places/apiv1/placespb/travel_mode.pb.go +++ b/maps/places/apiv1/placespb/travel_mode.pb.go @@ -21,11 +21,10 @@ package placespb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/routeoptimization/apiv1/auxiliary_go123.go b/maps/routeoptimization/apiv1/auxiliary_go123.go index 4be921cc562f..bea551e9ff00 100755 --- a/maps/routeoptimization/apiv1/auxiliary_go123.go +++ b/maps/routeoptimization/apiv1/auxiliary_go123.go @@ -17,3 +17,5 @@ //go:build go1.23 package routeoptimization + +import () diff --git a/maps/routeoptimization/apiv1/route_optimization_client_example_go123_test.go b/maps/routeoptimization/apiv1/route_optimization_client_example_go123_test.go index cbb50b0fc770..577a53ad83f3 100644 --- a/maps/routeoptimization/apiv1/route_optimization_client_example_go123_test.go +++ b/maps/routeoptimization/apiv1/route_optimization_client_example_go123_test.go @@ -17,3 +17,7 @@ //go:build go1.23 package routeoptimization_test + +import ( + routeoptimization "cloud.google.com/go/maps/routeoptimization/apiv1" +) diff --git a/maps/routeoptimization/apiv1/routeoptimizationpb/route_optimization_service.pb.go b/maps/routeoptimization/apiv1/routeoptimizationpb/route_optimization_service.pb.go index d1aa0e6c0fc4..4da62354c076 100755 --- a/maps/routeoptimization/apiv1/routeoptimizationpb/route_optimization_service.pb.go +++ b/maps/routeoptimization/apiv1/routeoptimizationpb/route_optimization_service.pb.go @@ -21,11 +21,8 @@ package routeoptimizationpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" latlng "google.golang.org/genproto/googleapis/type/latlng" grpc "google.golang.org/grpc" @@ -35,6 +32,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/routing/apiv2/auxiliary.go b/maps/routing/apiv2/auxiliary.go index b51142acd05b..ee0e118a7c16 100755 --- a/maps/routing/apiv2/auxiliary.go +++ b/maps/routing/apiv2/auxiliary.go @@ -15,3 +15,5 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package routing + +import () diff --git a/maps/routing/apiv2/auxiliary_go123.go b/maps/routing/apiv2/auxiliary_go123.go index e4b40511594a..5f3c4a72b7f1 100755 --- a/maps/routing/apiv2/auxiliary_go123.go +++ b/maps/routing/apiv2/auxiliary_go123.go @@ -17,3 +17,5 @@ //go:build go1.23 package routing + +import () diff --git a/maps/routing/apiv2/routes_client_example_go123_test.go b/maps/routing/apiv2/routes_client_example_go123_test.go index 45099ed5d62a..08851db21ad9 100644 --- a/maps/routing/apiv2/routes_client_example_go123_test.go +++ b/maps/routing/apiv2/routes_client_example_go123_test.go @@ -17,3 +17,7 @@ //go:build go1.23 package routing_test + +import ( + routing "cloud.google.com/go/maps/routing/apiv2" +) diff --git a/maps/routing/apiv2/routingpb/fallback_info.pb.go b/maps/routing/apiv2/routingpb/fallback_info.pb.go index 94aba384ca9d..ef79e90635ae 100755 --- a/maps/routing/apiv2/routingpb/fallback_info.pb.go +++ b/maps/routing/apiv2/routingpb/fallback_info.pb.go @@ -21,11 +21,10 @@ package routingpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/routing/apiv2/routingpb/geocoding_results.pb.go b/maps/routing/apiv2/routingpb/geocoding_results.pb.go index 1b0120c2837d..49888dc3290f 100755 --- a/maps/routing/apiv2/routingpb/geocoding_results.pb.go +++ b/maps/routing/apiv2/routingpb/geocoding_results.pb.go @@ -21,12 +21,11 @@ package routingpb import ( - reflect "reflect" - sync "sync" - status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/routing/apiv2/routingpb/localized_time.pb.go b/maps/routing/apiv2/routingpb/localized_time.pb.go index 5674785b2cbf..0a300b2e0cda 100755 --- a/maps/routing/apiv2/routingpb/localized_time.pb.go +++ b/maps/routing/apiv2/routingpb/localized_time.pb.go @@ -21,12 +21,11 @@ package routingpb import ( - reflect "reflect" - sync "sync" - localized_text "google.golang.org/genproto/googleapis/type/localized_text" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/routing/apiv2/routingpb/location.pb.go b/maps/routing/apiv2/routingpb/location.pb.go index 56ee76512d81..818825171e64 100755 --- a/maps/routing/apiv2/routingpb/location.pb.go +++ b/maps/routing/apiv2/routingpb/location.pb.go @@ -21,13 +21,12 @@ package routingpb import ( - reflect "reflect" - sync "sync" - latlng "google.golang.org/genproto/googleapis/type/latlng" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/routing/apiv2/routingpb/maneuver.pb.go b/maps/routing/apiv2/routingpb/maneuver.pb.go index 2afa31363187..8cfa1a2a9b2e 100755 --- a/maps/routing/apiv2/routingpb/maneuver.pb.go +++ b/maps/routing/apiv2/routingpb/maneuver.pb.go @@ -21,11 +21,10 @@ package routingpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/routing/apiv2/routingpb/navigation_instruction.pb.go b/maps/routing/apiv2/routingpb/navigation_instruction.pb.go index f09344207205..6ca9e8759896 100755 --- a/maps/routing/apiv2/routingpb/navigation_instruction.pb.go +++ b/maps/routing/apiv2/routingpb/navigation_instruction.pb.go @@ -21,11 +21,10 @@ package routingpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/routing/apiv2/routingpb/polyline.pb.go b/maps/routing/apiv2/routingpb/polyline.pb.go index 198b58bed985..a74da5f02b2b 100755 --- a/maps/routing/apiv2/routingpb/polyline.pb.go +++ b/maps/routing/apiv2/routingpb/polyline.pb.go @@ -21,12 +21,11 @@ package routingpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/routing/apiv2/routingpb/route.pb.go b/maps/routing/apiv2/routingpb/route.pb.go index db3817406826..5a65f8d6d2c1 100755 --- a/maps/routing/apiv2/routingpb/route.pb.go +++ b/maps/routing/apiv2/routingpb/route.pb.go @@ -21,9 +21,6 @@ package routingpb import ( - reflect "reflect" - sync "sync" - viewport "google.golang.org/genproto/googleapis/geo/type/viewport" localized_text "google.golang.org/genproto/googleapis/type/localized_text" money "google.golang.org/genproto/googleapis/type/money" @@ -31,6 +28,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/routing/apiv2/routingpb/route_label.pb.go b/maps/routing/apiv2/routingpb/route_label.pb.go index b342d4e15290..603880fa4591 100755 --- a/maps/routing/apiv2/routingpb/route_label.pb.go +++ b/maps/routing/apiv2/routingpb/route_label.pb.go @@ -21,11 +21,10 @@ package routingpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/routing/apiv2/routingpb/route_modifiers.pb.go b/maps/routing/apiv2/routingpb/route_modifiers.pb.go index 275547ea8342..e60ac8e52e60 100755 --- a/maps/routing/apiv2/routingpb/route_modifiers.pb.go +++ b/maps/routing/apiv2/routingpb/route_modifiers.pb.go @@ -21,11 +21,10 @@ package routingpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/routing/apiv2/routingpb/route_travel_mode.pb.go b/maps/routing/apiv2/routingpb/route_travel_mode.pb.go index 1a70e3b97228..ce45f203bed1 100755 --- a/maps/routing/apiv2/routingpb/route_travel_mode.pb.go +++ b/maps/routing/apiv2/routingpb/route_travel_mode.pb.go @@ -21,11 +21,10 @@ package routingpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/routing/apiv2/routingpb/routes_service.pb.go b/maps/routing/apiv2/routingpb/routes_service.pb.go index 3c625a505667..5697c49961cc 100755 --- a/maps/routing/apiv2/routingpb/routes_service.pb.go +++ b/maps/routing/apiv2/routingpb/routes_service.pb.go @@ -22,9 +22,6 @@ package routingpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" localized_text "google.golang.org/genproto/googleapis/type/localized_text" @@ -35,6 +32,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/routing/apiv2/routingpb/routing_preference.pb.go b/maps/routing/apiv2/routingpb/routing_preference.pb.go index 503d93a0f677..2710679c5e8b 100755 --- a/maps/routing/apiv2/routingpb/routing_preference.pb.go +++ b/maps/routing/apiv2/routingpb/routing_preference.pb.go @@ -21,11 +21,10 @@ package routingpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/routing/apiv2/routingpb/speed_reading_interval.pb.go b/maps/routing/apiv2/routingpb/speed_reading_interval.pb.go index d14ceb10e6c9..e901dfc01b47 100755 --- a/maps/routing/apiv2/routingpb/speed_reading_interval.pb.go +++ b/maps/routing/apiv2/routingpb/speed_reading_interval.pb.go @@ -21,11 +21,10 @@ package routingpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/routing/apiv2/routingpb/toll_info.pb.go b/maps/routing/apiv2/routingpb/toll_info.pb.go index d423669e7e4b..2c799e36ce3f 100755 --- a/maps/routing/apiv2/routingpb/toll_info.pb.go +++ b/maps/routing/apiv2/routingpb/toll_info.pb.go @@ -21,12 +21,11 @@ package routingpb import ( - reflect "reflect" - sync "sync" - money "google.golang.org/genproto/googleapis/type/money" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/routing/apiv2/routingpb/toll_passes.pb.go b/maps/routing/apiv2/routingpb/toll_passes.pb.go index 5ecc0f873c24..fd59699a134d 100755 --- a/maps/routing/apiv2/routingpb/toll_passes.pb.go +++ b/maps/routing/apiv2/routingpb/toll_passes.pb.go @@ -21,11 +21,10 @@ package routingpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/routing/apiv2/routingpb/traffic_model.pb.go b/maps/routing/apiv2/routingpb/traffic_model.pb.go index dc50dde8c2ae..deb3e45ccddd 100755 --- a/maps/routing/apiv2/routingpb/traffic_model.pb.go +++ b/maps/routing/apiv2/routingpb/traffic_model.pb.go @@ -21,11 +21,10 @@ package routingpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/routing/apiv2/routingpb/transit.pb.go b/maps/routing/apiv2/routingpb/transit.pb.go index 23eb1411ac7b..72ba9588b2c2 100755 --- a/maps/routing/apiv2/routingpb/transit.pb.go +++ b/maps/routing/apiv2/routingpb/transit.pb.go @@ -21,12 +21,11 @@ package routingpb import ( - reflect "reflect" - sync "sync" - localized_text "google.golang.org/genproto/googleapis/type/localized_text" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/routing/apiv2/routingpb/transit_preferences.pb.go b/maps/routing/apiv2/routingpb/transit_preferences.pb.go index 090a3e899501..e1765f7a79eb 100755 --- a/maps/routing/apiv2/routingpb/transit_preferences.pb.go +++ b/maps/routing/apiv2/routingpb/transit_preferences.pb.go @@ -21,11 +21,10 @@ package routingpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/routing/apiv2/routingpb/units.pb.go b/maps/routing/apiv2/routingpb/units.pb.go index 338cc7cd9c37..f6fa26c0bd0d 100755 --- a/maps/routing/apiv2/routingpb/units.pb.go +++ b/maps/routing/apiv2/routingpb/units.pb.go @@ -21,11 +21,10 @@ package routingpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/routing/apiv2/routingpb/vehicle_emission_type.pb.go b/maps/routing/apiv2/routingpb/vehicle_emission_type.pb.go index 84d071683fb6..6b4cdda74418 100755 --- a/maps/routing/apiv2/routingpb/vehicle_emission_type.pb.go +++ b/maps/routing/apiv2/routingpb/vehicle_emission_type.pb.go @@ -21,11 +21,10 @@ package routingpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/routing/apiv2/routingpb/vehicle_info.pb.go b/maps/routing/apiv2/routingpb/vehicle_info.pb.go index 4d0bc86454b8..5f0a2e4660fb 100755 --- a/maps/routing/apiv2/routingpb/vehicle_info.pb.go +++ b/maps/routing/apiv2/routingpb/vehicle_info.pb.go @@ -21,11 +21,10 @@ package routingpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/routing/apiv2/routingpb/waypoint.pb.go b/maps/routing/apiv2/routingpb/waypoint.pb.go index 5facfcc04cec..9e92e1f6d48e 100755 --- a/maps/routing/apiv2/routingpb/waypoint.pb.go +++ b/maps/routing/apiv2/routingpb/waypoint.pb.go @@ -21,11 +21,10 @@ package routingpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/solar/apiv1/auxiliary.go b/maps/solar/apiv1/auxiliary.go index affd145393b2..601f31dcf3d2 100755 --- a/maps/solar/apiv1/auxiliary.go +++ b/maps/solar/apiv1/auxiliary.go @@ -15,3 +15,5 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package solar + +import () diff --git a/maps/solar/apiv1/auxiliary_go123.go b/maps/solar/apiv1/auxiliary_go123.go index 6029a666c92b..e6c7c8b3b236 100755 --- a/maps/solar/apiv1/auxiliary_go123.go +++ b/maps/solar/apiv1/auxiliary_go123.go @@ -17,3 +17,5 @@ //go:build go1.23 package solar + +import () diff --git a/maps/solar/apiv1/solar_client_example_go123_test.go b/maps/solar/apiv1/solar_client_example_go123_test.go index 343bf0a05793..f1cd50cc39ab 100644 --- a/maps/solar/apiv1/solar_client_example_go123_test.go +++ b/maps/solar/apiv1/solar_client_example_go123_test.go @@ -17,3 +17,7 @@ //go:build go1.23 package solar_test + +import ( + solar "cloud.google.com/go/maps/solar/apiv1" +) diff --git a/maps/solar/apiv1/solarpb/solar_service.pb.go b/maps/solar/apiv1/solarpb/solar_service.pb.go index e322add1f30d..30f537da9270 100755 --- a/maps/solar/apiv1/solarpb/solar_service.pb.go +++ b/maps/solar/apiv1/solarpb/solar_service.pb.go @@ -22,9 +22,6 @@ package solarpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" httpbody "google.golang.org/genproto/googleapis/api/httpbody" date "google.golang.org/genproto/googleapis/type/date" @@ -35,6 +32,8 @@ import ( status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/mediatranslation/apiv1beta1/auxiliary.go b/mediatranslation/apiv1beta1/auxiliary.go index b34bfc0ec84c..2ba77fd754e3 100755 --- a/mediatranslation/apiv1beta1/auxiliary.go +++ b/mediatranslation/apiv1beta1/auxiliary.go @@ -15,3 +15,5 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package mediatranslation + +import () diff --git a/mediatranslation/apiv1beta1/auxiliary_go123.go b/mediatranslation/apiv1beta1/auxiliary_go123.go index 6b57bb21aea1..d6079e7a8bc1 100755 --- a/mediatranslation/apiv1beta1/auxiliary_go123.go +++ b/mediatranslation/apiv1beta1/auxiliary_go123.go @@ -17,3 +17,5 @@ //go:build go1.23 package mediatranslation + +import () diff --git a/mediatranslation/apiv1beta1/mediatranslationpb/media_translation.pb.go b/mediatranslation/apiv1beta1/mediatranslationpb/media_translation.pb.go index daf18b4ace92..f935aeef132c 100755 --- a/mediatranslation/apiv1beta1/mediatranslationpb/media_translation.pb.go +++ b/mediatranslation/apiv1beta1/mediatranslationpb/media_translation.pb.go @@ -22,9 +22,6 @@ package mediatranslationpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -32,6 +29,8 @@ import ( status1 "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/mediatranslation/apiv1beta1/speech_translation_client_example_go123_test.go b/mediatranslation/apiv1beta1/speech_translation_client_example_go123_test.go index b0b63c35d6a8..6050b48d34aa 100644 --- a/mediatranslation/apiv1beta1/speech_translation_client_example_go123_test.go +++ b/mediatranslation/apiv1beta1/speech_translation_client_example_go123_test.go @@ -17,3 +17,7 @@ //go:build go1.23 package mediatranslation_test + +import ( + mediatranslation "cloud.google.com/go/mediatranslation/apiv1beta1" +) diff --git a/memcache/apiv1/memcachepb/cloud_memcache.pb.go b/memcache/apiv1/memcachepb/cloud_memcache.pb.go index 9562f6ad5493..f89abe7718d0 100755 --- a/memcache/apiv1/memcachepb/cloud_memcache.pb.go +++ b/memcache/apiv1/memcachepb/cloud_memcache.pb.go @@ -21,11 +21,8 @@ package memcachepb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" dayofweek "google.golang.org/genproto/googleapis/type/dayofweek" timeofday "google.golang.org/genproto/googleapis/type/timeofday" @@ -37,6 +34,8 @@ import ( durationpb "google.golang.org/protobuf/types/known/durationpb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/memcache/apiv1beta2/memcachepb/cloud_memcache.pb.go b/memcache/apiv1beta2/memcachepb/cloud_memcache.pb.go index b4635ca5fe9c..47b0013c3335 100755 --- a/memcache/apiv1beta2/memcachepb/cloud_memcache.pb.go +++ b/memcache/apiv1beta2/memcachepb/cloud_memcache.pb.go @@ -21,11 +21,8 @@ package memcachepb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" dayofweek "google.golang.org/genproto/googleapis/type/dayofweek" timeofday "google.golang.org/genproto/googleapis/type/timeofday" @@ -37,6 +34,8 @@ import ( durationpb "google.golang.org/protobuf/types/known/durationpb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/metastore/apiv1/metastorepb/metastore.pb.go b/metastore/apiv1/metastorepb/metastore.pb.go index 0e34d771b9c9..e74e222cbbc9 100755 --- a/metastore/apiv1/metastorepb/metastore.pb.go +++ b/metastore/apiv1/metastorepb/metastore.pb.go @@ -21,11 +21,8 @@ package metastorepb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" dayofweek "google.golang.org/genproto/googleapis/type/dayofweek" grpc "google.golang.org/grpc" @@ -37,6 +34,8 @@ import ( fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( diff --git a/metastore/apiv1/metastorepb/metastore_federation.pb.go b/metastore/apiv1/metastorepb/metastore_federation.pb.go index 54b4431986a6..c89c08e4b67f 100755 --- a/metastore/apiv1/metastorepb/metastore_federation.pb.go +++ b/metastore/apiv1/metastorepb/metastore_federation.pb.go @@ -21,11 +21,8 @@ package metastorepb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/metastore/apiv1alpha/metastorepb/metastore.pb.go b/metastore/apiv1alpha/metastorepb/metastore.pb.go index b4a2825aad4a..c8ee841668d5 100755 --- a/metastore/apiv1alpha/metastorepb/metastore.pb.go +++ b/metastore/apiv1alpha/metastorepb/metastore.pb.go @@ -21,11 +21,8 @@ package metastorepb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" dayofweek "google.golang.org/genproto/googleapis/type/dayofweek" grpc "google.golang.org/grpc" @@ -37,6 +34,8 @@ import ( fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( diff --git a/metastore/apiv1alpha/metastorepb/metastore_federation.pb.go b/metastore/apiv1alpha/metastorepb/metastore_federation.pb.go index c7657f36d5be..b1d39b4c5720 100755 --- a/metastore/apiv1alpha/metastorepb/metastore_federation.pb.go +++ b/metastore/apiv1alpha/metastorepb/metastore_federation.pb.go @@ -21,11 +21,8 @@ package metastorepb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/metastore/apiv1beta/metastorepb/metastore.pb.go b/metastore/apiv1beta/metastorepb/metastore.pb.go index c526d69fc6b8..7d793cd35d0c 100755 --- a/metastore/apiv1beta/metastorepb/metastore.pb.go +++ b/metastore/apiv1beta/metastorepb/metastore.pb.go @@ -21,11 +21,8 @@ package metastorepb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" dayofweek "google.golang.org/genproto/googleapis/type/dayofweek" grpc "google.golang.org/grpc" @@ -37,6 +34,8 @@ import ( fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( diff --git a/metastore/apiv1beta/metastorepb/metastore_federation.pb.go b/metastore/apiv1beta/metastorepb/metastore_federation.pb.go index 501d2c84adf0..f56c6de50c6f 100755 --- a/metastore/apiv1beta/metastorepb/metastore_federation.pb.go +++ b/metastore/apiv1beta/metastorepb/metastore_federation.pb.go @@ -21,11 +21,8 @@ package metastorepb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/migrationcenter/apiv1/migrationcenterpb/migrationcenter.pb.go b/migrationcenter/apiv1/migrationcenterpb/migrationcenter.pb.go index f4a531bba1a8..0b5865093faa 100755 --- a/migrationcenter/apiv1/migrationcenterpb/migrationcenter.pb.go +++ b/migrationcenter/apiv1/migrationcenterpb/migrationcenter.pb.go @@ -21,11 +21,8 @@ package migrationcenterpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" date "google.golang.org/genproto/googleapis/type/date" money "google.golang.org/genproto/googleapis/type/money" @@ -37,6 +34,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/monitoring/apiv3/v2/monitoringpb/alert.pb.go b/monitoring/apiv3/v2/monitoringpb/alert.pb.go index e7b3595fa641..a5b09a02f32a 100755 --- a/monitoring/apiv3/v2/monitoringpb/alert.pb.go +++ b/monitoring/apiv3/v2/monitoringpb/alert.pb.go @@ -21,15 +21,14 @@ package monitoringpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( diff --git a/monitoring/apiv3/v2/monitoringpb/alert_service.pb.go b/monitoring/apiv3/v2/monitoringpb/alert_service.pb.go index f0e149d16b64..28708c3c9cb3 100755 --- a/monitoring/apiv3/v2/monitoringpb/alert_service.pb.go +++ b/monitoring/apiv3/v2/monitoringpb/alert_service.pb.go @@ -22,9 +22,6 @@ package monitoringpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/monitoring/apiv3/v2/monitoringpb/common.pb.go b/monitoring/apiv3/v2/monitoringpb/common.pb.go index c9aa5a02472a..115c5cc4b93b 100755 --- a/monitoring/apiv3/v2/monitoringpb/common.pb.go +++ b/monitoring/apiv3/v2/monitoringpb/common.pb.go @@ -21,14 +21,13 @@ package monitoringpb import ( - reflect "reflect" - sync "sync" - distribution "google.golang.org/genproto/googleapis/api/distribution" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/monitoring/apiv3/v2/monitoringpb/dropped_labels.pb.go b/monitoring/apiv3/v2/monitoringpb/dropped_labels.pb.go index 7b1dc962da8a..005376782281 100755 --- a/monitoring/apiv3/v2/monitoringpb/dropped_labels.pb.go +++ b/monitoring/apiv3/v2/monitoringpb/dropped_labels.pb.go @@ -21,11 +21,10 @@ package monitoringpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/monitoring/apiv3/v2/monitoringpb/group.pb.go b/monitoring/apiv3/v2/monitoringpb/group.pb.go index dff27f9d8ce2..8b42a21b7eb9 100755 --- a/monitoring/apiv3/v2/monitoringpb/group.pb.go +++ b/monitoring/apiv3/v2/monitoringpb/group.pb.go @@ -21,12 +21,11 @@ package monitoringpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/monitoring/apiv3/v2/monitoringpb/group_service.pb.go b/monitoring/apiv3/v2/monitoringpb/group_service.pb.go index 46747d906438..38cf16107f1b 100755 --- a/monitoring/apiv3/v2/monitoringpb/group_service.pb.go +++ b/monitoring/apiv3/v2/monitoringpb/group_service.pb.go @@ -22,9 +22,6 @@ package monitoringpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" monitoredres "google.golang.org/genproto/googleapis/api/monitoredres" grpc "google.golang.org/grpc" @@ -33,6 +30,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" + reflect "reflect" + sync "sync" ) const ( diff --git a/monitoring/apiv3/v2/monitoringpb/metric.pb.go b/monitoring/apiv3/v2/monitoringpb/metric.pb.go index b22c22d07e55..b72ca2963ca5 100755 --- a/monitoring/apiv3/v2/monitoringpb/metric.pb.go +++ b/monitoring/apiv3/v2/monitoringpb/metric.pb.go @@ -21,14 +21,13 @@ package monitoringpb import ( - reflect "reflect" - sync "sync" - label "google.golang.org/genproto/googleapis/api/label" metric "google.golang.org/genproto/googleapis/api/metric" monitoredres "google.golang.org/genproto/googleapis/api/monitoredres" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/monitoring/apiv3/v2/monitoringpb/metric_service.pb.go b/monitoring/apiv3/v2/monitoringpb/metric_service.pb.go index 52e1c1e0b9ba..b905e199306c 100755 --- a/monitoring/apiv3/v2/monitoringpb/metric_service.pb.go +++ b/monitoring/apiv3/v2/monitoringpb/metric_service.pb.go @@ -22,9 +22,6 @@ package monitoringpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" metric "google.golang.org/genproto/googleapis/api/metric" monitoredres "google.golang.org/genproto/googleapis/api/monitoredres" @@ -35,6 +32,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" + reflect "reflect" + sync "sync" ) const ( diff --git a/monitoring/apiv3/v2/monitoringpb/mutation_record.pb.go b/monitoring/apiv3/v2/monitoringpb/mutation_record.pb.go index 643b244e4d39..ca7d6aa86ea0 100755 --- a/monitoring/apiv3/v2/monitoringpb/mutation_record.pb.go +++ b/monitoring/apiv3/v2/monitoringpb/mutation_record.pb.go @@ -21,12 +21,11 @@ package monitoringpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/monitoring/apiv3/v2/monitoringpb/notification.pb.go b/monitoring/apiv3/v2/monitoringpb/notification.pb.go index 603b5bcdde12..9bcc0c303651 100755 --- a/monitoring/apiv3/v2/monitoringpb/notification.pb.go +++ b/monitoring/apiv3/v2/monitoringpb/notification.pb.go @@ -21,15 +21,14 @@ package monitoringpb import ( - reflect "reflect" - sync "sync" - api "google.golang.org/genproto/googleapis/api" _ "google.golang.org/genproto/googleapis/api/annotations" label "google.golang.org/genproto/googleapis/api/label" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( diff --git a/monitoring/apiv3/v2/monitoringpb/notification_service.pb.go b/monitoring/apiv3/v2/monitoringpb/notification_service.pb.go index ac7bafd1f10d..85dcfc7ec09b 100755 --- a/monitoring/apiv3/v2/monitoringpb/notification_service.pb.go +++ b/monitoring/apiv3/v2/monitoringpb/notification_service.pb.go @@ -22,9 +22,6 @@ package monitoringpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/monitoring/apiv3/v2/monitoringpb/query_service.pb.go b/monitoring/apiv3/v2/monitoringpb/query_service.pb.go index e9bfbd68f537..fbe578859ad3 100755 --- a/monitoring/apiv3/v2/monitoringpb/query_service.pb.go +++ b/monitoring/apiv3/v2/monitoringpb/query_service.pb.go @@ -22,14 +22,13 @@ package monitoringpb import ( context "context" - reflect "reflect" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" ) const ( diff --git a/monitoring/apiv3/v2/monitoringpb/service.pb.go b/monitoring/apiv3/v2/monitoringpb/service.pb.go index 869a3738c09b..906a3cdb28bc 100755 --- a/monitoring/apiv3/v2/monitoringpb/service.pb.go +++ b/monitoring/apiv3/v2/monitoringpb/service.pb.go @@ -21,14 +21,13 @@ package monitoringpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" calendarperiod "google.golang.org/genproto/googleapis/type/calendarperiod" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/monitoring/apiv3/v2/monitoringpb/service_service.pb.go b/monitoring/apiv3/v2/monitoringpb/service_service.pb.go index 15e1f04d6a50..6cebacfa003a 100755 --- a/monitoring/apiv3/v2/monitoringpb/service_service.pb.go +++ b/monitoring/apiv3/v2/monitoringpb/service_service.pb.go @@ -22,9 +22,6 @@ package monitoringpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/monitoring/apiv3/v2/monitoringpb/snooze.pb.go b/monitoring/apiv3/v2/monitoringpb/snooze.pb.go index ab49868045dc..68cd6612ee17 100755 --- a/monitoring/apiv3/v2/monitoringpb/snooze.pb.go +++ b/monitoring/apiv3/v2/monitoringpb/snooze.pb.go @@ -21,12 +21,11 @@ package monitoringpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/monitoring/apiv3/v2/monitoringpb/snooze_service.pb.go b/monitoring/apiv3/v2/monitoringpb/snooze_service.pb.go index 39388a998288..fa2fa6893476 100755 --- a/monitoring/apiv3/v2/monitoringpb/snooze_service.pb.go +++ b/monitoring/apiv3/v2/monitoringpb/snooze_service.pb.go @@ -22,9 +22,6 @@ package monitoringpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/monitoring/apiv3/v2/monitoringpb/span_context.pb.go b/monitoring/apiv3/v2/monitoringpb/span_context.pb.go index 5a55ecc66509..cb209b7363aa 100755 --- a/monitoring/apiv3/v2/monitoringpb/span_context.pb.go +++ b/monitoring/apiv3/v2/monitoringpb/span_context.pb.go @@ -21,11 +21,10 @@ package monitoringpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/monitoring/apiv3/v2/monitoringpb/uptime.pb.go b/monitoring/apiv3/v2/monitoringpb/uptime.pb.go index e0b9e4a385a6..d4d4d0228afb 100755 --- a/monitoring/apiv3/v2/monitoringpb/uptime.pb.go +++ b/monitoring/apiv3/v2/monitoringpb/uptime.pb.go @@ -21,14 +21,13 @@ package monitoringpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" monitoredres "google.golang.org/genproto/googleapis/api/monitoredres" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/monitoring/apiv3/v2/monitoringpb/uptime_service.pb.go b/monitoring/apiv3/v2/monitoringpb/uptime_service.pb.go index d4ba902fb07a..67448f27d705 100755 --- a/monitoring/apiv3/v2/monitoringpb/uptime_service.pb.go +++ b/monitoring/apiv3/v2/monitoringpb/uptime_service.pb.go @@ -22,9 +22,6 @@ package monitoringpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/monitoring/dashboard/apiv1/dashboardpb/alertchart.pb.go b/monitoring/dashboard/apiv1/dashboardpb/alertchart.pb.go index 73af74c4c5a5..8fce40e7b83f 100755 --- a/monitoring/dashboard/apiv1/dashboardpb/alertchart.pb.go +++ b/monitoring/dashboard/apiv1/dashboardpb/alertchart.pb.go @@ -21,12 +21,11 @@ package dashboardpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/monitoring/dashboard/apiv1/dashboardpb/collapsible_group.pb.go b/monitoring/dashboard/apiv1/dashboardpb/collapsible_group.pb.go index 0e975dd8cf01..d9287cc8ab47 100755 --- a/monitoring/dashboard/apiv1/dashboardpb/collapsible_group.pb.go +++ b/monitoring/dashboard/apiv1/dashboardpb/collapsible_group.pb.go @@ -21,11 +21,10 @@ package dashboardpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/monitoring/dashboard/apiv1/dashboardpb/common.pb.go b/monitoring/dashboard/apiv1/dashboardpb/common.pb.go index b2f06f824a10..a12c26e90835 100755 --- a/monitoring/dashboard/apiv1/dashboardpb/common.pb.go +++ b/monitoring/dashboard/apiv1/dashboardpb/common.pb.go @@ -21,13 +21,12 @@ package dashboardpb import ( - reflect "reflect" - sync "sync" - interval "google.golang.org/genproto/googleapis/type/interval" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/monitoring/dashboard/apiv1/dashboardpb/dashboard.pb.go b/monitoring/dashboard/apiv1/dashboardpb/dashboard.pb.go index 2cca38212505..0e6aacfff630 100755 --- a/monitoring/dashboard/apiv1/dashboardpb/dashboard.pb.go +++ b/monitoring/dashboard/apiv1/dashboardpb/dashboard.pb.go @@ -21,12 +21,11 @@ package dashboardpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/monitoring/dashboard/apiv1/dashboardpb/dashboard_filter.pb.go b/monitoring/dashboard/apiv1/dashboardpb/dashboard_filter.pb.go index d2103ec4c2ec..98c288e00e14 100755 --- a/monitoring/dashboard/apiv1/dashboardpb/dashboard_filter.pb.go +++ b/monitoring/dashboard/apiv1/dashboardpb/dashboard_filter.pb.go @@ -21,12 +21,11 @@ package dashboardpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/monitoring/dashboard/apiv1/dashboardpb/dashboards_service.pb.go b/monitoring/dashboard/apiv1/dashboardpb/dashboards_service.pb.go index 09a86a36e24e..9bb8888d242b 100755 --- a/monitoring/dashboard/apiv1/dashboardpb/dashboards_service.pb.go +++ b/monitoring/dashboard/apiv1/dashboardpb/dashboards_service.pb.go @@ -22,9 +22,6 @@ package dashboardpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" + reflect "reflect" + sync "sync" ) const ( diff --git a/monitoring/dashboard/apiv1/dashboardpb/drilldowns.pb.go b/monitoring/dashboard/apiv1/dashboardpb/drilldowns.pb.go index 2029cd534801..244327b2856e 100755 --- a/monitoring/dashboard/apiv1/dashboardpb/drilldowns.pb.go +++ b/monitoring/dashboard/apiv1/dashboardpb/drilldowns.pb.go @@ -21,10 +21,9 @@ package dashboardpb import ( - reflect "reflect" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" ) const ( diff --git a/monitoring/dashboard/apiv1/dashboardpb/error_reporting_panel.pb.go b/monitoring/dashboard/apiv1/dashboardpb/error_reporting_panel.pb.go index 6e88986e8ac1..e91955175982 100755 --- a/monitoring/dashboard/apiv1/dashboardpb/error_reporting_panel.pb.go +++ b/monitoring/dashboard/apiv1/dashboardpb/error_reporting_panel.pb.go @@ -21,11 +21,10 @@ package dashboardpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/monitoring/dashboard/apiv1/dashboardpb/incident_list.pb.go b/monitoring/dashboard/apiv1/dashboardpb/incident_list.pb.go index 3fd79f0e43a6..420a25273024 100755 --- a/monitoring/dashboard/apiv1/dashboardpb/incident_list.pb.go +++ b/monitoring/dashboard/apiv1/dashboardpb/incident_list.pb.go @@ -21,13 +21,12 @@ package dashboardpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" monitoredres "google.golang.org/genproto/googleapis/api/monitoredres" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/monitoring/dashboard/apiv1/dashboardpb/layouts.pb.go b/monitoring/dashboard/apiv1/dashboardpb/layouts.pb.go index abe9b5c3080a..d2f14a1e64ac 100755 --- a/monitoring/dashboard/apiv1/dashboardpb/layouts.pb.go +++ b/monitoring/dashboard/apiv1/dashboardpb/layouts.pb.go @@ -21,11 +21,10 @@ package dashboardpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/monitoring/dashboard/apiv1/dashboardpb/logs_panel.pb.go b/monitoring/dashboard/apiv1/dashboardpb/logs_panel.pb.go index 7090c5ea56f5..97f6fc18dbcb 100755 --- a/monitoring/dashboard/apiv1/dashboardpb/logs_panel.pb.go +++ b/monitoring/dashboard/apiv1/dashboardpb/logs_panel.pb.go @@ -21,11 +21,10 @@ package dashboardpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/monitoring/dashboard/apiv1/dashboardpb/metrics.pb.go b/monitoring/dashboard/apiv1/dashboardpb/metrics.pb.go index c18c32b8cafd..78b5cb29b05b 100755 --- a/monitoring/dashboard/apiv1/dashboardpb/metrics.pb.go +++ b/monitoring/dashboard/apiv1/dashboardpb/metrics.pb.go @@ -21,12 +21,11 @@ package dashboardpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/monitoring/dashboard/apiv1/dashboardpb/piechart.pb.go b/monitoring/dashboard/apiv1/dashboardpb/piechart.pb.go index 678e98492e7f..d26d4bd49798 100755 --- a/monitoring/dashboard/apiv1/dashboardpb/piechart.pb.go +++ b/monitoring/dashboard/apiv1/dashboardpb/piechart.pb.go @@ -21,13 +21,12 @@ package dashboardpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/monitoring/dashboard/apiv1/dashboardpb/scorecard.pb.go b/monitoring/dashboard/apiv1/dashboardpb/scorecard.pb.go index 112695b0cf1f..62aaf5c5fec6 100755 --- a/monitoring/dashboard/apiv1/dashboardpb/scorecard.pb.go +++ b/monitoring/dashboard/apiv1/dashboardpb/scorecard.pb.go @@ -21,14 +21,13 @@ package dashboardpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" emptypb "google.golang.org/protobuf/types/known/emptypb" + reflect "reflect" + sync "sync" ) const ( diff --git a/monitoring/dashboard/apiv1/dashboardpb/section_header.pb.go b/monitoring/dashboard/apiv1/dashboardpb/section_header.pb.go index 1b153b1f2349..0eefa76a7fce 100755 --- a/monitoring/dashboard/apiv1/dashboardpb/section_header.pb.go +++ b/monitoring/dashboard/apiv1/dashboardpb/section_header.pb.go @@ -21,11 +21,10 @@ package dashboardpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/monitoring/dashboard/apiv1/dashboardpb/service.pb.go b/monitoring/dashboard/apiv1/dashboardpb/service.pb.go index e0f9fbb25168..d74b49a422c0 100755 --- a/monitoring/dashboard/apiv1/dashboardpb/service.pb.go +++ b/monitoring/dashboard/apiv1/dashboardpb/service.pb.go @@ -21,10 +21,9 @@ package dashboardpb import ( - reflect "reflect" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" ) const ( diff --git a/monitoring/dashboard/apiv1/dashboardpb/single_view_group.pb.go b/monitoring/dashboard/apiv1/dashboardpb/single_view_group.pb.go index c9a444ebab36..c71e2e2780ee 100755 --- a/monitoring/dashboard/apiv1/dashboardpb/single_view_group.pb.go +++ b/monitoring/dashboard/apiv1/dashboardpb/single_view_group.pb.go @@ -21,11 +21,10 @@ package dashboardpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/monitoring/dashboard/apiv1/dashboardpb/table.pb.go b/monitoring/dashboard/apiv1/dashboardpb/table.pb.go index 26b7e2c82c04..4e82a5e8c698 100755 --- a/monitoring/dashboard/apiv1/dashboardpb/table.pb.go +++ b/monitoring/dashboard/apiv1/dashboardpb/table.pb.go @@ -21,13 +21,12 @@ package dashboardpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/monitoring/dashboard/apiv1/dashboardpb/table_display_options.pb.go b/monitoring/dashboard/apiv1/dashboardpb/table_display_options.pb.go index d654d9e18c05..cd918527c066 100755 --- a/monitoring/dashboard/apiv1/dashboardpb/table_display_options.pb.go +++ b/monitoring/dashboard/apiv1/dashboardpb/table_display_options.pb.go @@ -21,12 +21,11 @@ package dashboardpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/monitoring/dashboard/apiv1/dashboardpb/text.pb.go b/monitoring/dashboard/apiv1/dashboardpb/text.pb.go index ab45f55d1456..802fd938e9e7 100755 --- a/monitoring/dashboard/apiv1/dashboardpb/text.pb.go +++ b/monitoring/dashboard/apiv1/dashboardpb/text.pb.go @@ -21,11 +21,10 @@ package dashboardpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/monitoring/dashboard/apiv1/dashboardpb/widget.pb.go b/monitoring/dashboard/apiv1/dashboardpb/widget.pb.go index 51c368ad7412..7df9ce3cafad 100755 --- a/monitoring/dashboard/apiv1/dashboardpb/widget.pb.go +++ b/monitoring/dashboard/apiv1/dashboardpb/widget.pb.go @@ -21,13 +21,12 @@ package dashboardpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" + reflect "reflect" + sync "sync" ) const ( diff --git a/monitoring/dashboard/apiv1/dashboardpb/xychart.pb.go b/monitoring/dashboard/apiv1/dashboardpb/xychart.pb.go index 9a9eb0ada1a0..4de2768a61ce 100755 --- a/monitoring/dashboard/apiv1/dashboardpb/xychart.pb.go +++ b/monitoring/dashboard/apiv1/dashboardpb/xychart.pb.go @@ -21,13 +21,12 @@ package dashboardpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/monitoring/metricsscope/apiv1/auxiliary_go123.go b/monitoring/metricsscope/apiv1/auxiliary_go123.go index 305145a42927..a2f2323a33c3 100755 --- a/monitoring/metricsscope/apiv1/auxiliary_go123.go +++ b/monitoring/metricsscope/apiv1/auxiliary_go123.go @@ -17,3 +17,5 @@ //go:build go1.23 package metricsscope + +import () diff --git a/monitoring/metricsscope/apiv1/metrics_scopes_client_example_go123_test.go b/monitoring/metricsscope/apiv1/metrics_scopes_client_example_go123_test.go index 0a69f19886c9..1ebb609dc36d 100644 --- a/monitoring/metricsscope/apiv1/metrics_scopes_client_example_go123_test.go +++ b/monitoring/metricsscope/apiv1/metrics_scopes_client_example_go123_test.go @@ -17,3 +17,7 @@ //go:build go1.23 package metricsscope_test + +import ( + metricsscope "cloud.google.com/go/monitoring/metricsscope/apiv1" +) diff --git a/monitoring/metricsscope/apiv1/metricsscopepb/metrics_scope.pb.go b/monitoring/metricsscope/apiv1/metricsscopepb/metrics_scope.pb.go index dac70335e7a1..021c9c2664f3 100755 --- a/monitoring/metricsscope/apiv1/metricsscopepb/metrics_scope.pb.go +++ b/monitoring/metricsscope/apiv1/metricsscopepb/metrics_scope.pb.go @@ -21,13 +21,12 @@ package metricsscopepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/monitoring/metricsscope/apiv1/metricsscopepb/metrics_scopes.pb.go b/monitoring/metricsscope/apiv1/metricsscopepb/metrics_scopes.pb.go index 54e1a2c6e235..51e853c22aa6 100755 --- a/monitoring/metricsscope/apiv1/metricsscopepb/metrics_scopes.pb.go +++ b/monitoring/metricsscope/apiv1/metricsscopepb/metrics_scopes.pb.go @@ -21,11 +21,8 @@ package metricsscopepb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/netapp/apiv1/netapppb/active_directory.pb.go b/netapp/apiv1/netapppb/active_directory.pb.go index 0de89b805a27..f31953b5c59f 100755 --- a/netapp/apiv1/netapppb/active_directory.pb.go +++ b/netapp/apiv1/netapppb/active_directory.pb.go @@ -21,14 +21,13 @@ package netapppb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/netapp/apiv1/netapppb/backup.pb.go b/netapp/apiv1/netapppb/backup.pb.go index de37789c53d4..0b800b815a79 100755 --- a/netapp/apiv1/netapppb/backup.pb.go +++ b/netapp/apiv1/netapppb/backup.pb.go @@ -21,14 +21,13 @@ package netapppb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/netapp/apiv1/netapppb/backup_policy.pb.go b/netapp/apiv1/netapppb/backup_policy.pb.go index eec840bf7a5b..5bbafec86c83 100755 --- a/netapp/apiv1/netapppb/backup_policy.pb.go +++ b/netapp/apiv1/netapppb/backup_policy.pb.go @@ -21,14 +21,13 @@ package netapppb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/netapp/apiv1/netapppb/backup_vault.pb.go b/netapp/apiv1/netapppb/backup_vault.pb.go index 85522876d31d..811e19d7498f 100755 --- a/netapp/apiv1/netapppb/backup_vault.pb.go +++ b/netapp/apiv1/netapppb/backup_vault.pb.go @@ -21,14 +21,13 @@ package netapppb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/netapp/apiv1/netapppb/cloud_netapp_service.pb.go b/netapp/apiv1/netapppb/cloud_netapp_service.pb.go index 56d79d42d69f..3ef6c6b036b0 100755 --- a/netapp/apiv1/netapppb/cloud_netapp_service.pb.go +++ b/netapp/apiv1/netapppb/cloud_netapp_service.pb.go @@ -21,11 +21,8 @@ package netapppb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/netapp/apiv1/netapppb/common.pb.go b/netapp/apiv1/netapppb/common.pb.go index ed9b06bae56f..595b2d2425cb 100755 --- a/netapp/apiv1/netapppb/common.pb.go +++ b/netapp/apiv1/netapppb/common.pb.go @@ -21,12 +21,11 @@ package netapppb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/netapp/apiv1/netapppb/kms.pb.go b/netapp/apiv1/netapppb/kms.pb.go index 72f8f47bd918..bf74798ca73f 100755 --- a/netapp/apiv1/netapppb/kms.pb.go +++ b/netapp/apiv1/netapppb/kms.pb.go @@ -21,14 +21,13 @@ package netapppb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/netapp/apiv1/netapppb/replication.pb.go b/netapp/apiv1/netapppb/replication.pb.go index bee6b4b1fc94..546b0b54e29a 100755 --- a/netapp/apiv1/netapppb/replication.pb.go +++ b/netapp/apiv1/netapppb/replication.pb.go @@ -21,15 +21,14 @@ package netapppb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/netapp/apiv1/netapppb/snapshot.pb.go b/netapp/apiv1/netapppb/snapshot.pb.go index 8c87661405c0..0ac2fb8de3ba 100755 --- a/netapp/apiv1/netapppb/snapshot.pb.go +++ b/netapp/apiv1/netapppb/snapshot.pb.go @@ -21,14 +21,13 @@ package netapppb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/netapp/apiv1/netapppb/storage_pool.pb.go b/netapp/apiv1/netapppb/storage_pool.pb.go index c77ddc1cb6a6..bcbf60bcfbc4 100755 --- a/netapp/apiv1/netapppb/storage_pool.pb.go +++ b/netapp/apiv1/netapppb/storage_pool.pb.go @@ -21,14 +21,13 @@ package netapppb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/netapp/apiv1/netapppb/volume.pb.go b/netapp/apiv1/netapppb/volume.pb.go index 598bc49b9356..2bf8712e3db6 100755 --- a/netapp/apiv1/netapppb/volume.pb.go +++ b/netapp/apiv1/netapppb/volume.pb.go @@ -21,14 +21,13 @@ package netapppb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/networkconnectivity/apiv1/networkconnectivitypb/common.pb.go b/networkconnectivity/apiv1/networkconnectivitypb/common.pb.go index 35b30eed3a83..e1afc1da0caa 100755 --- a/networkconnectivity/apiv1/networkconnectivitypb/common.pb.go +++ b/networkconnectivity/apiv1/networkconnectivitypb/common.pb.go @@ -21,13 +21,12 @@ package networkconnectivitypb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/networkconnectivity/apiv1/networkconnectivitypb/hub.pb.go b/networkconnectivity/apiv1/networkconnectivitypb/hub.pb.go index 93f38b6176d6..1be9769a6fc3 100755 --- a/networkconnectivity/apiv1/networkconnectivitypb/hub.pb.go +++ b/networkconnectivity/apiv1/networkconnectivitypb/hub.pb.go @@ -21,11 +21,8 @@ package networkconnectivitypb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/networkconnectivity/apiv1/networkconnectivitypb/policy_based_routing.pb.go b/networkconnectivity/apiv1/networkconnectivitypb/policy_based_routing.pb.go index 17178ed4bbb3..8b6d139b7ce5 100755 --- a/networkconnectivity/apiv1/networkconnectivitypb/policy_based_routing.pb.go +++ b/networkconnectivity/apiv1/networkconnectivitypb/policy_based_routing.pb.go @@ -21,11 +21,8 @@ package networkconnectivitypb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/networkconnectivity/apiv1alpha1/networkconnectivitypb/common.pb.go b/networkconnectivity/apiv1alpha1/networkconnectivitypb/common.pb.go index 5791cf84a80a..aa146dabcf97 100755 --- a/networkconnectivity/apiv1alpha1/networkconnectivitypb/common.pb.go +++ b/networkconnectivity/apiv1alpha1/networkconnectivitypb/common.pb.go @@ -21,13 +21,12 @@ package networkconnectivitypb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/networkconnectivity/apiv1alpha1/networkconnectivitypb/hub.pb.go b/networkconnectivity/apiv1alpha1/networkconnectivitypb/hub.pb.go index cdbc237c6844..ae2b1ba32be3 100755 --- a/networkconnectivity/apiv1alpha1/networkconnectivitypb/hub.pb.go +++ b/networkconnectivity/apiv1alpha1/networkconnectivitypb/hub.pb.go @@ -21,11 +21,8 @@ package networkconnectivitypb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/networkmanagement/apiv1/networkmanagementpb/connectivity_test.pb.go b/networkmanagement/apiv1/networkmanagementpb/connectivity_test.pb.go index 1267aa938b96..c812247bb09a 100755 --- a/networkmanagement/apiv1/networkmanagementpb/connectivity_test.pb.go +++ b/networkmanagement/apiv1/networkmanagementpb/connectivity_test.pb.go @@ -21,14 +21,13 @@ package networkmanagementpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/networkmanagement/apiv1/networkmanagementpb/reachability.pb.go b/networkmanagement/apiv1/networkmanagementpb/reachability.pb.go index f65448b3a142..b07529da34e9 100755 --- a/networkmanagement/apiv1/networkmanagementpb/reachability.pb.go +++ b/networkmanagement/apiv1/networkmanagementpb/reachability.pb.go @@ -21,11 +21,8 @@ package networkmanagementpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/networkmanagement/apiv1/networkmanagementpb/trace.pb.go b/networkmanagement/apiv1/networkmanagementpb/trace.pb.go index c944575ce309..0307099db9d4 100755 --- a/networkmanagement/apiv1/networkmanagementpb/trace.pb.go +++ b/networkmanagement/apiv1/networkmanagementpb/trace.pb.go @@ -21,12 +21,11 @@ package networkmanagementpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/networksecurity/apiv1beta1/networksecuritypb/authorization_policy.pb.go b/networksecurity/apiv1beta1/networksecuritypb/authorization_policy.pb.go index 32286ed010b9..d15ff1f626ea 100755 --- a/networksecurity/apiv1beta1/networksecuritypb/authorization_policy.pb.go +++ b/networksecurity/apiv1beta1/networksecuritypb/authorization_policy.pb.go @@ -21,14 +21,13 @@ package networksecuritypb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/networksecurity/apiv1beta1/networksecuritypb/client_tls_policy.pb.go b/networksecurity/apiv1beta1/networksecuritypb/client_tls_policy.pb.go index d79b53b0a499..b49099999ffa 100755 --- a/networksecurity/apiv1beta1/networksecuritypb/client_tls_policy.pb.go +++ b/networksecurity/apiv1beta1/networksecuritypb/client_tls_policy.pb.go @@ -21,14 +21,13 @@ package networksecuritypb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/networksecurity/apiv1beta1/networksecuritypb/common.pb.go b/networksecurity/apiv1beta1/networksecuritypb/common.pb.go index 2155e27490a2..4c6e543a4331 100755 --- a/networksecurity/apiv1beta1/networksecuritypb/common.pb.go +++ b/networksecurity/apiv1beta1/networksecuritypb/common.pb.go @@ -21,13 +21,12 @@ package networksecuritypb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/networksecurity/apiv1beta1/networksecuritypb/network_security.pb.go b/networksecurity/apiv1beta1/networksecuritypb/network_security.pb.go index 26bc0c68ee36..5528d6d350bd 100755 --- a/networksecurity/apiv1beta1/networksecuritypb/network_security.pb.go +++ b/networksecurity/apiv1beta1/networksecuritypb/network_security.pb.go @@ -21,16 +21,15 @@ package networksecuritypb import ( - context "context" - reflect "reflect" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" ) const ( diff --git a/networksecurity/apiv1beta1/networksecuritypb/server_tls_policy.pb.go b/networksecurity/apiv1beta1/networksecuritypb/server_tls_policy.pb.go index 6c4a18a225b5..46c72e64ef66 100755 --- a/networksecurity/apiv1beta1/networksecuritypb/server_tls_policy.pb.go +++ b/networksecurity/apiv1beta1/networksecuritypb/server_tls_policy.pb.go @@ -21,14 +21,13 @@ package networksecuritypb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/networksecurity/apiv1beta1/networksecuritypb/tls.pb.go b/networksecurity/apiv1beta1/networksecuritypb/tls.pb.go index f4d4e4e54cc7..dcf4ddc3e277 100755 --- a/networksecurity/apiv1beta1/networksecuritypb/tls.pb.go +++ b/networksecurity/apiv1beta1/networksecuritypb/tls.pb.go @@ -21,12 +21,11 @@ package networksecuritypb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/networkservices/apiv1/networkservicespb/common.pb.go b/networkservices/apiv1/networkservicespb/common.pb.go index 1240af53ddea..e7c446687ced 100755 --- a/networkservices/apiv1/networkservicespb/common.pb.go +++ b/networkservices/apiv1/networkservicespb/common.pb.go @@ -21,13 +21,12 @@ package networkservicespb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/networkservices/apiv1/networkservicespb/dep.pb.go b/networkservices/apiv1/networkservicespb/dep.pb.go index 31f0a44d0cef..d087456911c1 100755 --- a/networkservices/apiv1/networkservicespb/dep.pb.go +++ b/networkservices/apiv1/networkservicespb/dep.pb.go @@ -21,11 +21,8 @@ package networkservicespb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -37,6 +34,8 @@ import ( fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/networkservices/apiv1/networkservicespb/endpoint_policy.pb.go b/networkservices/apiv1/networkservicespb/endpoint_policy.pb.go index 62fa21c130de..59752f830ead 100755 --- a/networkservices/apiv1/networkservicespb/endpoint_policy.pb.go +++ b/networkservices/apiv1/networkservicespb/endpoint_policy.pb.go @@ -21,14 +21,13 @@ package networkservicespb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/networkservices/apiv1/networkservicespb/gateway.pb.go b/networkservices/apiv1/networkservicespb/gateway.pb.go index c5009d5dd1e3..4c3b1ee18fb9 100755 --- a/networkservices/apiv1/networkservicespb/gateway.pb.go +++ b/networkservices/apiv1/networkservicespb/gateway.pb.go @@ -21,14 +21,13 @@ package networkservicespb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/networkservices/apiv1/networkservicespb/grpc_route.pb.go b/networkservices/apiv1/networkservicespb/grpc_route.pb.go index 36404c06c1d2..52466e9ff17e 100755 --- a/networkservices/apiv1/networkservicespb/grpc_route.pb.go +++ b/networkservices/apiv1/networkservicespb/grpc_route.pb.go @@ -21,15 +21,14 @@ package networkservicespb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/networkservices/apiv1/networkservicespb/http_route.pb.go b/networkservices/apiv1/networkservicespb/http_route.pb.go index 65e8b2c63dee..b3757c8fbb53 100755 --- a/networkservices/apiv1/networkservicespb/http_route.pb.go +++ b/networkservices/apiv1/networkservicespb/http_route.pb.go @@ -21,15 +21,14 @@ package networkservicespb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/networkservices/apiv1/networkservicespb/mesh.pb.go b/networkservices/apiv1/networkservicespb/mesh.pb.go index 29bab4eaf389..57296d6e6bd2 100755 --- a/networkservices/apiv1/networkservicespb/mesh.pb.go +++ b/networkservices/apiv1/networkservicespb/mesh.pb.go @@ -21,14 +21,13 @@ package networkservicespb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/networkservices/apiv1/networkservicespb/network_services.pb.go b/networkservices/apiv1/networkservicespb/network_services.pb.go index 5bdcccc9cc07..388e11d1513c 100755 --- a/networkservices/apiv1/networkservicespb/network_services.pb.go +++ b/networkservices/apiv1/networkservicespb/network_services.pb.go @@ -21,16 +21,15 @@ package networkservicespb import ( - context "context" - reflect "reflect" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" ) const ( diff --git a/networkservices/apiv1/networkservicespb/service_binding.pb.go b/networkservices/apiv1/networkservicespb/service_binding.pb.go index 67f6bfd4ddd1..a73b9ba43799 100755 --- a/networkservices/apiv1/networkservicespb/service_binding.pb.go +++ b/networkservices/apiv1/networkservicespb/service_binding.pb.go @@ -21,13 +21,12 @@ package networkservicespb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/networkservices/apiv1/networkservicespb/tcp_route.pb.go b/networkservices/apiv1/networkservicespb/tcp_route.pb.go index 839f2d15c5ca..824b5f88b8f0 100755 --- a/networkservices/apiv1/networkservicespb/tcp_route.pb.go +++ b/networkservices/apiv1/networkservicespb/tcp_route.pb.go @@ -21,14 +21,13 @@ package networkservicespb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/networkservices/apiv1/networkservicespb/tls_route.pb.go b/networkservices/apiv1/networkservicespb/tls_route.pb.go index 5e0e6091252c..859c61043ea0 100755 --- a/networkservices/apiv1/networkservicespb/tls_route.pb.go +++ b/networkservices/apiv1/networkservicespb/tls_route.pb.go @@ -21,14 +21,13 @@ package networkservicespb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/notebooks/apiv1/notebookspb/diagnostic_config.pb.go b/notebooks/apiv1/notebookspb/diagnostic_config.pb.go index 5266718fbd71..81d90c3b8ea1 100755 --- a/notebooks/apiv1/notebookspb/diagnostic_config.pb.go +++ b/notebooks/apiv1/notebookspb/diagnostic_config.pb.go @@ -21,12 +21,11 @@ package notebookspb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/notebooks/apiv1/notebookspb/environment.pb.go b/notebooks/apiv1/notebookspb/environment.pb.go index 4eaaa7db6d81..ecbfffdd7272 100755 --- a/notebooks/apiv1/notebookspb/environment.pb.go +++ b/notebooks/apiv1/notebookspb/environment.pb.go @@ -21,13 +21,12 @@ package notebookspb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/notebooks/apiv1/notebookspb/event.pb.go b/notebooks/apiv1/notebookspb/event.pb.go index e623fcc330fb..da5a09d16fe6 100755 --- a/notebooks/apiv1/notebookspb/event.pb.go +++ b/notebooks/apiv1/notebookspb/event.pb.go @@ -21,13 +21,12 @@ package notebookspb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/notebooks/apiv1/notebookspb/execution.pb.go b/notebooks/apiv1/notebookspb/execution.pb.go index 313d990cd62f..8c225f683f7e 100755 --- a/notebooks/apiv1/notebookspb/execution.pb.go +++ b/notebooks/apiv1/notebookspb/execution.pb.go @@ -21,13 +21,12 @@ package notebookspb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/notebooks/apiv1/notebookspb/instance.pb.go b/notebooks/apiv1/notebookspb/instance.pb.go index 28423362cbb4..2bddae986bdc 100755 --- a/notebooks/apiv1/notebookspb/instance.pb.go +++ b/notebooks/apiv1/notebookspb/instance.pb.go @@ -21,13 +21,12 @@ package notebookspb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/notebooks/apiv1/notebookspb/instance_config.pb.go b/notebooks/apiv1/notebookspb/instance_config.pb.go index db1c8d37bfba..3d0a09022e12 100755 --- a/notebooks/apiv1/notebookspb/instance_config.pb.go +++ b/notebooks/apiv1/notebookspb/instance_config.pb.go @@ -21,11 +21,10 @@ package notebookspb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/notebooks/apiv1/notebookspb/managed_service.pb.go b/notebooks/apiv1/notebookspb/managed_service.pb.go index f848aff79411..50820b0ed3d1 100755 --- a/notebooks/apiv1/notebookspb/managed_service.pb.go +++ b/notebooks/apiv1/notebookspb/managed_service.pb.go @@ -21,11 +21,8 @@ package notebookspb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/notebooks/apiv1/notebookspb/runtime.pb.go b/notebooks/apiv1/notebookspb/runtime.pb.go index 02f487e812b8..e90648ff71e9 100755 --- a/notebooks/apiv1/notebookspb/runtime.pb.go +++ b/notebooks/apiv1/notebookspb/runtime.pb.go @@ -21,13 +21,12 @@ package notebookspb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/notebooks/apiv1/notebookspb/schedule.pb.go b/notebooks/apiv1/notebookspb/schedule.pb.go index 6681f72a3c39..c94f9bd485d1 100755 --- a/notebooks/apiv1/notebookspb/schedule.pb.go +++ b/notebooks/apiv1/notebookspb/schedule.pb.go @@ -21,13 +21,12 @@ package notebookspb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/notebooks/apiv1/notebookspb/service.pb.go b/notebooks/apiv1/notebookspb/service.pb.go index 2822b5d824ba..7880304f7b03 100755 --- a/notebooks/apiv1/notebookspb/service.pb.go +++ b/notebooks/apiv1/notebookspb/service.pb.go @@ -21,11 +21,8 @@ package notebookspb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/notebooks/apiv1beta1/notebookspb/environment.pb.go b/notebooks/apiv1beta1/notebookspb/environment.pb.go index 7c6ed48f78e8..e41804dab614 100755 --- a/notebooks/apiv1beta1/notebookspb/environment.pb.go +++ b/notebooks/apiv1beta1/notebookspb/environment.pb.go @@ -21,13 +21,12 @@ package notebookspb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/notebooks/apiv1beta1/notebookspb/instance.pb.go b/notebooks/apiv1beta1/notebookspb/instance.pb.go index ad9054f4be3d..45ef27c16915 100755 --- a/notebooks/apiv1beta1/notebookspb/instance.pb.go +++ b/notebooks/apiv1beta1/notebookspb/instance.pb.go @@ -21,13 +21,12 @@ package notebookspb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/notebooks/apiv1beta1/notebookspb/service.pb.go b/notebooks/apiv1beta1/notebookspb/service.pb.go index 28927dc70d8d..287f51c38eb7 100755 --- a/notebooks/apiv1beta1/notebookspb/service.pb.go +++ b/notebooks/apiv1beta1/notebookspb/service.pb.go @@ -21,11 +21,8 @@ package notebookspb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/notebooks/apiv2/notebookspb/diagnostic_config.pb.go b/notebooks/apiv2/notebookspb/diagnostic_config.pb.go index 5d2e38682fa6..2135f16935aa 100755 --- a/notebooks/apiv2/notebookspb/diagnostic_config.pb.go +++ b/notebooks/apiv2/notebookspb/diagnostic_config.pb.go @@ -21,12 +21,11 @@ package notebookspb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/notebooks/apiv2/notebookspb/event.pb.go b/notebooks/apiv2/notebookspb/event.pb.go index 4c1d00d0e200..46ca747e9708 100755 --- a/notebooks/apiv2/notebookspb/event.pb.go +++ b/notebooks/apiv2/notebookspb/event.pb.go @@ -21,13 +21,12 @@ package notebookspb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/notebooks/apiv2/notebookspb/gce_setup.pb.go b/notebooks/apiv2/notebookspb/gce_setup.pb.go index b03a27ef44dc..44e76425807e 100755 --- a/notebooks/apiv2/notebookspb/gce_setup.pb.go +++ b/notebooks/apiv2/notebookspb/gce_setup.pb.go @@ -21,12 +21,11 @@ package notebookspb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/notebooks/apiv2/notebookspb/instance.pb.go b/notebooks/apiv2/notebookspb/instance.pb.go index f990f28ef7ba..b3776cea9fc7 100755 --- a/notebooks/apiv2/notebookspb/instance.pb.go +++ b/notebooks/apiv2/notebookspb/instance.pb.go @@ -21,13 +21,12 @@ package notebookspb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/notebooks/apiv2/notebookspb/service.pb.go b/notebooks/apiv2/notebookspb/service.pb.go index 99242e9e88d6..16c0917e15b7 100755 --- a/notebooks/apiv2/notebookspb/service.pb.go +++ b/notebooks/apiv2/notebookspb/service.pb.go @@ -21,11 +21,8 @@ package notebookspb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/optimization/apiv1/auxiliary_go123.go b/optimization/apiv1/auxiliary_go123.go index 47773bf26a03..a363318450c6 100755 --- a/optimization/apiv1/auxiliary_go123.go +++ b/optimization/apiv1/auxiliary_go123.go @@ -17,3 +17,5 @@ //go:build go1.23 package optimization + +import () diff --git a/optimization/apiv1/fleet_routing_client_example_go123_test.go b/optimization/apiv1/fleet_routing_client_example_go123_test.go index f9354ab1e677..93be78bebef9 100644 --- a/optimization/apiv1/fleet_routing_client_example_go123_test.go +++ b/optimization/apiv1/fleet_routing_client_example_go123_test.go @@ -17,3 +17,7 @@ //go:build go1.23 package optimization_test + +import ( + optimization "cloud.google.com/go/optimization/apiv1" +) diff --git a/optimization/apiv1/optimizationpb/async_model.pb.go b/optimization/apiv1/optimizationpb/async_model.pb.go index 5311ca148a09..ded54c38b3cb 100755 --- a/optimization/apiv1/optimizationpb/async_model.pb.go +++ b/optimization/apiv1/optimizationpb/async_model.pb.go @@ -21,13 +21,12 @@ package optimizationpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/optimization/apiv1/optimizationpb/fleet_routing.pb.go b/optimization/apiv1/optimizationpb/fleet_routing.pb.go index 6e930ee05b00..edb46955746c 100755 --- a/optimization/apiv1/optimizationpb/fleet_routing.pb.go +++ b/optimization/apiv1/optimizationpb/fleet_routing.pb.go @@ -21,11 +21,8 @@ package optimizationpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" latlng "google.golang.org/genproto/googleapis/type/latlng" grpc "google.golang.org/grpc" @@ -35,6 +32,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/oracledatabase/apiv1/oracledatabasepb/autonomous_database.pb.go b/oracledatabase/apiv1/oracledatabasepb/autonomous_database.pb.go index 7d1447b1a07b..0ba21e549cb6 100755 --- a/oracledatabase/apiv1/oracledatabasepb/autonomous_database.pb.go +++ b/oracledatabase/apiv1/oracledatabasepb/autonomous_database.pb.go @@ -21,9 +21,6 @@ package oracledatabasepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" dayofweek "google.golang.org/genproto/googleapis/type/dayofweek" timeofday "google.golang.org/genproto/googleapis/type/timeofday" @@ -31,6 +28,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/oracledatabase/apiv1/oracledatabasepb/autonomous_database_character_set.pb.go b/oracledatabase/apiv1/oracledatabasepb/autonomous_database_character_set.pb.go index 307bb9051ec0..3fe6037861d5 100755 --- a/oracledatabase/apiv1/oracledatabasepb/autonomous_database_character_set.pb.go +++ b/oracledatabase/apiv1/oracledatabasepb/autonomous_database_character_set.pb.go @@ -21,12 +21,11 @@ package oracledatabasepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/oracledatabase/apiv1/oracledatabasepb/autonomous_db_backup.pb.go b/oracledatabase/apiv1/oracledatabasepb/autonomous_db_backup.pb.go index 99f11020a5c3..28a2784c8d9d 100755 --- a/oracledatabase/apiv1/oracledatabasepb/autonomous_db_backup.pb.go +++ b/oracledatabase/apiv1/oracledatabasepb/autonomous_db_backup.pb.go @@ -21,13 +21,12 @@ package oracledatabasepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/oracledatabase/apiv1/oracledatabasepb/autonomous_db_version.pb.go b/oracledatabase/apiv1/oracledatabasepb/autonomous_db_version.pb.go index fb5d489e2023..774906c8931c 100755 --- a/oracledatabase/apiv1/oracledatabasepb/autonomous_db_version.pb.go +++ b/oracledatabase/apiv1/oracledatabasepb/autonomous_db_version.pb.go @@ -21,12 +21,11 @@ package oracledatabasepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/oracledatabase/apiv1/oracledatabasepb/common.pb.go b/oracledatabase/apiv1/oracledatabasepb/common.pb.go index 8f0108234e6c..6613aacba595 100755 --- a/oracledatabase/apiv1/oracledatabasepb/common.pb.go +++ b/oracledatabase/apiv1/oracledatabasepb/common.pb.go @@ -21,12 +21,11 @@ package oracledatabasepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/oracledatabase/apiv1/oracledatabasepb/db_node.pb.go b/oracledatabase/apiv1/oracledatabasepb/db_node.pb.go index 292ff1353bf2..340472bd1940 100755 --- a/oracledatabase/apiv1/oracledatabasepb/db_node.pb.go +++ b/oracledatabase/apiv1/oracledatabasepb/db_node.pb.go @@ -21,12 +21,11 @@ package oracledatabasepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/oracledatabase/apiv1/oracledatabasepb/db_server.pb.go b/oracledatabase/apiv1/oracledatabasepb/db_server.pb.go index c3e78630e897..07995232a9a0 100755 --- a/oracledatabase/apiv1/oracledatabasepb/db_server.pb.go +++ b/oracledatabase/apiv1/oracledatabasepb/db_server.pb.go @@ -21,12 +21,11 @@ package oracledatabasepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/oracledatabase/apiv1/oracledatabasepb/db_system_shape.pb.go b/oracledatabase/apiv1/oracledatabasepb/db_system_shape.pb.go index 30c2dc01d4eb..1265dea03a4e 100755 --- a/oracledatabase/apiv1/oracledatabasepb/db_system_shape.pb.go +++ b/oracledatabase/apiv1/oracledatabasepb/db_system_shape.pb.go @@ -21,12 +21,11 @@ package oracledatabasepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/oracledatabase/apiv1/oracledatabasepb/entitlement.pb.go b/oracledatabase/apiv1/oracledatabasepb/entitlement.pb.go index ca764afa81cb..91aea472f2fe 100755 --- a/oracledatabase/apiv1/oracledatabasepb/entitlement.pb.go +++ b/oracledatabase/apiv1/oracledatabasepb/entitlement.pb.go @@ -21,12 +21,11 @@ package oracledatabasepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/oracledatabase/apiv1/oracledatabasepb/exadata_infra.pb.go b/oracledatabase/apiv1/oracledatabasepb/exadata_infra.pb.go index a03b7288abb9..f5d15ea936a5 100755 --- a/oracledatabase/apiv1/oracledatabasepb/exadata_infra.pb.go +++ b/oracledatabase/apiv1/oracledatabasepb/exadata_infra.pb.go @@ -21,15 +21,14 @@ package oracledatabasepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" dayofweek "google.golang.org/genproto/googleapis/type/dayofweek" month "google.golang.org/genproto/googleapis/type/month" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/oracledatabase/apiv1/oracledatabasepb/gi_version.pb.go b/oracledatabase/apiv1/oracledatabasepb/gi_version.pb.go index ef3d62b19c83..a55b311b3ba0 100755 --- a/oracledatabase/apiv1/oracledatabasepb/gi_version.pb.go +++ b/oracledatabase/apiv1/oracledatabasepb/gi_version.pb.go @@ -21,12 +21,11 @@ package oracledatabasepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/oracledatabase/apiv1/oracledatabasepb/location_metadata.pb.go b/oracledatabase/apiv1/oracledatabasepb/location_metadata.pb.go index c64ebc023593..a77f2baa138b 100755 --- a/oracledatabase/apiv1/oracledatabasepb/location_metadata.pb.go +++ b/oracledatabase/apiv1/oracledatabasepb/location_metadata.pb.go @@ -21,12 +21,11 @@ package oracledatabasepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/oracledatabase/apiv1/oracledatabasepb/oracledatabase.pb.go b/oracledatabase/apiv1/oracledatabasepb/oracledatabase.pb.go index b63d7302ae62..4929af690920 100755 --- a/oracledatabase/apiv1/oracledatabasepb/oracledatabase.pb.go +++ b/oracledatabase/apiv1/oracledatabasepb/oracledatabase.pb.go @@ -21,11 +21,8 @@ package oracledatabasepb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/oracledatabase/apiv1/oracledatabasepb/vm_cluster.pb.go b/oracledatabase/apiv1/oracledatabasepb/vm_cluster.pb.go index 746f147944d4..53ff79ae721a 100755 --- a/oracledatabase/apiv1/oracledatabasepb/vm_cluster.pb.go +++ b/oracledatabase/apiv1/oracledatabasepb/vm_cluster.pb.go @@ -21,14 +21,13 @@ package oracledatabasepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" datetime "google.golang.org/genproto/googleapis/type/datetime" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/orchestration/airflow/service/apiv1/servicepb/environments.pb.go b/orchestration/airflow/service/apiv1/servicepb/environments.pb.go index 13ea408999c4..de772c9433fb 100755 --- a/orchestration/airflow/service/apiv1/servicepb/environments.pb.go +++ b/orchestration/airflow/service/apiv1/servicepb/environments.pb.go @@ -21,11 +21,8 @@ package servicepb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/orchestration/airflow/service/apiv1/servicepb/image_versions.pb.go b/orchestration/airflow/service/apiv1/servicepb/image_versions.pb.go index f23f163454c5..a4d7ac33281e 100755 --- a/orchestration/airflow/service/apiv1/servicepb/image_versions.pb.go +++ b/orchestration/airflow/service/apiv1/servicepb/image_versions.pb.go @@ -22,9 +22,6 @@ package servicepb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" date "google.golang.org/genproto/googleapis/type/date" grpc "google.golang.org/grpc" @@ -32,6 +29,8 @@ import ( status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/orchestration/airflow/service/apiv1/servicepb/operations.pb.go b/orchestration/airflow/service/apiv1/servicepb/operations.pb.go index 027d3387c89f..6821f9050b35 100755 --- a/orchestration/airflow/service/apiv1/servicepb/operations.pb.go +++ b/orchestration/airflow/service/apiv1/servicepb/operations.pb.go @@ -21,12 +21,11 @@ package servicepb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/orgpolicy/apiv1/orgpolicypb/orgpolicy.pb.go b/orgpolicy/apiv1/orgpolicypb/orgpolicy.pb.go index 4b288546f8dd..6177583bb998 100755 --- a/orgpolicy/apiv1/orgpolicypb/orgpolicy.pb.go +++ b/orgpolicy/apiv1/orgpolicypb/orgpolicy.pb.go @@ -22,12 +22,11 @@ package orgpolicypb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/orgpolicy/apiv2/orgpolicypb/constraint.pb.go b/orgpolicy/apiv2/orgpolicypb/constraint.pb.go index c5466aa650a2..427e6fafd516 100755 --- a/orgpolicy/apiv2/orgpolicypb/constraint.pb.go +++ b/orgpolicy/apiv2/orgpolicypb/constraint.pb.go @@ -21,13 +21,12 @@ package orgpolicypb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/orgpolicy/apiv2/orgpolicypb/orgpolicy.pb.go b/orgpolicy/apiv2/orgpolicypb/orgpolicy.pb.go index f2414f62c9d4..40f630453355 100755 --- a/orgpolicy/apiv2/orgpolicypb/orgpolicy.pb.go +++ b/orgpolicy/apiv2/orgpolicypb/orgpolicy.pb.go @@ -22,9 +22,6 @@ package orgpolicypb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" expr "google.golang.org/genproto/googleapis/type/expr" grpc "google.golang.org/grpc" @@ -35,6 +32,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/osconfig/agentendpoint/apiv1/agent_endpoint_client_example_go123_test.go b/osconfig/agentendpoint/apiv1/agent_endpoint_client_example_go123_test.go index 708dad66ab5f..6617c6d2bcea 100644 --- a/osconfig/agentendpoint/apiv1/agent_endpoint_client_example_go123_test.go +++ b/osconfig/agentendpoint/apiv1/agent_endpoint_client_example_go123_test.go @@ -17,3 +17,7 @@ //go:build go1.23 package agentendpoint_test + +import ( + agentendpoint "cloud.google.com/go/osconfig/agentendpoint/apiv1" +) diff --git a/osconfig/agentendpoint/apiv1/agentendpointpb/agentendpoint.pb.go b/osconfig/agentendpoint/apiv1/agentendpointpb/agentendpoint.pb.go index a239e9d92c38..73cfb5abd9ba 100755 --- a/osconfig/agentendpoint/apiv1/agentendpointpb/agentendpoint.pb.go +++ b/osconfig/agentendpoint/apiv1/agentendpointpb/agentendpoint.pb.go @@ -22,15 +22,14 @@ package agentendpointpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/osconfig/agentendpoint/apiv1/agentendpointpb/config_common.pb.go b/osconfig/agentendpoint/apiv1/agentendpointpb/config_common.pb.go index 757f86917fae..8144687b9d8b 100755 --- a/osconfig/agentendpoint/apiv1/agentendpointpb/config_common.pb.go +++ b/osconfig/agentendpoint/apiv1/agentendpointpb/config_common.pb.go @@ -21,11 +21,10 @@ package agentendpointpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/osconfig/agentendpoint/apiv1/agentendpointpb/inventory.pb.go b/osconfig/agentendpoint/apiv1/agentendpointpb/inventory.pb.go index 3f6209ed64a5..e8ada31358f9 100755 --- a/osconfig/agentendpoint/apiv1/agentendpointpb/inventory.pb.go +++ b/osconfig/agentendpoint/apiv1/agentendpointpb/inventory.pb.go @@ -21,14 +21,13 @@ package agentendpointpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" date "google.golang.org/genproto/googleapis/type/date" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/osconfig/agentendpoint/apiv1/agentendpointpb/os_policy.pb.go b/osconfig/agentendpoint/apiv1/agentendpointpb/os_policy.pb.go index b2ff542a5f33..a04101e550be 100755 --- a/osconfig/agentendpoint/apiv1/agentendpointpb/os_policy.pb.go +++ b/osconfig/agentendpoint/apiv1/agentendpointpb/os_policy.pb.go @@ -21,12 +21,11 @@ package agentendpointpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/osconfig/agentendpoint/apiv1/agentendpointpb/patch_jobs.pb.go b/osconfig/agentendpoint/apiv1/agentendpointpb/patch_jobs.pb.go index 8551ca2703a4..f84093d4f86c 100755 --- a/osconfig/agentendpoint/apiv1/agentendpointpb/patch_jobs.pb.go +++ b/osconfig/agentendpoint/apiv1/agentendpointpb/patch_jobs.pb.go @@ -21,11 +21,10 @@ package agentendpointpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/osconfig/agentendpoint/apiv1/agentendpointpb/tasks.pb.go b/osconfig/agentendpoint/apiv1/agentendpointpb/tasks.pb.go index 70615c839db7..e9bc51f0a80a 100755 --- a/osconfig/agentendpoint/apiv1/agentendpointpb/tasks.pb.go +++ b/osconfig/agentendpoint/apiv1/agentendpointpb/tasks.pb.go @@ -21,12 +21,11 @@ package agentendpointpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/osconfig/agentendpoint/apiv1/auxiliary.go b/osconfig/agentendpoint/apiv1/auxiliary.go index e88a1cdf19b8..fbc640b467d5 100755 --- a/osconfig/agentendpoint/apiv1/auxiliary.go +++ b/osconfig/agentendpoint/apiv1/auxiliary.go @@ -15,3 +15,5 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package agentendpoint + +import () diff --git a/osconfig/agentendpoint/apiv1/auxiliary_go123.go b/osconfig/agentendpoint/apiv1/auxiliary_go123.go index cbe71eb09cb1..40edc39649cb 100755 --- a/osconfig/agentendpoint/apiv1/auxiliary_go123.go +++ b/osconfig/agentendpoint/apiv1/auxiliary_go123.go @@ -17,3 +17,5 @@ //go:build go1.23 package agentendpoint + +import () diff --git a/osconfig/agentendpoint/apiv1beta/agent_endpoint_client_example_go123_test.go b/osconfig/agentendpoint/apiv1beta/agent_endpoint_client_example_go123_test.go index 708dad66ab5f..05e63b1b464a 100644 --- a/osconfig/agentendpoint/apiv1beta/agent_endpoint_client_example_go123_test.go +++ b/osconfig/agentendpoint/apiv1beta/agent_endpoint_client_example_go123_test.go @@ -17,3 +17,7 @@ //go:build go1.23 package agentendpoint_test + +import ( + agentendpoint "cloud.google.com/go/osconfig/agentendpoint/apiv1beta" +) diff --git a/osconfig/agentendpoint/apiv1beta/agentendpointpb/agentendpoint.pb.go b/osconfig/agentendpoint/apiv1beta/agentendpointpb/agentendpoint.pb.go index 98e920d13818..e21aa37e8077 100755 --- a/osconfig/agentendpoint/apiv1beta/agentendpointpb/agentendpoint.pb.go +++ b/osconfig/agentendpoint/apiv1beta/agentendpointpb/agentendpoint.pb.go @@ -22,15 +22,14 @@ package agentendpointpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/osconfig/agentendpoint/apiv1beta/agentendpointpb/guest_policies.pb.go b/osconfig/agentendpoint/apiv1beta/agentendpointpb/guest_policies.pb.go index 9c80603e0155..783f62007a7d 100755 --- a/osconfig/agentendpoint/apiv1beta/agentendpointpb/guest_policies.pb.go +++ b/osconfig/agentendpoint/apiv1beta/agentendpointpb/guest_policies.pb.go @@ -21,12 +21,11 @@ package agentendpointpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/osconfig/agentendpoint/apiv1beta/agentendpointpb/patch_jobs.pb.go b/osconfig/agentendpoint/apiv1beta/agentendpointpb/patch_jobs.pb.go index 2c9dac6f4254..24412c92f5fe 100755 --- a/osconfig/agentendpoint/apiv1beta/agentendpointpb/patch_jobs.pb.go +++ b/osconfig/agentendpoint/apiv1beta/agentendpointpb/patch_jobs.pb.go @@ -21,11 +21,10 @@ package agentendpointpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/osconfig/agentendpoint/apiv1beta/agentendpointpb/tasks.pb.go b/osconfig/agentendpoint/apiv1beta/agentendpointpb/tasks.pb.go index fcdb715d558b..0c0fedd5b7f4 100755 --- a/osconfig/agentendpoint/apiv1beta/agentendpointpb/tasks.pb.go +++ b/osconfig/agentendpoint/apiv1beta/agentendpointpb/tasks.pb.go @@ -21,12 +21,11 @@ package agentendpointpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/osconfig/agentendpoint/apiv1beta/auxiliary.go b/osconfig/agentendpoint/apiv1beta/auxiliary.go index e88a1cdf19b8..fbc640b467d5 100755 --- a/osconfig/agentendpoint/apiv1beta/auxiliary.go +++ b/osconfig/agentendpoint/apiv1beta/auxiliary.go @@ -15,3 +15,5 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package agentendpoint + +import () diff --git a/osconfig/agentendpoint/apiv1beta/auxiliary_go123.go b/osconfig/agentendpoint/apiv1beta/auxiliary_go123.go index cbe71eb09cb1..40edc39649cb 100755 --- a/osconfig/agentendpoint/apiv1beta/auxiliary_go123.go +++ b/osconfig/agentendpoint/apiv1beta/auxiliary_go123.go @@ -17,3 +17,5 @@ //go:build go1.23 package agentendpoint + +import () diff --git a/osconfig/apiv1/osconfigpb/inventory.pb.go b/osconfig/apiv1/osconfigpb/inventory.pb.go index f389c33f1221..7b4b530abf56 100755 --- a/osconfig/apiv1/osconfigpb/inventory.pb.go +++ b/osconfig/apiv1/osconfigpb/inventory.pb.go @@ -21,14 +21,13 @@ package osconfigpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" date "google.golang.org/genproto/googleapis/type/date" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/osconfig/apiv1/osconfigpb/os_policy.pb.go b/osconfig/apiv1/osconfigpb/os_policy.pb.go index 6c7fe064dc21..ea4295c244c0 100755 --- a/osconfig/apiv1/osconfigpb/os_policy.pb.go +++ b/osconfig/apiv1/osconfigpb/os_policy.pb.go @@ -21,12 +21,11 @@ package osconfigpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/osconfig/apiv1/osconfigpb/os_policy_assignment_reports.pb.go b/osconfig/apiv1/osconfigpb/os_policy_assignment_reports.pb.go index bbeb6d1355e2..df5c64adaaae 100755 --- a/osconfig/apiv1/osconfigpb/os_policy_assignment_reports.pb.go +++ b/osconfig/apiv1/osconfigpb/os_policy_assignment_reports.pb.go @@ -21,13 +21,12 @@ package osconfigpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/osconfig/apiv1/osconfigpb/os_policy_assignments.pb.go b/osconfig/apiv1/osconfigpb/os_policy_assignments.pb.go index 646f0c382845..79b7c1b4b9ae 100755 --- a/osconfig/apiv1/osconfigpb/os_policy_assignments.pb.go +++ b/osconfig/apiv1/osconfigpb/os_policy_assignments.pb.go @@ -21,15 +21,14 @@ package osconfigpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/osconfig/apiv1/osconfigpb/osconfig_common.pb.go b/osconfig/apiv1/osconfigpb/osconfig_common.pb.go index c3e24379afb8..4fbccf7ad000 100755 --- a/osconfig/apiv1/osconfigpb/osconfig_common.pb.go +++ b/osconfig/apiv1/osconfigpb/osconfig_common.pb.go @@ -21,11 +21,10 @@ package osconfigpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/osconfig/apiv1/osconfigpb/osconfig_service.pb.go b/osconfig/apiv1/osconfigpb/osconfig_service.pb.go index 4b1823408ed2..89e50c690a06 100755 --- a/osconfig/apiv1/osconfigpb/osconfig_service.pb.go +++ b/osconfig/apiv1/osconfigpb/osconfig_service.pb.go @@ -22,8 +22,6 @@ package osconfigpb import ( context "context" - reflect "reflect" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,6 +29,7 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" + reflect "reflect" ) const ( diff --git a/osconfig/apiv1/osconfigpb/osconfig_zonal_service.pb.go b/osconfig/apiv1/osconfigpb/osconfig_zonal_service.pb.go index 54bd5d49fb30..94af713b930b 100755 --- a/osconfig/apiv1/osconfigpb/osconfig_zonal_service.pb.go +++ b/osconfig/apiv1/osconfigpb/osconfig_zonal_service.pb.go @@ -21,16 +21,15 @@ package osconfigpb import ( - context "context" - reflect "reflect" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" ) const ( diff --git a/osconfig/apiv1/osconfigpb/patch_deployments.pb.go b/osconfig/apiv1/osconfigpb/patch_deployments.pb.go index 88cd79ca8ec9..2deafc788717 100755 --- a/osconfig/apiv1/osconfigpb/patch_deployments.pb.go +++ b/osconfig/apiv1/osconfigpb/patch_deployments.pb.go @@ -21,9 +21,6 @@ package osconfigpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" datetime "google.golang.org/genproto/googleapis/type/datetime" dayofweek "google.golang.org/genproto/googleapis/type/dayofweek" @@ -33,6 +30,8 @@ import ( durationpb "google.golang.org/protobuf/types/known/durationpb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/osconfig/apiv1/osconfigpb/patch_jobs.pb.go b/osconfig/apiv1/osconfigpb/patch_jobs.pb.go index 5d7e30ac295e..ad3d819d0b58 100755 --- a/osconfig/apiv1/osconfigpb/patch_jobs.pb.go +++ b/osconfig/apiv1/osconfigpb/patch_jobs.pb.go @@ -21,14 +21,13 @@ package osconfigpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/osconfig/apiv1/osconfigpb/vulnerability.pb.go b/osconfig/apiv1/osconfigpb/vulnerability.pb.go index 8d707643cf71..3f276891ba11 100755 --- a/osconfig/apiv1/osconfigpb/vulnerability.pb.go +++ b/osconfig/apiv1/osconfigpb/vulnerability.pb.go @@ -21,13 +21,12 @@ package osconfigpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/osconfig/apiv1alpha/osconfigpb/config_common.pb.go b/osconfig/apiv1alpha/osconfigpb/config_common.pb.go index 6ea11ff604ec..8fc56baed489 100755 --- a/osconfig/apiv1alpha/osconfigpb/config_common.pb.go +++ b/osconfig/apiv1alpha/osconfigpb/config_common.pb.go @@ -21,11 +21,10 @@ package osconfigpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/osconfig/apiv1alpha/osconfigpb/instance_os_policies_compliance.pb.go b/osconfig/apiv1alpha/osconfigpb/instance_os_policies_compliance.pb.go index b16fc190c8fa..339aa73de67a 100755 --- a/osconfig/apiv1alpha/osconfigpb/instance_os_policies_compliance.pb.go +++ b/osconfig/apiv1alpha/osconfigpb/instance_os_policies_compliance.pb.go @@ -21,13 +21,12 @@ package osconfigpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/osconfig/apiv1alpha/osconfigpb/inventory.pb.go b/osconfig/apiv1alpha/osconfigpb/inventory.pb.go index c0c055c1fbe1..5205971b58be 100755 --- a/osconfig/apiv1alpha/osconfigpb/inventory.pb.go +++ b/osconfig/apiv1alpha/osconfigpb/inventory.pb.go @@ -21,14 +21,13 @@ package osconfigpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" date "google.golang.org/genproto/googleapis/type/date" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/osconfig/apiv1alpha/osconfigpb/os_policy.pb.go b/osconfig/apiv1alpha/osconfigpb/os_policy.pb.go index ad055a447c4e..ecc6a28590d8 100755 --- a/osconfig/apiv1alpha/osconfigpb/os_policy.pb.go +++ b/osconfig/apiv1alpha/osconfigpb/os_policy.pb.go @@ -21,12 +21,11 @@ package osconfigpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/osconfig/apiv1alpha/osconfigpb/os_policy_assignment_reports.pb.go b/osconfig/apiv1alpha/osconfigpb/os_policy_assignment_reports.pb.go index 01b792b835fd..dd2aacb52f44 100755 --- a/osconfig/apiv1alpha/osconfigpb/os_policy_assignment_reports.pb.go +++ b/osconfig/apiv1alpha/osconfigpb/os_policy_assignment_reports.pb.go @@ -21,13 +21,12 @@ package osconfigpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/osconfig/apiv1alpha/osconfigpb/os_policy_assignments.pb.go b/osconfig/apiv1alpha/osconfigpb/os_policy_assignments.pb.go index 92dc6f3840b6..77aa5d2201c4 100755 --- a/osconfig/apiv1alpha/osconfigpb/os_policy_assignments.pb.go +++ b/osconfig/apiv1alpha/osconfigpb/os_policy_assignments.pb.go @@ -21,15 +21,14 @@ package osconfigpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/osconfig/apiv1alpha/osconfigpb/osconfig_common.pb.go b/osconfig/apiv1alpha/osconfigpb/osconfig_common.pb.go index 5930f6c90c51..9a8f32087277 100755 --- a/osconfig/apiv1alpha/osconfigpb/osconfig_common.pb.go +++ b/osconfig/apiv1alpha/osconfigpb/osconfig_common.pb.go @@ -21,11 +21,10 @@ package osconfigpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/osconfig/apiv1alpha/osconfigpb/osconfig_zonal_service.pb.go b/osconfig/apiv1alpha/osconfigpb/osconfig_zonal_service.pb.go index 00b354f07316..9b3b155d5bc9 100755 --- a/osconfig/apiv1alpha/osconfigpb/osconfig_zonal_service.pb.go +++ b/osconfig/apiv1alpha/osconfigpb/osconfig_zonal_service.pb.go @@ -21,16 +21,15 @@ package osconfigpb import ( - context "context" - reflect "reflect" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" ) const ( diff --git a/osconfig/apiv1alpha/osconfigpb/vulnerability.pb.go b/osconfig/apiv1alpha/osconfigpb/vulnerability.pb.go index f4546a393a20..bdb1fc7799df 100755 --- a/osconfig/apiv1alpha/osconfigpb/vulnerability.pb.go +++ b/osconfig/apiv1alpha/osconfigpb/vulnerability.pb.go @@ -21,13 +21,12 @@ package osconfigpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/osconfig/apiv1beta/osconfigpb/guest_policies.pb.go b/osconfig/apiv1beta/osconfigpb/guest_policies.pb.go index a66b77aac12c..091916f668b7 100755 --- a/osconfig/apiv1beta/osconfigpb/guest_policies.pb.go +++ b/osconfig/apiv1beta/osconfigpb/guest_policies.pb.go @@ -21,14 +21,13 @@ package osconfigpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/osconfig/apiv1beta/osconfigpb/osconfig_common.pb.go b/osconfig/apiv1beta/osconfigpb/osconfig_common.pb.go index 2fe8309df01d..c21e4cb749ae 100755 --- a/osconfig/apiv1beta/osconfigpb/osconfig_common.pb.go +++ b/osconfig/apiv1beta/osconfigpb/osconfig_common.pb.go @@ -21,11 +21,10 @@ package osconfigpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/osconfig/apiv1beta/osconfigpb/osconfig_service.pb.go b/osconfig/apiv1beta/osconfigpb/osconfig_service.pb.go index 66b251a5f516..111b47046dfb 100755 --- a/osconfig/apiv1beta/osconfigpb/osconfig_service.pb.go +++ b/osconfig/apiv1beta/osconfigpb/osconfig_service.pb.go @@ -22,8 +22,6 @@ package osconfigpb import ( context "context" - reflect "reflect" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,6 +29,7 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" + reflect "reflect" ) const ( diff --git a/osconfig/apiv1beta/osconfigpb/patch_deployments.pb.go b/osconfig/apiv1beta/osconfigpb/patch_deployments.pb.go index 9186df9953b6..dff6e9db1b56 100755 --- a/osconfig/apiv1beta/osconfigpb/patch_deployments.pb.go +++ b/osconfig/apiv1beta/osconfigpb/patch_deployments.pb.go @@ -21,9 +21,6 @@ package osconfigpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" datetime "google.golang.org/genproto/googleapis/type/datetime" dayofweek "google.golang.org/genproto/googleapis/type/dayofweek" @@ -33,6 +30,8 @@ import ( durationpb "google.golang.org/protobuf/types/known/durationpb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/osconfig/apiv1beta/osconfigpb/patch_jobs.pb.go b/osconfig/apiv1beta/osconfigpb/patch_jobs.pb.go index 4718df2fa7bc..29f5261bdde9 100755 --- a/osconfig/apiv1beta/osconfigpb/patch_jobs.pb.go +++ b/osconfig/apiv1beta/osconfigpb/patch_jobs.pb.go @@ -21,14 +21,13 @@ package osconfigpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/oslogin/apiv1/auxiliary.go b/oslogin/apiv1/auxiliary.go index 7ac009427e36..e50b892f0659 100755 --- a/oslogin/apiv1/auxiliary.go +++ b/oslogin/apiv1/auxiliary.go @@ -15,3 +15,5 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package oslogin + +import () diff --git a/oslogin/apiv1/auxiliary_go123.go b/oslogin/apiv1/auxiliary_go123.go index 3f9148162ac5..0ed442b6a23f 100755 --- a/oslogin/apiv1/auxiliary_go123.go +++ b/oslogin/apiv1/auxiliary_go123.go @@ -17,3 +17,5 @@ //go:build go1.23 package oslogin + +import () diff --git a/oslogin/apiv1/os_login_client_example_go123_test.go b/oslogin/apiv1/os_login_client_example_go123_test.go index 99e995f92125..ac520c9c295a 100644 --- a/oslogin/apiv1/os_login_client_example_go123_test.go +++ b/oslogin/apiv1/os_login_client_example_go123_test.go @@ -17,3 +17,7 @@ //go:build go1.23 package oslogin_test + +import ( + oslogin "cloud.google.com/go/oslogin/apiv1" +) diff --git a/oslogin/apiv1/osloginpb/oslogin.pb.go b/oslogin/apiv1/osloginpb/oslogin.pb.go index dc91aa5ae20a..05bd42804992 100755 --- a/oslogin/apiv1/osloginpb/oslogin.pb.go +++ b/oslogin/apiv1/osloginpb/oslogin.pb.go @@ -21,11 +21,8 @@ package osloginpb import ( - context "context" - reflect "reflect" - sync "sync" - commonpb "cloud.google.com/go/oslogin/common/commonpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/oslogin/apiv1beta/auxiliary.go b/oslogin/apiv1beta/auxiliary.go index 7ac009427e36..e50b892f0659 100755 --- a/oslogin/apiv1beta/auxiliary.go +++ b/oslogin/apiv1beta/auxiliary.go @@ -15,3 +15,5 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package oslogin + +import () diff --git a/oslogin/apiv1beta/auxiliary_go123.go b/oslogin/apiv1beta/auxiliary_go123.go index 3f9148162ac5..0ed442b6a23f 100755 --- a/oslogin/apiv1beta/auxiliary_go123.go +++ b/oslogin/apiv1beta/auxiliary_go123.go @@ -17,3 +17,5 @@ //go:build go1.23 package oslogin + +import () diff --git a/oslogin/apiv1beta/os_login_client_example_go123_test.go b/oslogin/apiv1beta/os_login_client_example_go123_test.go index 99e995f92125..15ed5de2eb06 100644 --- a/oslogin/apiv1beta/os_login_client_example_go123_test.go +++ b/oslogin/apiv1beta/os_login_client_example_go123_test.go @@ -17,3 +17,7 @@ //go:build go1.23 package oslogin_test + +import ( + oslogin "cloud.google.com/go/oslogin/apiv1beta" +) diff --git a/oslogin/apiv1beta/osloginpb/oslogin.pb.go b/oslogin/apiv1beta/osloginpb/oslogin.pb.go index 8d407c2b059d..6c7fa3585beb 100755 --- a/oslogin/apiv1beta/osloginpb/oslogin.pb.go +++ b/oslogin/apiv1beta/osloginpb/oslogin.pb.go @@ -21,11 +21,8 @@ package osloginpb import ( - context "context" - reflect "reflect" - sync "sync" - commonpb "cloud.google.com/go/oslogin/common/commonpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/oslogin/common/commonpb/common.pb.go b/oslogin/common/commonpb/common.pb.go index 7d0f16e664f3..139c3d2d5955 100755 --- a/oslogin/common/commonpb/common.pb.go +++ b/oslogin/common/commonpb/common.pb.go @@ -21,12 +21,11 @@ package commonpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/parallelstore/apiv1beta/parallelstorepb/parallelstore.pb.go b/parallelstore/apiv1beta/parallelstorepb/parallelstore.pb.go index b7140531af3f..5baabbd3b674 100755 --- a/parallelstore/apiv1beta/parallelstorepb/parallelstore.pb.go +++ b/parallelstore/apiv1beta/parallelstorepb/parallelstore.pb.go @@ -21,11 +21,8 @@ package parallelstorepb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/phishingprotection/apiv1beta1/auxiliary.go b/phishingprotection/apiv1beta1/auxiliary.go index 3f2da0adda37..0159b29ecf58 100755 --- a/phishingprotection/apiv1beta1/auxiliary.go +++ b/phishingprotection/apiv1beta1/auxiliary.go @@ -15,3 +15,5 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package phishingprotection + +import () diff --git a/phishingprotection/apiv1beta1/auxiliary_go123.go b/phishingprotection/apiv1beta1/auxiliary_go123.go index deb7a95f8eac..5d0dba52fc37 100755 --- a/phishingprotection/apiv1beta1/auxiliary_go123.go +++ b/phishingprotection/apiv1beta1/auxiliary_go123.go @@ -17,3 +17,5 @@ //go:build go1.23 package phishingprotection + +import () diff --git a/phishingprotection/apiv1beta1/phishing_protection_service_v1_beta1_client_example_go123_test.go b/phishingprotection/apiv1beta1/phishing_protection_service_v1_beta1_client_example_go123_test.go index 5f08af45fb53..fdabb2c3affb 100644 --- a/phishingprotection/apiv1beta1/phishing_protection_service_v1_beta1_client_example_go123_test.go +++ b/phishingprotection/apiv1beta1/phishing_protection_service_v1_beta1_client_example_go123_test.go @@ -17,3 +17,7 @@ //go:build go1.23 package phishingprotection_test + +import ( + phishingprotection "cloud.google.com/go/phishingprotection/apiv1beta1" +) diff --git a/phishingprotection/apiv1beta1/phishingprotectionpb/phishingprotection.pb.go b/phishingprotection/apiv1beta1/phishingprotectionpb/phishingprotection.pb.go index 5c65739465e6..fa8b371c6d52 100755 --- a/phishingprotection/apiv1beta1/phishingprotectionpb/phishingprotection.pb.go +++ b/phishingprotection/apiv1beta1/phishingprotectionpb/phishingprotection.pb.go @@ -23,15 +23,14 @@ package phishingprotectionpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/policysimulator/apiv1/policysimulatorpb/explanations.pb.go b/policysimulator/apiv1/policysimulatorpb/explanations.pb.go index 102fa3e45a78..63b0e7d5add3 100755 --- a/policysimulator/apiv1/policysimulatorpb/explanations.pb.go +++ b/policysimulator/apiv1/policysimulatorpb/explanations.pb.go @@ -21,14 +21,13 @@ package policysimulatorpb import ( - reflect "reflect" - sync "sync" - iampb "cloud.google.com/go/iam/apiv1/iampb" _ "google.golang.org/genproto/googleapis/api/annotations" expr "google.golang.org/genproto/googleapis/type/expr" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/policysimulator/apiv1/policysimulatorpb/simulator.pb.go b/policysimulator/apiv1/policysimulatorpb/simulator.pb.go index f3d30bc8bfc7..6dfd8781af7f 100755 --- a/policysimulator/apiv1/policysimulatorpb/simulator.pb.go +++ b/policysimulator/apiv1/policysimulatorpb/simulator.pb.go @@ -21,12 +21,9 @@ package policysimulatorpb import ( - context "context" - reflect "reflect" - sync "sync" - iampb "cloud.google.com/go/iam/apiv1/iampb" longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" date "google.golang.org/genproto/googleapis/type/date" @@ -36,6 +33,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/policytroubleshooter/apiv1/auxiliary.go b/policytroubleshooter/apiv1/auxiliary.go index 8ad3439f3d86..46bc29928b42 100755 --- a/policytroubleshooter/apiv1/auxiliary.go +++ b/policytroubleshooter/apiv1/auxiliary.go @@ -15,3 +15,5 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package policytroubleshooter + +import () diff --git a/policytroubleshooter/apiv1/auxiliary_go123.go b/policytroubleshooter/apiv1/auxiliary_go123.go index e1ba278b080e..f37c76956d65 100755 --- a/policytroubleshooter/apiv1/auxiliary_go123.go +++ b/policytroubleshooter/apiv1/auxiliary_go123.go @@ -17,3 +17,5 @@ //go:build go1.23 package policytroubleshooter + +import () diff --git a/policytroubleshooter/apiv1/iam_checker_client_example_go123_test.go b/policytroubleshooter/apiv1/iam_checker_client_example_go123_test.go index 5b85a321d040..26467bf32ff7 100644 --- a/policytroubleshooter/apiv1/iam_checker_client_example_go123_test.go +++ b/policytroubleshooter/apiv1/iam_checker_client_example_go123_test.go @@ -17,3 +17,7 @@ //go:build go1.23 package policytroubleshooter_test + +import ( + policytroubleshooter "cloud.google.com/go/policytroubleshooter/apiv1" +) diff --git a/policytroubleshooter/apiv1/policytroubleshooterpb/checker.pb.go b/policytroubleshooter/apiv1/policytroubleshooterpb/checker.pb.go index fd9ef71fc1c4..1fef75934aa6 100755 --- a/policytroubleshooter/apiv1/policytroubleshooterpb/checker.pb.go +++ b/policytroubleshooter/apiv1/policytroubleshooterpb/checker.pb.go @@ -22,9 +22,6 @@ package policytroubleshooterpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -32,6 +29,8 @@ import ( status1 "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/policytroubleshooter/apiv1/policytroubleshooterpb/explanations.pb.go b/policytroubleshooter/apiv1/policytroubleshooterpb/explanations.pb.go index 62a36ef5a63a..011d27b70bec 100755 --- a/policytroubleshooter/apiv1/policytroubleshooterpb/explanations.pb.go +++ b/policytroubleshooter/apiv1/policytroubleshooterpb/explanations.pb.go @@ -21,14 +21,13 @@ package policytroubleshooterpb import ( - reflect "reflect" - sync "sync" - iampb "cloud.google.com/go/iam/apiv1/iampb" _ "google.golang.org/genproto/googleapis/api/annotations" expr "google.golang.org/genproto/googleapis/type/expr" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/policytroubleshooter/iam/apiv3/auxiliary.go b/policytroubleshooter/iam/apiv3/auxiliary.go index d09ad9188791..5a8b3c343414 100755 --- a/policytroubleshooter/iam/apiv3/auxiliary.go +++ b/policytroubleshooter/iam/apiv3/auxiliary.go @@ -15,3 +15,5 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package iam + +import () diff --git a/policytroubleshooter/iam/apiv3/auxiliary_go123.go b/policytroubleshooter/iam/apiv3/auxiliary_go123.go index 2ef3c5939acf..364fbcab5923 100755 --- a/policytroubleshooter/iam/apiv3/auxiliary_go123.go +++ b/policytroubleshooter/iam/apiv3/auxiliary_go123.go @@ -17,3 +17,5 @@ //go:build go1.23 package iam + +import () diff --git a/policytroubleshooter/iam/apiv3/iampb/troubleshooter.pb.go b/policytroubleshooter/iam/apiv3/iampb/troubleshooter.pb.go index ebb7ba895e8f..3ae06d5b1697 100755 --- a/policytroubleshooter/iam/apiv3/iampb/troubleshooter.pb.go +++ b/policytroubleshooter/iam/apiv3/iampb/troubleshooter.pb.go @@ -21,12 +21,9 @@ package iampb import ( - context "context" - reflect "reflect" - sync "sync" - iampb "cloud.google.com/go/iam/apiv1/iampb" iampb1 "cloud.google.com/go/iam/apiv2/iampb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" expr "google.golang.org/genproto/googleapis/type/expr" @@ -37,6 +34,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/policytroubleshooter/iam/apiv3/policy_troubleshooter_client_example_go123_test.go b/policytroubleshooter/iam/apiv3/policy_troubleshooter_client_example_go123_test.go index a5c65571017c..07835b191d39 100644 --- a/policytroubleshooter/iam/apiv3/policy_troubleshooter_client_example_go123_test.go +++ b/policytroubleshooter/iam/apiv3/policy_troubleshooter_client_example_go123_test.go @@ -17,3 +17,7 @@ //go:build go1.23 package iam_test + +import ( + iam "cloud.google.com/go/policytroubleshooter/iam/apiv3" +) diff --git a/privatecatalog/apiv1beta1/privatecatalogpb/private_catalog.pb.go b/privatecatalog/apiv1beta1/privatecatalogpb/private_catalog.pb.go index 5d454dd02c0e..28f04a88d397 100755 --- a/privatecatalog/apiv1beta1/privatecatalogpb/private_catalog.pb.go +++ b/privatecatalog/apiv1beta1/privatecatalogpb/private_catalog.pb.go @@ -21,11 +21,8 @@ package privatecatalogpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/privilegedaccessmanager/apiv1/privilegedaccessmanagerpb/privilegedaccessmanager.pb.go b/privilegedaccessmanager/apiv1/privilegedaccessmanagerpb/privilegedaccessmanager.pb.go index 5c8398aa9a99..b7e0f3d4a10a 100755 --- a/privilegedaccessmanager/apiv1/privilegedaccessmanagerpb/privilegedaccessmanager.pb.go +++ b/privilegedaccessmanager/apiv1/privilegedaccessmanagerpb/privilegedaccessmanager.pb.go @@ -21,11 +21,8 @@ package privilegedaccessmanagerpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -36,6 +33,8 @@ import ( durationpb "google.golang.org/protobuf/types/known/durationpb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/pubsub/apiv1/pubsubpb/pubsub.pb.go b/pubsub/apiv1/pubsubpb/pubsub.pb.go index f18defab41d3..a3065aa34b7c 100755 --- a/pubsub/apiv1/pubsubpb/pubsub.pb.go +++ b/pubsub/apiv1/pubsubpb/pubsub.pb.go @@ -22,9 +22,6 @@ package pubsubpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/pubsub/apiv1/pubsubpb/schema.pb.go b/pubsub/apiv1/pubsubpb/schema.pb.go index 8b46af881667..c40bb22d9b6d 100755 --- a/pubsub/apiv1/pubsubpb/schema.pb.go +++ b/pubsub/apiv1/pubsubpb/schema.pb.go @@ -22,9 +22,6 @@ package pubsubpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/pubsublite/apiv1/pubsublitepb/admin.pb.go b/pubsublite/apiv1/pubsublitepb/admin.pb.go index 56dc248ea765..0b48273a8e3d 100755 --- a/pubsublite/apiv1/pubsublitepb/admin.pb.go +++ b/pubsublite/apiv1/pubsublitepb/admin.pb.go @@ -21,11 +21,8 @@ package pubsublitepb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/pubsublite/apiv1/pubsublitepb/common.pb.go b/pubsublite/apiv1/pubsublitepb/common.pb.go index dc80dcf70ea7..2c8a4c87441b 100755 --- a/pubsublite/apiv1/pubsublitepb/common.pb.go +++ b/pubsublite/apiv1/pubsublitepb/common.pb.go @@ -21,14 +21,13 @@ package pubsublitepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/pubsublite/apiv1/pubsublitepb/cursor.pb.go b/pubsublite/apiv1/pubsublitepb/cursor.pb.go index 8cfafa355bf9..cf94a25bbcdf 100755 --- a/pubsublite/apiv1/pubsublitepb/cursor.pb.go +++ b/pubsublite/apiv1/pubsublitepb/cursor.pb.go @@ -22,15 +22,14 @@ package pubsublitepb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/pubsublite/apiv1/pubsublitepb/publisher.pb.go b/pubsublite/apiv1/pubsublitepb/publisher.pb.go index 2e00193e6aab..f9ffb1120d72 100755 --- a/pubsublite/apiv1/pubsublitepb/publisher.pb.go +++ b/pubsublite/apiv1/pubsublitepb/publisher.pb.go @@ -22,15 +22,14 @@ package pubsublitepb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/pubsublite/apiv1/pubsublitepb/subscriber.pb.go b/pubsublite/apiv1/pubsublitepb/subscriber.pb.go index fc2bd780d694..305f85a15973 100755 --- a/pubsublite/apiv1/pubsublitepb/subscriber.pb.go +++ b/pubsublite/apiv1/pubsublitepb/subscriber.pb.go @@ -22,15 +22,14 @@ package pubsublitepb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/pubsublite/apiv1/pubsublitepb/topic_stats.pb.go b/pubsublite/apiv1/pubsublitepb/topic_stats.pb.go index 761a13893f3c..00ecfba2ce8a 100755 --- a/pubsublite/apiv1/pubsublitepb/topic_stats.pb.go +++ b/pubsublite/apiv1/pubsublitepb/topic_stats.pb.go @@ -22,9 +22,6 @@ package pubsublitepb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/rapidmigrationassessment/apiv1/rapidmigrationassessmentpb/api_entities.pb.go b/rapidmigrationassessment/apiv1/rapidmigrationassessmentpb/api_entities.pb.go index d3822570dfcd..ab91dd1d87fd 100755 --- a/rapidmigrationassessment/apiv1/rapidmigrationassessmentpb/api_entities.pb.go +++ b/rapidmigrationassessment/apiv1/rapidmigrationassessmentpb/api_entities.pb.go @@ -21,13 +21,12 @@ package rapidmigrationassessmentpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/rapidmigrationassessment/apiv1/rapidmigrationassessmentpb/rapidmigrationassessment.pb.go b/rapidmigrationassessment/apiv1/rapidmigrationassessmentpb/rapidmigrationassessment.pb.go index f543193c8772..90c1611eb69f 100755 --- a/rapidmigrationassessment/apiv1/rapidmigrationassessmentpb/rapidmigrationassessment.pb.go +++ b/rapidmigrationassessment/apiv1/rapidmigrationassessmentpb/rapidmigrationassessment.pb.go @@ -21,11 +21,8 @@ package rapidmigrationassessmentpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/recaptchaenterprise/apiv1/recaptchaenterprisepb/recaptchaenterprise.pb.go b/recaptchaenterprise/apiv1/recaptchaenterprisepb/recaptchaenterprise.pb.go index 6a0d877c958c..7b8c221405a2 100755 --- a/recaptchaenterprise/apiv1/recaptchaenterprisepb/recaptchaenterprise.pb.go +++ b/recaptchaenterprise/apiv1/recaptchaenterprisepb/recaptchaenterprise.pb.go @@ -22,9 +22,6 @@ package recaptchaenterprisepb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -35,6 +32,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/recaptchaenterprise/apiv1beta1/auxiliary.go b/recaptchaenterprise/apiv1beta1/auxiliary.go index f1c7f3833c77..83fee8e22822 100755 --- a/recaptchaenterprise/apiv1beta1/auxiliary.go +++ b/recaptchaenterprise/apiv1beta1/auxiliary.go @@ -15,3 +15,5 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package recaptchaenterprise + +import () diff --git a/recaptchaenterprise/apiv1beta1/auxiliary_go123.go b/recaptchaenterprise/apiv1beta1/auxiliary_go123.go index 709b617817fc..c09f0d30e58e 100755 --- a/recaptchaenterprise/apiv1beta1/auxiliary_go123.go +++ b/recaptchaenterprise/apiv1beta1/auxiliary_go123.go @@ -17,3 +17,5 @@ //go:build go1.23 package recaptchaenterprise + +import () diff --git a/recaptchaenterprise/apiv1beta1/recaptcha_enterprise_service_v1_beta1_client_example_go123_test.go b/recaptchaenterprise/apiv1beta1/recaptcha_enterprise_service_v1_beta1_client_example_go123_test.go index 0688cfe62a4d..a49fe8a3e08b 100644 --- a/recaptchaenterprise/apiv1beta1/recaptcha_enterprise_service_v1_beta1_client_example_go123_test.go +++ b/recaptchaenterprise/apiv1beta1/recaptcha_enterprise_service_v1_beta1_client_example_go123_test.go @@ -17,3 +17,7 @@ //go:build go1.23 package recaptchaenterprise_test + +import ( + recaptchaenterprise "cloud.google.com/go/recaptchaenterprise/v2/apiv1beta1" +) diff --git a/recaptchaenterprise/apiv1beta1/recaptchaenterprisepb/recaptchaenterprise.pb.go b/recaptchaenterprise/apiv1beta1/recaptchaenterprisepb/recaptchaenterprise.pb.go index cfd750a921f2..a4dcbfb09ed7 100755 --- a/recaptchaenterprise/apiv1beta1/recaptchaenterprisepb/recaptchaenterprise.pb.go +++ b/recaptchaenterprise/apiv1beta1/recaptchaenterprisepb/recaptchaenterprise.pb.go @@ -22,9 +22,6 @@ package recaptchaenterprisepb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/recommendationengine/apiv1beta1/recommendationenginepb/catalog.pb.go b/recommendationengine/apiv1beta1/recommendationenginepb/catalog.pb.go index 1f2c97a17e54..9ce3c3ed3785 100755 --- a/recommendationengine/apiv1beta1/recommendationenginepb/catalog.pb.go +++ b/recommendationengine/apiv1beta1/recommendationenginepb/catalog.pb.go @@ -21,12 +21,11 @@ package recommendationenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/recommendationengine/apiv1beta1/recommendationenginepb/catalog_service.pb.go b/recommendationengine/apiv1beta1/recommendationenginepb/catalog_service.pb.go index 82a4430ad313..63c729d7e278 100755 --- a/recommendationengine/apiv1beta1/recommendationenginepb/catalog_service.pb.go +++ b/recommendationengine/apiv1beta1/recommendationenginepb/catalog_service.pb.go @@ -21,11 +21,8 @@ package recommendationenginepb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/recommendationengine/apiv1beta1/recommendationenginepb/common.pb.go b/recommendationengine/apiv1beta1/recommendationenginepb/common.pb.go index a9fb49e55b5e..3fa35f6a5322 100755 --- a/recommendationengine/apiv1beta1/recommendationenginepb/common.pb.go +++ b/recommendationengine/apiv1beta1/recommendationenginepb/common.pb.go @@ -21,11 +21,10 @@ package recommendationenginepb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/recommendationengine/apiv1beta1/recommendationenginepb/import.pb.go b/recommendationengine/apiv1beta1/recommendationenginepb/import.pb.go index 64f5aa7f270d..2702a38761d3 100755 --- a/recommendationengine/apiv1beta1/recommendationenginepb/import.pb.go +++ b/recommendationengine/apiv1beta1/recommendationenginepb/import.pb.go @@ -21,14 +21,13 @@ package recommendationenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/recommendationengine/apiv1beta1/recommendationenginepb/prediction_apikey_registry_service.pb.go b/recommendationengine/apiv1beta1/recommendationenginepb/prediction_apikey_registry_service.pb.go index 975191daabb1..692f51a8a816 100755 --- a/recommendationengine/apiv1beta1/recommendationenginepb/prediction_apikey_registry_service.pb.go +++ b/recommendationengine/apiv1beta1/recommendationenginepb/prediction_apikey_registry_service.pb.go @@ -22,9 +22,6 @@ package recommendationenginepb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" + reflect "reflect" + sync "sync" ) const ( diff --git a/recommendationengine/apiv1beta1/recommendationenginepb/prediction_service.pb.go b/recommendationengine/apiv1beta1/recommendationenginepb/prediction_service.pb.go index 2c5ea2351990..d85c0f6f694b 100755 --- a/recommendationengine/apiv1beta1/recommendationenginepb/prediction_service.pb.go +++ b/recommendationengine/apiv1beta1/recommendationenginepb/prediction_service.pb.go @@ -22,9 +22,6 @@ package recommendationenginepb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/recommendationengine/apiv1beta1/recommendationenginepb/recommendationengine_resources.pb.go b/recommendationengine/apiv1beta1/recommendationenginepb/recommendationengine_resources.pb.go index 5525b861ca56..526e9a124ff5 100755 --- a/recommendationengine/apiv1beta1/recommendationenginepb/recommendationengine_resources.pb.go +++ b/recommendationengine/apiv1beta1/recommendationenginepb/recommendationengine_resources.pb.go @@ -23,11 +23,10 @@ package recommendationenginepb import ( - reflect "reflect" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" ) const ( diff --git a/recommendationengine/apiv1beta1/recommendationenginepb/user_event.pb.go b/recommendationengine/apiv1beta1/recommendationenginepb/user_event.pb.go index 934cb4f924e0..de1b0d0dbc15 100755 --- a/recommendationengine/apiv1beta1/recommendationenginepb/user_event.pb.go +++ b/recommendationengine/apiv1beta1/recommendationenginepb/user_event.pb.go @@ -21,13 +21,12 @@ package recommendationenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/recommendationengine/apiv1beta1/recommendationenginepb/user_event_service.pb.go b/recommendationengine/apiv1beta1/recommendationenginepb/user_event_service.pb.go index df32ec217786..7d81c8b76768 100755 --- a/recommendationengine/apiv1beta1/recommendationenginepb/user_event_service.pb.go +++ b/recommendationengine/apiv1beta1/recommendationenginepb/user_event_service.pb.go @@ -21,11 +21,8 @@ package recommendationenginepb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" httpbody "google.golang.org/genproto/googleapis/api/httpbody" grpc "google.golang.org/grpc" @@ -34,6 +31,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/recommender/apiv1/recommenderpb/insight.pb.go b/recommender/apiv1/recommenderpb/insight.pb.go index c2defae89771..3ca0ca5dffc4 100755 --- a/recommender/apiv1/recommenderpb/insight.pb.go +++ b/recommender/apiv1/recommenderpb/insight.pb.go @@ -21,15 +21,14 @@ package recommenderpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/recommender/apiv1/recommenderpb/insight_type_config.pb.go b/recommender/apiv1/recommenderpb/insight_type_config.pb.go index 10bc4be6838f..01a7a5e501ac 100755 --- a/recommender/apiv1/recommenderpb/insight_type_config.pb.go +++ b/recommender/apiv1/recommenderpb/insight_type_config.pb.go @@ -21,14 +21,13 @@ package recommenderpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/recommender/apiv1/recommenderpb/recommendation.pb.go b/recommender/apiv1/recommenderpb/recommendation.pb.go index a11921979486..04a514d16092 100755 --- a/recommender/apiv1/recommenderpb/recommendation.pb.go +++ b/recommender/apiv1/recommenderpb/recommendation.pb.go @@ -21,9 +21,6 @@ package recommenderpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" money "google.golang.org/genproto/googleapis/type/money" protoreflect "google.golang.org/protobuf/reflect/protoreflect" @@ -31,6 +28,8 @@ import ( durationpb "google.golang.org/protobuf/types/known/durationpb" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/recommender/apiv1/recommenderpb/recommender_config.pb.go b/recommender/apiv1/recommenderpb/recommender_config.pb.go index a2af6c9ed350..184fca5e4fee 100755 --- a/recommender/apiv1/recommenderpb/recommender_config.pb.go +++ b/recommender/apiv1/recommenderpb/recommender_config.pb.go @@ -21,14 +21,13 @@ package recommenderpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/recommender/apiv1/recommenderpb/recommender_service.pb.go b/recommender/apiv1/recommenderpb/recommender_service.pb.go index add36644af62..bd9065b912cf 100755 --- a/recommender/apiv1/recommenderpb/recommender_service.pb.go +++ b/recommender/apiv1/recommenderpb/recommender_service.pb.go @@ -22,9 +22,6 @@ package recommenderpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/recommender/apiv1beta1/recommenderpb/insight.pb.go b/recommender/apiv1beta1/recommenderpb/insight.pb.go index 19638986eeee..b53014e494e4 100755 --- a/recommender/apiv1beta1/recommenderpb/insight.pb.go +++ b/recommender/apiv1beta1/recommenderpb/insight.pb.go @@ -21,15 +21,14 @@ package recommenderpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/recommender/apiv1beta1/recommenderpb/insight_type_config.pb.go b/recommender/apiv1beta1/recommenderpb/insight_type_config.pb.go index 94645ec45742..3e0725f609bb 100755 --- a/recommender/apiv1beta1/recommenderpb/insight_type_config.pb.go +++ b/recommender/apiv1beta1/recommenderpb/insight_type_config.pb.go @@ -21,14 +21,13 @@ package recommenderpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/recommender/apiv1beta1/recommenderpb/recommendation.pb.go b/recommender/apiv1beta1/recommenderpb/recommendation.pb.go index 6a199efab73a..c037aac39518 100755 --- a/recommender/apiv1beta1/recommenderpb/recommendation.pb.go +++ b/recommender/apiv1beta1/recommenderpb/recommendation.pb.go @@ -21,9 +21,6 @@ package recommenderpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" money "google.golang.org/genproto/googleapis/type/money" protoreflect "google.golang.org/protobuf/reflect/protoreflect" @@ -31,6 +28,8 @@ import ( durationpb "google.golang.org/protobuf/types/known/durationpb" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/recommender/apiv1beta1/recommenderpb/recommender_config.pb.go b/recommender/apiv1beta1/recommenderpb/recommender_config.pb.go index d77dfb058cbc..e8f4ac991715 100755 --- a/recommender/apiv1beta1/recommenderpb/recommender_config.pb.go +++ b/recommender/apiv1beta1/recommenderpb/recommender_config.pb.go @@ -21,14 +21,13 @@ package recommenderpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/recommender/apiv1beta1/recommenderpb/recommender_service.pb.go b/recommender/apiv1beta1/recommenderpb/recommender_service.pb.go index c9977a9ed093..8dbee50ca471 100755 --- a/recommender/apiv1beta1/recommenderpb/recommender_service.pb.go +++ b/recommender/apiv1beta1/recommenderpb/recommender_service.pb.go @@ -22,9 +22,6 @@ package recommenderpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/redis/apiv1/redispb/cloud_redis.pb.go b/redis/apiv1/redispb/cloud_redis.pb.go index 52cb5b14cb0b..951c88fc64cb 100755 --- a/redis/apiv1/redispb/cloud_redis.pb.go +++ b/redis/apiv1/redispb/cloud_redis.pb.go @@ -21,11 +21,8 @@ package redispb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" dayofweek "google.golang.org/genproto/googleapis/type/dayofweek" timeofday "google.golang.org/genproto/googleapis/type/timeofday" @@ -38,6 +35,8 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/redis/apiv1beta1/redispb/cloud_redis.pb.go b/redis/apiv1beta1/redispb/cloud_redis.pb.go index 4d8103b472de..ae14d42d2cf6 100755 --- a/redis/apiv1beta1/redispb/cloud_redis.pb.go +++ b/redis/apiv1beta1/redispb/cloud_redis.pb.go @@ -21,11 +21,8 @@ package redispb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" dayofweek "google.golang.org/genproto/googleapis/type/dayofweek" timeofday "google.golang.org/genproto/googleapis/type/timeofday" @@ -37,6 +34,8 @@ import ( durationpb "google.golang.org/protobuf/types/known/durationpb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/redis/cluster/apiv1/clusterpb/cloud_redis_cluster.pb.go b/redis/cluster/apiv1/clusterpb/cloud_redis_cluster.pb.go index 684ec7dd1bec..891ca6e8f366 100755 --- a/redis/cluster/apiv1/clusterpb/cloud_redis_cluster.pb.go +++ b/redis/cluster/apiv1/clusterpb/cloud_redis_cluster.pb.go @@ -21,11 +21,8 @@ package clusterpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -36,6 +33,8 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/resourcemanager/apiv2/resourcemanagerpb/folders.pb.go b/resourcemanager/apiv2/resourcemanagerpb/folders.pb.go index 6d5cbafd1cb7..0043e210996e 100755 --- a/resourcemanager/apiv2/resourcemanagerpb/folders.pb.go +++ b/resourcemanager/apiv2/resourcemanagerpb/folders.pb.go @@ -22,12 +22,9 @@ package resourcemanagerpb import ( - context "context" - reflect "reflect" - sync "sync" - iampb "cloud.google.com/go/iam/apiv1/iampb" longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -36,6 +33,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/resourcemanager/apiv3/resourcemanagerpb/folders.pb.go b/resourcemanager/apiv3/resourcemanagerpb/folders.pb.go index e8d2cde640c6..5ed14f9d3627 100755 --- a/resourcemanager/apiv3/resourcemanagerpb/folders.pb.go +++ b/resourcemanager/apiv3/resourcemanagerpb/folders.pb.go @@ -21,12 +21,9 @@ package resourcemanagerpb import ( - context "context" - reflect "reflect" - sync "sync" - iampb "cloud.google.com/go/iam/apiv1/iampb" longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/resourcemanager/apiv3/resourcemanagerpb/organizations.pb.go b/resourcemanager/apiv3/resourcemanagerpb/organizations.pb.go index 88452221139e..49b26ecccdfb 100755 --- a/resourcemanager/apiv3/resourcemanagerpb/organizations.pb.go +++ b/resourcemanager/apiv3/resourcemanagerpb/organizations.pb.go @@ -21,11 +21,8 @@ package resourcemanagerpb import ( - context "context" - reflect "reflect" - sync "sync" - iampb "cloud.google.com/go/iam/apiv1/iampb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/resourcemanager/apiv3/resourcemanagerpb/projects.pb.go b/resourcemanager/apiv3/resourcemanagerpb/projects.pb.go index f2076adb3513..a0acb7ef9477 100755 --- a/resourcemanager/apiv3/resourcemanagerpb/projects.pb.go +++ b/resourcemanager/apiv3/resourcemanagerpb/projects.pb.go @@ -21,12 +21,9 @@ package resourcemanagerpb import ( - context "context" - reflect "reflect" - sync "sync" - iampb "cloud.google.com/go/iam/apiv1/iampb" longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/resourcemanager/apiv3/resourcemanagerpb/tag_bindings.pb.go b/resourcemanager/apiv3/resourcemanagerpb/tag_bindings.pb.go index 6d28133924f5..69567cebbe2d 100755 --- a/resourcemanager/apiv3/resourcemanagerpb/tag_bindings.pb.go +++ b/resourcemanager/apiv3/resourcemanagerpb/tag_bindings.pb.go @@ -21,11 +21,8 @@ package resourcemanagerpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" + reflect "reflect" + sync "sync" ) const ( diff --git a/resourcemanager/apiv3/resourcemanagerpb/tag_holds.pb.go b/resourcemanager/apiv3/resourcemanagerpb/tag_holds.pb.go index 3c2b67517bd8..1b6969baf21a 100755 --- a/resourcemanager/apiv3/resourcemanagerpb/tag_holds.pb.go +++ b/resourcemanager/apiv3/resourcemanagerpb/tag_holds.pb.go @@ -21,11 +21,8 @@ package resourcemanagerpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/resourcemanager/apiv3/resourcemanagerpb/tag_keys.pb.go b/resourcemanager/apiv3/resourcemanagerpb/tag_keys.pb.go index c98bcd84cb3c..79706e3e3299 100755 --- a/resourcemanager/apiv3/resourcemanagerpb/tag_keys.pb.go +++ b/resourcemanager/apiv3/resourcemanagerpb/tag_keys.pb.go @@ -21,12 +21,9 @@ package resourcemanagerpb import ( - context "context" - reflect "reflect" - sync "sync" - iampb "cloud.google.com/go/iam/apiv1/iampb" longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/resourcemanager/apiv3/resourcemanagerpb/tag_values.pb.go b/resourcemanager/apiv3/resourcemanagerpb/tag_values.pb.go index 41dea1469443..c5df69c36f51 100755 --- a/resourcemanager/apiv3/resourcemanagerpb/tag_values.pb.go +++ b/resourcemanager/apiv3/resourcemanagerpb/tag_values.pb.go @@ -21,12 +21,9 @@ package resourcemanagerpb import ( - context "context" - reflect "reflect" - sync "sync" - iampb "cloud.google.com/go/iam/apiv1/iampb" longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/resourcesettings/apiv1/resourcesettingspb/resource_settings.pb.go b/resourcesettings/apiv1/resourcesettingspb/resource_settings.pb.go index 2ab714d819e4..a0b8ed47fdaa 100755 --- a/resourcesettings/apiv1/resourcesettingspb/resource_settings.pb.go +++ b/resourcesettings/apiv1/resourcesettingspb/resource_settings.pb.go @@ -22,15 +22,14 @@ package resourcesettingspb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2/retailpb/analytics_service.pb.go b/retail/apiv2/retailpb/analytics_service.pb.go index d26053d4ea48..6c9a2d9dd41f 100755 --- a/retail/apiv2/retailpb/analytics_service.pb.go +++ b/retail/apiv2/retailpb/analytics_service.pb.go @@ -21,16 +21,15 @@ package retailpb import ( - context "context" - reflect "reflect" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" ) const ( diff --git a/retail/apiv2/retailpb/catalog.pb.go b/retail/apiv2/retailpb/catalog.pb.go index 6d4c880c4973..27a57eeed51b 100755 --- a/retail/apiv2/retailpb/catalog.pb.go +++ b/retail/apiv2/retailpb/catalog.pb.go @@ -21,13 +21,12 @@ package retailpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2/retailpb/catalog_service.pb.go b/retail/apiv2/retailpb/catalog_service.pb.go index 1db61008c9d6..33812afd5c6d 100755 --- a/retail/apiv2/retailpb/catalog_service.pb.go +++ b/retail/apiv2/retailpb/catalog_service.pb.go @@ -22,9 +22,6 @@ package retailpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2/retailpb/common.pb.go b/retail/apiv2/retailpb/common.pb.go index 4d5ec508b1b4..b98d0f13b6c4 100755 --- a/retail/apiv2/retailpb/common.pb.go +++ b/retail/apiv2/retailpb/common.pb.go @@ -21,13 +21,12 @@ package retailpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2/retailpb/completion_service.pb.go b/retail/apiv2/retailpb/completion_service.pb.go index 0e0f9f9f5391..dd99af0f5657 100755 --- a/retail/apiv2/retailpb/completion_service.pb.go +++ b/retail/apiv2/retailpb/completion_service.pb.go @@ -21,17 +21,16 @@ package retailpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2/retailpb/control.pb.go b/retail/apiv2/retailpb/control.pb.go index 2b795efd85f4..8c361f81cd8a 100755 --- a/retail/apiv2/retailpb/control.pb.go +++ b/retail/apiv2/retailpb/control.pb.go @@ -21,12 +21,11 @@ package retailpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2/retailpb/control_service.pb.go b/retail/apiv2/retailpb/control_service.pb.go index 0489f211e91f..8b488bc0128d 100755 --- a/retail/apiv2/retailpb/control_service.pb.go +++ b/retail/apiv2/retailpb/control_service.pb.go @@ -22,9 +22,6 @@ package retailpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2/retailpb/export_config.pb.go b/retail/apiv2/retailpb/export_config.pb.go index 05b7531872a1..c054f0829c52 100755 --- a/retail/apiv2/retailpb/export_config.pb.go +++ b/retail/apiv2/retailpb/export_config.pb.go @@ -21,14 +21,13 @@ package retailpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2/retailpb/generative_question.pb.go b/retail/apiv2/retailpb/generative_question.pb.go index 787e40a99757..d502f68e7d60 100755 --- a/retail/apiv2/retailpb/generative_question.pb.go +++ b/retail/apiv2/retailpb/generative_question.pb.go @@ -21,12 +21,11 @@ package retailpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2/retailpb/generative_question_service.pb.go b/retail/apiv2/retailpb/generative_question_service.pb.go index 498d2dd61230..633718fd5b79 100755 --- a/retail/apiv2/retailpb/generative_question_service.pb.go +++ b/retail/apiv2/retailpb/generative_question_service.pb.go @@ -22,9 +22,6 @@ package retailpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2/retailpb/import_config.pb.go b/retail/apiv2/retailpb/import_config.pb.go index f431d0823529..bf7bba765317 100755 --- a/retail/apiv2/retailpb/import_config.pb.go +++ b/retail/apiv2/retailpb/import_config.pb.go @@ -21,9 +21,6 @@ package retailpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" date "google.golang.org/genproto/googleapis/type/date" @@ -31,6 +28,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2/retailpb/model.pb.go b/retail/apiv2/retailpb/model.pb.go index 0e9c88913690..dd083246e4d4 100755 --- a/retail/apiv2/retailpb/model.pb.go +++ b/retail/apiv2/retailpb/model.pb.go @@ -21,13 +21,12 @@ package retailpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2/retailpb/model_service.pb.go b/retail/apiv2/retailpb/model_service.pb.go index d277f04679e3..39a35448b888 100755 --- a/retail/apiv2/retailpb/model_service.pb.go +++ b/retail/apiv2/retailpb/model_service.pb.go @@ -21,11 +21,8 @@ package retailpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2/retailpb/prediction_service.pb.go b/retail/apiv2/retailpb/prediction_service.pb.go index 128e78719029..c996b0fde580 100755 --- a/retail/apiv2/retailpb/prediction_service.pb.go +++ b/retail/apiv2/retailpb/prediction_service.pb.go @@ -22,9 +22,6 @@ package retailpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2/retailpb/product.pb.go b/retail/apiv2/retailpb/product.pb.go index d9aaef0ba6a1..cb888eaf9af8 100755 --- a/retail/apiv2/retailpb/product.pb.go +++ b/retail/apiv2/retailpb/product.pb.go @@ -21,9 +21,6 @@ package retailpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" @@ -31,6 +28,8 @@ import ( fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2/retailpb/product_service.pb.go b/retail/apiv2/retailpb/product_service.pb.go index 2610dc115dfe..9e54e071caf0 100755 --- a/retail/apiv2/retailpb/product_service.pb.go +++ b/retail/apiv2/retailpb/product_service.pb.go @@ -21,11 +21,8 @@ package retailpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2/retailpb/promotion.pb.go b/retail/apiv2/retailpb/promotion.pb.go index c4bea2682f65..137f1317e70d 100755 --- a/retail/apiv2/retailpb/promotion.pb.go +++ b/retail/apiv2/retailpb/promotion.pb.go @@ -21,11 +21,10 @@ package retailpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2/retailpb/purge_config.pb.go b/retail/apiv2/retailpb/purge_config.pb.go index b993f3e82901..b305466d6598 100755 --- a/retail/apiv2/retailpb/purge_config.pb.go +++ b/retail/apiv2/retailpb/purge_config.pb.go @@ -21,13 +21,12 @@ package retailpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2/retailpb/search_service.pb.go b/retail/apiv2/retailpb/search_service.pb.go index 42139b9b26b2..4eb9538d2ea8 100755 --- a/retail/apiv2/retailpb/search_service.pb.go +++ b/retail/apiv2/retailpb/search_service.pb.go @@ -22,9 +22,6 @@ package retailpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2/retailpb/serving_config.pb.go b/retail/apiv2/retailpb/serving_config.pb.go index 11afe013a9ca..1eaf4f5e2568 100755 --- a/retail/apiv2/retailpb/serving_config.pb.go +++ b/retail/apiv2/retailpb/serving_config.pb.go @@ -21,12 +21,11 @@ package retailpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2/retailpb/serving_config_service.pb.go b/retail/apiv2/retailpb/serving_config_service.pb.go index 59d64186e7e8..e1ff1637757e 100755 --- a/retail/apiv2/retailpb/serving_config_service.pb.go +++ b/retail/apiv2/retailpb/serving_config_service.pb.go @@ -22,9 +22,6 @@ package retailpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2/retailpb/user_event.pb.go b/retail/apiv2/retailpb/user_event.pb.go index dd2b2d521890..7ef537052d6c 100755 --- a/retail/apiv2/retailpb/user_event.pb.go +++ b/retail/apiv2/retailpb/user_event.pb.go @@ -21,14 +21,13 @@ package retailpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2/retailpb/user_event_service.pb.go b/retail/apiv2/retailpb/user_event_service.pb.go index a13f707c93cc..6801859b365f 100755 --- a/retail/apiv2/retailpb/user_event_service.pb.go +++ b/retail/apiv2/retailpb/user_event_service.pb.go @@ -21,11 +21,8 @@ package retailpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" httpbody "google.golang.org/genproto/googleapis/api/httpbody" grpc "google.golang.org/grpc" @@ -33,6 +30,8 @@ import ( status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2alpha/retailpb/analytics_service.pb.go b/retail/apiv2alpha/retailpb/analytics_service.pb.go index 0beacde40728..62d6dca9c1fe 100755 --- a/retail/apiv2alpha/retailpb/analytics_service.pb.go +++ b/retail/apiv2alpha/retailpb/analytics_service.pb.go @@ -21,16 +21,15 @@ package retailpb import ( - context "context" - reflect "reflect" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" ) const ( diff --git a/retail/apiv2alpha/retailpb/branch.pb.go b/retail/apiv2alpha/retailpb/branch.pb.go index 899d05f0faa5..e445fbd74d17 100755 --- a/retail/apiv2alpha/retailpb/branch.pb.go +++ b/retail/apiv2alpha/retailpb/branch.pb.go @@ -21,13 +21,12 @@ package retailpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2alpha/retailpb/branch_service.pb.go b/retail/apiv2alpha/retailpb/branch_service.pb.go index 70de885499aa..28dab708f338 100755 --- a/retail/apiv2alpha/retailpb/branch_service.pb.go +++ b/retail/apiv2alpha/retailpb/branch_service.pb.go @@ -22,15 +22,14 @@ package retailpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2alpha/retailpb/catalog.pb.go b/retail/apiv2alpha/retailpb/catalog.pb.go index e4a5ab4e2b54..44f4a0e5052d 100755 --- a/retail/apiv2alpha/retailpb/catalog.pb.go +++ b/retail/apiv2alpha/retailpb/catalog.pb.go @@ -21,13 +21,12 @@ package retailpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2alpha/retailpb/catalog_service.pb.go b/retail/apiv2alpha/retailpb/catalog_service.pb.go index 782b22e7b15a..21095c1b643f 100755 --- a/retail/apiv2alpha/retailpb/catalog_service.pb.go +++ b/retail/apiv2alpha/retailpb/catalog_service.pb.go @@ -22,9 +22,6 @@ package retailpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2alpha/retailpb/common.pb.go b/retail/apiv2alpha/retailpb/common.pb.go index 56a3f8171ea4..55d37365a58f 100755 --- a/retail/apiv2alpha/retailpb/common.pb.go +++ b/retail/apiv2alpha/retailpb/common.pb.go @@ -21,13 +21,12 @@ package retailpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2alpha/retailpb/completion_service.pb.go b/retail/apiv2alpha/retailpb/completion_service.pb.go index 6ce08b9612a1..ccba535c5261 100755 --- a/retail/apiv2alpha/retailpb/completion_service.pb.go +++ b/retail/apiv2alpha/retailpb/completion_service.pb.go @@ -21,17 +21,16 @@ package retailpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2alpha/retailpb/control.pb.go b/retail/apiv2alpha/retailpb/control.pb.go index 69c354300dd5..986d1b0f6ad4 100755 --- a/retail/apiv2alpha/retailpb/control.pb.go +++ b/retail/apiv2alpha/retailpb/control.pb.go @@ -21,12 +21,11 @@ package retailpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2alpha/retailpb/control_service.pb.go b/retail/apiv2alpha/retailpb/control_service.pb.go index 160de5fb6c5f..2adcc073d9fc 100755 --- a/retail/apiv2alpha/retailpb/control_service.pb.go +++ b/retail/apiv2alpha/retailpb/control_service.pb.go @@ -22,9 +22,6 @@ package retailpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2alpha/retailpb/export_config.pb.go b/retail/apiv2alpha/retailpb/export_config.pb.go index e82e8d8d0446..e69bc9cf2073 100755 --- a/retail/apiv2alpha/retailpb/export_config.pb.go +++ b/retail/apiv2alpha/retailpb/export_config.pb.go @@ -21,14 +21,13 @@ package retailpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2alpha/retailpb/generative_question.pb.go b/retail/apiv2alpha/retailpb/generative_question.pb.go index a1238991a842..26bac37ef821 100755 --- a/retail/apiv2alpha/retailpb/generative_question.pb.go +++ b/retail/apiv2alpha/retailpb/generative_question.pb.go @@ -21,12 +21,11 @@ package retailpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2alpha/retailpb/generative_question_service.pb.go b/retail/apiv2alpha/retailpb/generative_question_service.pb.go index d30feaec47c3..033e7276170c 100755 --- a/retail/apiv2alpha/retailpb/generative_question_service.pb.go +++ b/retail/apiv2alpha/retailpb/generative_question_service.pb.go @@ -22,9 +22,6 @@ package retailpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2alpha/retailpb/import_config.pb.go b/retail/apiv2alpha/retailpb/import_config.pb.go index 03fba5ff6247..3de06599f030 100755 --- a/retail/apiv2alpha/retailpb/import_config.pb.go +++ b/retail/apiv2alpha/retailpb/import_config.pb.go @@ -21,9 +21,6 @@ package retailpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" date "google.golang.org/genproto/googleapis/type/date" @@ -31,6 +28,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2alpha/retailpb/merchant_center_account_link.pb.go b/retail/apiv2alpha/retailpb/merchant_center_account_link.pb.go index b96763596699..21dc39797782 100755 --- a/retail/apiv2alpha/retailpb/merchant_center_account_link.pb.go +++ b/retail/apiv2alpha/retailpb/merchant_center_account_link.pb.go @@ -21,13 +21,12 @@ package retailpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2alpha/retailpb/merchant_center_account_link_service.pb.go b/retail/apiv2alpha/retailpb/merchant_center_account_link_service.pb.go index e15371d538c8..58829d002bb5 100755 --- a/retail/apiv2alpha/retailpb/merchant_center_account_link_service.pb.go +++ b/retail/apiv2alpha/retailpb/merchant_center_account_link_service.pb.go @@ -21,11 +21,8 @@ package retailpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2alpha/retailpb/model.pb.go b/retail/apiv2alpha/retailpb/model.pb.go index 2a71a1933df2..f91af85817e6 100755 --- a/retail/apiv2alpha/retailpb/model.pb.go +++ b/retail/apiv2alpha/retailpb/model.pb.go @@ -21,13 +21,12 @@ package retailpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2alpha/retailpb/model_service.pb.go b/retail/apiv2alpha/retailpb/model_service.pb.go index 5a5057188df2..1c2f298220d2 100755 --- a/retail/apiv2alpha/retailpb/model_service.pb.go +++ b/retail/apiv2alpha/retailpb/model_service.pb.go @@ -21,11 +21,8 @@ package retailpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2alpha/retailpb/prediction_service.pb.go b/retail/apiv2alpha/retailpb/prediction_service.pb.go index d86ab9538667..a9a76c6dfffd 100755 --- a/retail/apiv2alpha/retailpb/prediction_service.pb.go +++ b/retail/apiv2alpha/retailpb/prediction_service.pb.go @@ -22,9 +22,6 @@ package retailpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2alpha/retailpb/product.pb.go b/retail/apiv2alpha/retailpb/product.pb.go index 395ef1e807ee..0682ef8c68ba 100755 --- a/retail/apiv2alpha/retailpb/product.pb.go +++ b/retail/apiv2alpha/retailpb/product.pb.go @@ -21,9 +21,6 @@ package retailpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" @@ -31,6 +28,8 @@ import ( fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2alpha/retailpb/product_service.pb.go b/retail/apiv2alpha/retailpb/product_service.pb.go index 20f5e40b6c75..537b59c3af5b 100755 --- a/retail/apiv2alpha/retailpb/product_service.pb.go +++ b/retail/apiv2alpha/retailpb/product_service.pb.go @@ -21,11 +21,8 @@ package retailpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2alpha/retailpb/project.pb.go b/retail/apiv2alpha/retailpb/project.pb.go index d71096bcc5ff..bd18e69e8043 100755 --- a/retail/apiv2alpha/retailpb/project.pb.go +++ b/retail/apiv2alpha/retailpb/project.pb.go @@ -21,12 +21,11 @@ package retailpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2alpha/retailpb/project_service.pb.go b/retail/apiv2alpha/retailpb/project_service.pb.go index 6db07feb1d62..d98ef401ac82 100755 --- a/retail/apiv2alpha/retailpb/project_service.pb.go +++ b/retail/apiv2alpha/retailpb/project_service.pb.go @@ -21,11 +21,8 @@ package retailpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2alpha/retailpb/promotion.pb.go b/retail/apiv2alpha/retailpb/promotion.pb.go index 0487f1fdb60b..2e42da5cd0cb 100755 --- a/retail/apiv2alpha/retailpb/promotion.pb.go +++ b/retail/apiv2alpha/retailpb/promotion.pb.go @@ -21,11 +21,10 @@ package retailpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2alpha/retailpb/purge_config.pb.go b/retail/apiv2alpha/retailpb/purge_config.pb.go index 6cac02fdf6d7..58073bbf19f0 100755 --- a/retail/apiv2alpha/retailpb/purge_config.pb.go +++ b/retail/apiv2alpha/retailpb/purge_config.pb.go @@ -21,13 +21,12 @@ package retailpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2alpha/retailpb/search_service.pb.go b/retail/apiv2alpha/retailpb/search_service.pb.go index 3b2f9a9e5d26..430a6956d8db 100755 --- a/retail/apiv2alpha/retailpb/search_service.pb.go +++ b/retail/apiv2alpha/retailpb/search_service.pb.go @@ -22,9 +22,6 @@ package retailpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2alpha/retailpb/serving_config.pb.go b/retail/apiv2alpha/retailpb/serving_config.pb.go index 08aa758928b0..4a75ecbb3c91 100755 --- a/retail/apiv2alpha/retailpb/serving_config.pb.go +++ b/retail/apiv2alpha/retailpb/serving_config.pb.go @@ -21,12 +21,11 @@ package retailpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2alpha/retailpb/serving_config_service.pb.go b/retail/apiv2alpha/retailpb/serving_config_service.pb.go index 7de0937808ef..1f58739a1ac2 100755 --- a/retail/apiv2alpha/retailpb/serving_config_service.pb.go +++ b/retail/apiv2alpha/retailpb/serving_config_service.pb.go @@ -22,9 +22,6 @@ package retailpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2alpha/retailpb/user_event.pb.go b/retail/apiv2alpha/retailpb/user_event.pb.go index f40dace044c7..bdc36df24ff3 100755 --- a/retail/apiv2alpha/retailpb/user_event.pb.go +++ b/retail/apiv2alpha/retailpb/user_event.pb.go @@ -21,14 +21,13 @@ package retailpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2alpha/retailpb/user_event_service.pb.go b/retail/apiv2alpha/retailpb/user_event_service.pb.go index 2c2dae3e076a..29ea15f1ea22 100755 --- a/retail/apiv2alpha/retailpb/user_event_service.pb.go +++ b/retail/apiv2alpha/retailpb/user_event_service.pb.go @@ -21,11 +21,8 @@ package retailpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" httpbody "google.golang.org/genproto/googleapis/api/httpbody" grpc "google.golang.org/grpc" @@ -33,6 +30,8 @@ import ( status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2beta/retailpb/analytics_service.pb.go b/retail/apiv2beta/retailpb/analytics_service.pb.go index 432acc678b74..453a3591409d 100755 --- a/retail/apiv2beta/retailpb/analytics_service.pb.go +++ b/retail/apiv2beta/retailpb/analytics_service.pb.go @@ -21,16 +21,15 @@ package retailpb import ( - context "context" - reflect "reflect" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" ) const ( diff --git a/retail/apiv2beta/retailpb/catalog.pb.go b/retail/apiv2beta/retailpb/catalog.pb.go index b2efd71f42fe..8ea805b831f2 100755 --- a/retail/apiv2beta/retailpb/catalog.pb.go +++ b/retail/apiv2beta/retailpb/catalog.pb.go @@ -21,13 +21,12 @@ package retailpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2beta/retailpb/catalog_service.pb.go b/retail/apiv2beta/retailpb/catalog_service.pb.go index 444e826618e7..05d559c1d113 100755 --- a/retail/apiv2beta/retailpb/catalog_service.pb.go +++ b/retail/apiv2beta/retailpb/catalog_service.pb.go @@ -22,9 +22,6 @@ package retailpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2beta/retailpb/common.pb.go b/retail/apiv2beta/retailpb/common.pb.go index 2097e8f9730e..e8b39f2a59b1 100755 --- a/retail/apiv2beta/retailpb/common.pb.go +++ b/retail/apiv2beta/retailpb/common.pb.go @@ -21,13 +21,12 @@ package retailpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2beta/retailpb/completion_service.pb.go b/retail/apiv2beta/retailpb/completion_service.pb.go index 35a85d3deab5..27d66c61e463 100755 --- a/retail/apiv2beta/retailpb/completion_service.pb.go +++ b/retail/apiv2beta/retailpb/completion_service.pb.go @@ -21,17 +21,16 @@ package retailpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2beta/retailpb/control.pb.go b/retail/apiv2beta/retailpb/control.pb.go index 6c97a7ca4eb7..32df02a2322e 100755 --- a/retail/apiv2beta/retailpb/control.pb.go +++ b/retail/apiv2beta/retailpb/control.pb.go @@ -21,12 +21,11 @@ package retailpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2beta/retailpb/control_service.pb.go b/retail/apiv2beta/retailpb/control_service.pb.go index 955557c6ab03..3762ac88b71b 100755 --- a/retail/apiv2beta/retailpb/control_service.pb.go +++ b/retail/apiv2beta/retailpb/control_service.pb.go @@ -22,9 +22,6 @@ package retailpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2beta/retailpb/export_config.pb.go b/retail/apiv2beta/retailpb/export_config.pb.go index 7c581d20697b..ad71060a7f56 100755 --- a/retail/apiv2beta/retailpb/export_config.pb.go +++ b/retail/apiv2beta/retailpb/export_config.pb.go @@ -21,14 +21,13 @@ package retailpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2beta/retailpb/generative_question.pb.go b/retail/apiv2beta/retailpb/generative_question.pb.go index ad57dbbedd78..963b008f00ed 100755 --- a/retail/apiv2beta/retailpb/generative_question.pb.go +++ b/retail/apiv2beta/retailpb/generative_question.pb.go @@ -21,12 +21,11 @@ package retailpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2beta/retailpb/generative_question_service.pb.go b/retail/apiv2beta/retailpb/generative_question_service.pb.go index e4314b63c74f..ca6b90efdb15 100755 --- a/retail/apiv2beta/retailpb/generative_question_service.pb.go +++ b/retail/apiv2beta/retailpb/generative_question_service.pb.go @@ -22,9 +22,6 @@ package retailpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2beta/retailpb/import_config.pb.go b/retail/apiv2beta/retailpb/import_config.pb.go index 564d5c6d5897..a93695c9b980 100755 --- a/retail/apiv2beta/retailpb/import_config.pb.go +++ b/retail/apiv2beta/retailpb/import_config.pb.go @@ -21,9 +21,6 @@ package retailpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" date "google.golang.org/genproto/googleapis/type/date" @@ -31,6 +28,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2beta/retailpb/model.pb.go b/retail/apiv2beta/retailpb/model.pb.go index 1da1e28b6901..415717559e45 100755 --- a/retail/apiv2beta/retailpb/model.pb.go +++ b/retail/apiv2beta/retailpb/model.pb.go @@ -21,13 +21,12 @@ package retailpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2beta/retailpb/model_service.pb.go b/retail/apiv2beta/retailpb/model_service.pb.go index 36d2f1b8f329..c33d8819a710 100755 --- a/retail/apiv2beta/retailpb/model_service.pb.go +++ b/retail/apiv2beta/retailpb/model_service.pb.go @@ -21,11 +21,8 @@ package retailpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2beta/retailpb/prediction_service.pb.go b/retail/apiv2beta/retailpb/prediction_service.pb.go index 19a595f2b44b..49c2b566acce 100755 --- a/retail/apiv2beta/retailpb/prediction_service.pb.go +++ b/retail/apiv2beta/retailpb/prediction_service.pb.go @@ -22,9 +22,6 @@ package retailpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2beta/retailpb/product.pb.go b/retail/apiv2beta/retailpb/product.pb.go index 535af565d6d1..2b5c4aeb690c 100755 --- a/retail/apiv2beta/retailpb/product.pb.go +++ b/retail/apiv2beta/retailpb/product.pb.go @@ -21,9 +21,6 @@ package retailpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" @@ -31,6 +28,8 @@ import ( fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2beta/retailpb/product_service.pb.go b/retail/apiv2beta/retailpb/product_service.pb.go index 4ede05060f26..c74b120bb66f 100755 --- a/retail/apiv2beta/retailpb/product_service.pb.go +++ b/retail/apiv2beta/retailpb/product_service.pb.go @@ -21,11 +21,8 @@ package retailpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2beta/retailpb/project.pb.go b/retail/apiv2beta/retailpb/project.pb.go index 76aea7cfbaf8..d246686a0388 100755 --- a/retail/apiv2beta/retailpb/project.pb.go +++ b/retail/apiv2beta/retailpb/project.pb.go @@ -21,12 +21,11 @@ package retailpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2beta/retailpb/project_service.pb.go b/retail/apiv2beta/retailpb/project_service.pb.go index 05f6191f7486..8c3848ba7885 100755 --- a/retail/apiv2beta/retailpb/project_service.pb.go +++ b/retail/apiv2beta/retailpb/project_service.pb.go @@ -22,9 +22,6 @@ package retailpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2beta/retailpb/promotion.pb.go b/retail/apiv2beta/retailpb/promotion.pb.go index 15b0a8c6a62e..ec6c8103d8a2 100755 --- a/retail/apiv2beta/retailpb/promotion.pb.go +++ b/retail/apiv2beta/retailpb/promotion.pb.go @@ -21,11 +21,10 @@ package retailpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2beta/retailpb/purge_config.pb.go b/retail/apiv2beta/retailpb/purge_config.pb.go index b7fe86274163..f66b086acd69 100755 --- a/retail/apiv2beta/retailpb/purge_config.pb.go +++ b/retail/apiv2beta/retailpb/purge_config.pb.go @@ -21,13 +21,12 @@ package retailpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2beta/retailpb/search_service.pb.go b/retail/apiv2beta/retailpb/search_service.pb.go index b10702ad96e3..312e532cc868 100755 --- a/retail/apiv2beta/retailpb/search_service.pb.go +++ b/retail/apiv2beta/retailpb/search_service.pb.go @@ -22,9 +22,6 @@ package retailpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2beta/retailpb/serving_config.pb.go b/retail/apiv2beta/retailpb/serving_config.pb.go index f47c105f9bc7..9c834b26c5cf 100755 --- a/retail/apiv2beta/retailpb/serving_config.pb.go +++ b/retail/apiv2beta/retailpb/serving_config.pb.go @@ -21,12 +21,11 @@ package retailpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2beta/retailpb/serving_config_service.pb.go b/retail/apiv2beta/retailpb/serving_config_service.pb.go index 9ecda848419b..7721590d0d5a 100755 --- a/retail/apiv2beta/retailpb/serving_config_service.pb.go +++ b/retail/apiv2beta/retailpb/serving_config_service.pb.go @@ -22,9 +22,6 @@ package retailpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2beta/retailpb/user_event.pb.go b/retail/apiv2beta/retailpb/user_event.pb.go index e7958ff1410c..22dde83d856b 100755 --- a/retail/apiv2beta/retailpb/user_event.pb.go +++ b/retail/apiv2beta/retailpb/user_event.pb.go @@ -21,14 +21,13 @@ package retailpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2beta/retailpb/user_event_service.pb.go b/retail/apiv2beta/retailpb/user_event_service.pb.go index 63538ed46327..d147239781d3 100755 --- a/retail/apiv2beta/retailpb/user_event_service.pb.go +++ b/retail/apiv2beta/retailpb/user_event_service.pb.go @@ -21,11 +21,8 @@ package retailpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" httpbody "google.golang.org/genproto/googleapis/api/httpbody" grpc "google.golang.org/grpc" @@ -33,6 +30,8 @@ import ( status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/run/apiv2/runpb/build.pb.go b/run/apiv2/runpb/build.pb.go index f9f25611311b..5af65e5f7019 100755 --- a/run/apiv2/runpb/build.pb.go +++ b/run/apiv2/runpb/build.pb.go @@ -21,17 +21,16 @@ package runpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/run/apiv2/runpb/condition.pb.go b/run/apiv2/runpb/condition.pb.go index ae08b45748a5..70993259f6e0 100755 --- a/run/apiv2/runpb/condition.pb.go +++ b/run/apiv2/runpb/condition.pb.go @@ -21,13 +21,12 @@ package runpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/run/apiv2/runpb/execution.pb.go b/run/apiv2/runpb/execution.pb.go index 9fae081105bb..bab58d7098d6 100755 --- a/run/apiv2/runpb/execution.pb.go +++ b/run/apiv2/runpb/execution.pb.go @@ -21,11 +21,8 @@ package runpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" api "google.golang.org/genproto/googleapis/api" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" @@ -34,6 +31,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/run/apiv2/runpb/execution_template.pb.go b/run/apiv2/runpb/execution_template.pb.go index a42a254921a6..0462b232e502 100755 --- a/run/apiv2/runpb/execution_template.pb.go +++ b/run/apiv2/runpb/execution_template.pb.go @@ -21,12 +21,11 @@ package runpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/run/apiv2/runpb/job.pb.go b/run/apiv2/runpb/job.pb.go index 236b84604096..41b54308b773 100755 --- a/run/apiv2/runpb/job.pb.go +++ b/run/apiv2/runpb/job.pb.go @@ -21,12 +21,9 @@ package runpb import ( - context "context" - reflect "reflect" - sync "sync" - iampb "cloud.google.com/go/iam/apiv1/iampb" longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" api "google.golang.org/genproto/googleapis/api" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" @@ -36,6 +33,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/run/apiv2/runpb/k8s.min.pb.go b/run/apiv2/runpb/k8s.min.pb.go index 4e924c881728..34b911fb7e08 100755 --- a/run/apiv2/runpb/k8s.min.pb.go +++ b/run/apiv2/runpb/k8s.min.pb.go @@ -21,12 +21,11 @@ package runpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/run/apiv2/runpb/revision.pb.go b/run/apiv2/runpb/revision.pb.go index 0d31bcf59ca5..b8678c975133 100755 --- a/run/apiv2/runpb/revision.pb.go +++ b/run/apiv2/runpb/revision.pb.go @@ -21,11 +21,8 @@ package runpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" api "google.golang.org/genproto/googleapis/api" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" @@ -35,6 +32,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/run/apiv2/runpb/revision_template.pb.go b/run/apiv2/runpb/revision_template.pb.go index 9d163b6d42eb..f3db4ad480b0 100755 --- a/run/apiv2/runpb/revision_template.pb.go +++ b/run/apiv2/runpb/revision_template.pb.go @@ -21,13 +21,12 @@ package runpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/run/apiv2/runpb/service.pb.go b/run/apiv2/runpb/service.pb.go index c81494a314e0..9e22ce6cad5c 100755 --- a/run/apiv2/runpb/service.pb.go +++ b/run/apiv2/runpb/service.pb.go @@ -21,12 +21,9 @@ package runpb import ( - context "context" - reflect "reflect" - sync "sync" - iampb "cloud.google.com/go/iam/apiv1/iampb" longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" api "google.golang.org/genproto/googleapis/api" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" @@ -36,6 +33,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/run/apiv2/runpb/status.pb.go b/run/apiv2/runpb/status.pb.go index aec76c1505ba..3f7c2fe71e72 100755 --- a/run/apiv2/runpb/status.pb.go +++ b/run/apiv2/runpb/status.pb.go @@ -21,11 +21,10 @@ package runpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/run/apiv2/runpb/task.pb.go b/run/apiv2/runpb/task.pb.go index 352fcefcc3ab..658a2f531dd4 100755 --- a/run/apiv2/runpb/task.pb.go +++ b/run/apiv2/runpb/task.pb.go @@ -22,9 +22,6 @@ package runpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/run/apiv2/runpb/task_template.pb.go b/run/apiv2/runpb/task_template.pb.go index a770f5adabce..1fdda69437f2 100755 --- a/run/apiv2/runpb/task_template.pb.go +++ b/run/apiv2/runpb/task_template.pb.go @@ -21,13 +21,12 @@ package runpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/run/apiv2/runpb/traffic_target.pb.go b/run/apiv2/runpb/traffic_target.pb.go index 4bd2e73df2c1..119e95b64828 100755 --- a/run/apiv2/runpb/traffic_target.pb.go +++ b/run/apiv2/runpb/traffic_target.pb.go @@ -21,12 +21,11 @@ package runpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/run/apiv2/runpb/vendor_settings.pb.go b/run/apiv2/runpb/vendor_settings.pb.go index 00b6fdf20a0d..c0fdb85c3eec 100755 --- a/run/apiv2/runpb/vendor_settings.pb.go +++ b/run/apiv2/runpb/vendor_settings.pb.go @@ -21,12 +21,11 @@ package runpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/scheduler/apiv1/schedulerpb/cloudscheduler.pb.go b/scheduler/apiv1/schedulerpb/cloudscheduler.pb.go index ac4183ebbc45..9e048c4d4ad8 100755 --- a/scheduler/apiv1/schedulerpb/cloudscheduler.pb.go +++ b/scheduler/apiv1/schedulerpb/cloudscheduler.pb.go @@ -22,9 +22,6 @@ package schedulerpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/scheduler/apiv1/schedulerpb/job.pb.go b/scheduler/apiv1/schedulerpb/job.pb.go index 307a6a288bc9..7dcc0b27874f 100755 --- a/scheduler/apiv1/schedulerpb/job.pb.go +++ b/scheduler/apiv1/schedulerpb/job.pb.go @@ -21,15 +21,14 @@ package schedulerpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/scheduler/apiv1/schedulerpb/target.pb.go b/scheduler/apiv1/schedulerpb/target.pb.go index 280972bcdfb2..72cba80b6a75 100755 --- a/scheduler/apiv1/schedulerpb/target.pb.go +++ b/scheduler/apiv1/schedulerpb/target.pb.go @@ -21,12 +21,11 @@ package schedulerpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/scheduler/apiv1beta1/schedulerpb/cloudscheduler.pb.go b/scheduler/apiv1beta1/schedulerpb/cloudscheduler.pb.go index 57c097d2db3c..f400a0b82b48 100755 --- a/scheduler/apiv1beta1/schedulerpb/cloudscheduler.pb.go +++ b/scheduler/apiv1beta1/schedulerpb/cloudscheduler.pb.go @@ -22,9 +22,6 @@ package schedulerpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/scheduler/apiv1beta1/schedulerpb/job.pb.go b/scheduler/apiv1beta1/schedulerpb/job.pb.go index a31c7d553013..484119be7386 100755 --- a/scheduler/apiv1beta1/schedulerpb/job.pb.go +++ b/scheduler/apiv1beta1/schedulerpb/job.pb.go @@ -21,15 +21,14 @@ package schedulerpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/scheduler/apiv1beta1/schedulerpb/target.pb.go b/scheduler/apiv1beta1/schedulerpb/target.pb.go index 48d9fbc95d6d..24babe0b7c89 100755 --- a/scheduler/apiv1beta1/schedulerpb/target.pb.go +++ b/scheduler/apiv1beta1/schedulerpb/target.pb.go @@ -21,12 +21,11 @@ package schedulerpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/secretmanager/apiv1/secretmanagerpb/resources.pb.go b/secretmanager/apiv1/secretmanagerpb/resources.pb.go index 0498621b9cc3..44aed3433b02 100755 --- a/secretmanager/apiv1/secretmanagerpb/resources.pb.go +++ b/secretmanager/apiv1/secretmanagerpb/resources.pb.go @@ -21,14 +21,13 @@ package secretmanagerpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/secretmanager/apiv1/secretmanagerpb/service.pb.go b/secretmanager/apiv1/secretmanagerpb/service.pb.go index 3650cc23c365..7b5fa1308481 100755 --- a/secretmanager/apiv1/secretmanagerpb/service.pb.go +++ b/secretmanager/apiv1/secretmanagerpb/service.pb.go @@ -21,11 +21,8 @@ package secretmanagerpb import ( - context "context" - reflect "reflect" - sync "sync" - iampb "cloud.google.com/go/iam/apiv1/iampb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/secretmanager/apiv1beta2/secretmanagerpb/resources.pb.go b/secretmanager/apiv1beta2/secretmanagerpb/resources.pb.go index dc201b5b6d01..a4d61b8afaf8 100755 --- a/secretmanager/apiv1beta2/secretmanagerpb/resources.pb.go +++ b/secretmanager/apiv1beta2/secretmanagerpb/resources.pb.go @@ -21,14 +21,13 @@ package secretmanagerpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/secretmanager/apiv1beta2/secretmanagerpb/service.pb.go b/secretmanager/apiv1beta2/secretmanagerpb/service.pb.go index 51d925de7604..3efdca6b07b0 100755 --- a/secretmanager/apiv1beta2/secretmanagerpb/service.pb.go +++ b/secretmanager/apiv1beta2/secretmanagerpb/service.pb.go @@ -21,11 +21,8 @@ package secretmanagerpb import ( - context "context" - reflect "reflect" - sync "sync" - iampb "cloud.google.com/go/iam/apiv1/iampb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/securesourcemanager/apiv1/securesourcemanagerpb/secure_source_manager.pb.go b/securesourcemanager/apiv1/securesourcemanagerpb/secure_source_manager.pb.go index 8b6c1e52f3ba..24fa69739661 100755 --- a/securesourcemanager/apiv1/securesourcemanagerpb/secure_source_manager.pb.go +++ b/securesourcemanager/apiv1/securesourcemanagerpb/secure_source_manager.pb.go @@ -21,12 +21,9 @@ package securesourcemanagerpb import ( - context "context" - reflect "reflect" - sync "sync" - iampb "cloud.google.com/go/iam/apiv1/iampb" longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -36,6 +33,8 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/security/privateca/apiv1/privatecapb/resources.pb.go b/security/privateca/apiv1/privatecapb/resources.pb.go index ca965f4d0a24..2e59e58939c5 100755 --- a/security/privateca/apiv1/privatecapb/resources.pb.go +++ b/security/privateca/apiv1/privatecapb/resources.pb.go @@ -21,15 +21,14 @@ package privatecapb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" expr "google.golang.org/genproto/googleapis/type/expr" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/security/privateca/apiv1/privatecapb/service.pb.go b/security/privateca/apiv1/privatecapb/service.pb.go index 2310459e6a63..9a61b9efa258 100755 --- a/security/privateca/apiv1/privatecapb/service.pb.go +++ b/security/privateca/apiv1/privatecapb/service.pb.go @@ -21,11 +21,8 @@ package privatecapb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/security/publicca/apiv1/auxiliary.go b/security/publicca/apiv1/auxiliary.go index 9fd6de677400..3d3001c35c6c 100755 --- a/security/publicca/apiv1/auxiliary.go +++ b/security/publicca/apiv1/auxiliary.go @@ -15,3 +15,5 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package publicca + +import () diff --git a/security/publicca/apiv1/auxiliary_go123.go b/security/publicca/apiv1/auxiliary_go123.go index eff928ce9fda..5f216d6f6323 100755 --- a/security/publicca/apiv1/auxiliary_go123.go +++ b/security/publicca/apiv1/auxiliary_go123.go @@ -17,3 +17,5 @@ //go:build go1.23 package publicca + +import () diff --git a/security/publicca/apiv1/public_certificate_authority_client_example_go123_test.go b/security/publicca/apiv1/public_certificate_authority_client_example_go123_test.go index d750d6a824d8..b5830c9f0250 100644 --- a/security/publicca/apiv1/public_certificate_authority_client_example_go123_test.go +++ b/security/publicca/apiv1/public_certificate_authority_client_example_go123_test.go @@ -17,3 +17,7 @@ //go:build go1.23 package publicca_test + +import ( + publicca "cloud.google.com/go/security/publicca/apiv1" +) diff --git a/security/publicca/apiv1/publiccapb/resources.pb.go b/security/publicca/apiv1/publiccapb/resources.pb.go index c558f40ebdf5..a76c8b9aa9e2 100755 --- a/security/publicca/apiv1/publiccapb/resources.pb.go +++ b/security/publicca/apiv1/publiccapb/resources.pb.go @@ -21,12 +21,11 @@ package publiccapb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/security/publicca/apiv1/publiccapb/service.pb.go b/security/publicca/apiv1/publiccapb/service.pb.go index e167d81efc5b..03251f3642e0 100755 --- a/security/publicca/apiv1/publiccapb/service.pb.go +++ b/security/publicca/apiv1/publiccapb/service.pb.go @@ -22,15 +22,14 @@ package publiccapb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/security/publicca/apiv1beta1/auxiliary.go b/security/publicca/apiv1beta1/auxiliary.go index 9fd6de677400..3d3001c35c6c 100755 --- a/security/publicca/apiv1beta1/auxiliary.go +++ b/security/publicca/apiv1beta1/auxiliary.go @@ -15,3 +15,5 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package publicca + +import () diff --git a/security/publicca/apiv1beta1/auxiliary_go123.go b/security/publicca/apiv1beta1/auxiliary_go123.go index eff928ce9fda..5f216d6f6323 100755 --- a/security/publicca/apiv1beta1/auxiliary_go123.go +++ b/security/publicca/apiv1beta1/auxiliary_go123.go @@ -17,3 +17,5 @@ //go:build go1.23 package publicca + +import () diff --git a/security/publicca/apiv1beta1/public_certificate_authority_client_example_go123_test.go b/security/publicca/apiv1beta1/public_certificate_authority_client_example_go123_test.go index d750d6a824d8..33a81faf71dd 100644 --- a/security/publicca/apiv1beta1/public_certificate_authority_client_example_go123_test.go +++ b/security/publicca/apiv1beta1/public_certificate_authority_client_example_go123_test.go @@ -17,3 +17,7 @@ //go:build go1.23 package publicca_test + +import ( + publicca "cloud.google.com/go/security/publicca/apiv1beta1" +) diff --git a/security/publicca/apiv1beta1/publiccapb/resources.pb.go b/security/publicca/apiv1beta1/publiccapb/resources.pb.go index 69b06960b909..a0a05118a2d9 100755 --- a/security/publicca/apiv1beta1/publiccapb/resources.pb.go +++ b/security/publicca/apiv1beta1/publiccapb/resources.pb.go @@ -21,12 +21,11 @@ package publiccapb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/security/publicca/apiv1beta1/publiccapb/service.pb.go b/security/publicca/apiv1beta1/publiccapb/service.pb.go index 7bcafc3d11ec..78e85e9b195a 100755 --- a/security/publicca/apiv1beta1/publiccapb/service.pb.go +++ b/security/publicca/apiv1beta1/publiccapb/service.pb.go @@ -22,15 +22,14 @@ package publiccapb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/access.pb.go b/securitycenter/apiv1/securitycenterpb/access.pb.go index ed8d7d4722e9..7381b9d0e489 100755 --- a/securitycenter/apiv1/securitycenterpb/access.pb.go +++ b/securitycenter/apiv1/securitycenterpb/access.pb.go @@ -21,11 +21,10 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/application.pb.go b/securitycenter/apiv1/securitycenterpb/application.pb.go index 47c0fc1108f8..072ca34619b8 100755 --- a/securitycenter/apiv1/securitycenterpb/application.pb.go +++ b/securitycenter/apiv1/securitycenterpb/application.pb.go @@ -21,11 +21,10 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/asset.pb.go b/securitycenter/apiv1/securitycenterpb/asset.pb.go index a711c9e0032f..fddbe516a3c8 100755 --- a/securitycenter/apiv1/securitycenterpb/asset.pb.go +++ b/securitycenter/apiv1/securitycenterpb/asset.pb.go @@ -21,14 +21,13 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/attack_exposure.pb.go b/securitycenter/apiv1/securitycenterpb/attack_exposure.pb.go index 3563d9ca7620..622baa0c399e 100755 --- a/securitycenter/apiv1/securitycenterpb/attack_exposure.pb.go +++ b/securitycenter/apiv1/securitycenterpb/attack_exposure.pb.go @@ -21,12 +21,11 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/attack_path.pb.go b/securitycenter/apiv1/securitycenterpb/attack_path.pb.go index d8985c36ae9a..e1165a17bbad 100755 --- a/securitycenter/apiv1/securitycenterpb/attack_path.pb.go +++ b/securitycenter/apiv1/securitycenterpb/attack_path.pb.go @@ -21,12 +21,11 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/backup_disaster_recovery.pb.go b/securitycenter/apiv1/securitycenterpb/backup_disaster_recovery.pb.go index 849a1fbb4a6d..92906a60b659 100755 --- a/securitycenter/apiv1/securitycenterpb/backup_disaster_recovery.pb.go +++ b/securitycenter/apiv1/securitycenterpb/backup_disaster_recovery.pb.go @@ -21,12 +21,11 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/bigquery_export.pb.go b/securitycenter/apiv1/securitycenterpb/bigquery_export.pb.go index 9171cfd212e0..3180f12525a6 100755 --- a/securitycenter/apiv1/securitycenterpb/bigquery_export.pb.go +++ b/securitycenter/apiv1/securitycenterpb/bigquery_export.pb.go @@ -21,13 +21,12 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/cloud_armor.pb.go b/securitycenter/apiv1/securitycenterpb/cloud_armor.pb.go index 18fda99f8eb5..fcd161a11a13 100755 --- a/securitycenter/apiv1/securitycenterpb/cloud_armor.pb.go +++ b/securitycenter/apiv1/securitycenterpb/cloud_armor.pb.go @@ -21,12 +21,11 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/cloud_dlp_data_profile.pb.go b/securitycenter/apiv1/securitycenterpb/cloud_dlp_data_profile.pb.go index 126cd714a067..1d4f8d0114a2 100755 --- a/securitycenter/apiv1/securitycenterpb/cloud_dlp_data_profile.pb.go +++ b/securitycenter/apiv1/securitycenterpb/cloud_dlp_data_profile.pb.go @@ -21,12 +21,11 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/cloud_dlp_inspection.pb.go b/securitycenter/apiv1/securitycenterpb/cloud_dlp_inspection.pb.go index 3307e12249ed..05c6e2294c31 100755 --- a/securitycenter/apiv1/securitycenterpb/cloud_dlp_inspection.pb.go +++ b/securitycenter/apiv1/securitycenterpb/cloud_dlp_inspection.pb.go @@ -21,12 +21,11 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/compliance.pb.go b/securitycenter/apiv1/securitycenterpb/compliance.pb.go index 9392ee378f29..5251667d19ca 100755 --- a/securitycenter/apiv1/securitycenterpb/compliance.pb.go +++ b/securitycenter/apiv1/securitycenterpb/compliance.pb.go @@ -21,11 +21,10 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/connection.pb.go b/securitycenter/apiv1/securitycenterpb/connection.pb.go index 397f5365a365..d493496ff939 100755 --- a/securitycenter/apiv1/securitycenterpb/connection.pb.go +++ b/securitycenter/apiv1/securitycenterpb/connection.pb.go @@ -21,11 +21,10 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/contact_details.pb.go b/securitycenter/apiv1/securitycenterpb/contact_details.pb.go index bdf11daadca6..96d29738dc63 100755 --- a/securitycenter/apiv1/securitycenterpb/contact_details.pb.go +++ b/securitycenter/apiv1/securitycenterpb/contact_details.pb.go @@ -21,11 +21,10 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/container.pb.go b/securitycenter/apiv1/securitycenterpb/container.pb.go index fc1f9f700a0b..1af1ea273d04 100755 --- a/securitycenter/apiv1/securitycenterpb/container.pb.go +++ b/securitycenter/apiv1/securitycenterpb/container.pb.go @@ -21,12 +21,11 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/database.pb.go b/securitycenter/apiv1/securitycenterpb/database.pb.go index d74bcb677e1f..b89793a2bcf3 100755 --- a/securitycenter/apiv1/securitycenterpb/database.pb.go +++ b/securitycenter/apiv1/securitycenterpb/database.pb.go @@ -21,11 +21,10 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/effective_event_threat_detection_custom_module.pb.go b/securitycenter/apiv1/securitycenterpb/effective_event_threat_detection_custom_module.pb.go index 1b3e6d06c212..68027a2acd31 100755 --- a/securitycenter/apiv1/securitycenterpb/effective_event_threat_detection_custom_module.pb.go +++ b/securitycenter/apiv1/securitycenterpb/effective_event_threat_detection_custom_module.pb.go @@ -21,13 +21,12 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/effective_security_health_analytics_custom_module.pb.go b/securitycenter/apiv1/securitycenterpb/effective_security_health_analytics_custom_module.pb.go index ea5b26701548..25c28f9f6ff7 100755 --- a/securitycenter/apiv1/securitycenterpb/effective_security_health_analytics_custom_module.pb.go +++ b/securitycenter/apiv1/securitycenterpb/effective_security_health_analytics_custom_module.pb.go @@ -21,12 +21,11 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/event_threat_detection_custom_module.pb.go b/securitycenter/apiv1/securitycenterpb/event_threat_detection_custom_module.pb.go index 539448c95a4e..7980fb2cb2bb 100755 --- a/securitycenter/apiv1/securitycenterpb/event_threat_detection_custom_module.pb.go +++ b/securitycenter/apiv1/securitycenterpb/event_threat_detection_custom_module.pb.go @@ -21,14 +21,13 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/event_threat_detection_custom_module_validation_errors.pb.go b/securitycenter/apiv1/securitycenterpb/event_threat_detection_custom_module_validation_errors.pb.go index 759be8338d10..fcfc8aad06eb 100755 --- a/securitycenter/apiv1/securitycenterpb/event_threat_detection_custom_module_validation_errors.pb.go +++ b/securitycenter/apiv1/securitycenterpb/event_threat_detection_custom_module_validation_errors.pb.go @@ -21,11 +21,10 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/exfiltration.pb.go b/securitycenter/apiv1/securitycenterpb/exfiltration.pb.go index 4334e0fc6e32..e7612a73257a 100755 --- a/securitycenter/apiv1/securitycenterpb/exfiltration.pb.go +++ b/securitycenter/apiv1/securitycenterpb/exfiltration.pb.go @@ -21,11 +21,10 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/external_system.pb.go b/securitycenter/apiv1/securitycenterpb/external_system.pb.go index 969dd584ba4a..a25ef0aba2c8 100755 --- a/securitycenter/apiv1/securitycenterpb/external_system.pb.go +++ b/securitycenter/apiv1/securitycenterpb/external_system.pb.go @@ -21,13 +21,12 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/file.pb.go b/securitycenter/apiv1/securitycenterpb/file.pb.go index 74f3783afd0c..f7e519876e37 100755 --- a/securitycenter/apiv1/securitycenterpb/file.pb.go +++ b/securitycenter/apiv1/securitycenterpb/file.pb.go @@ -21,11 +21,10 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/finding.pb.go b/securitycenter/apiv1/securitycenterpb/finding.pb.go index 837294458008..7e9c21a293ca 100755 --- a/securitycenter/apiv1/securitycenterpb/finding.pb.go +++ b/securitycenter/apiv1/securitycenterpb/finding.pb.go @@ -21,14 +21,13 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/folder.pb.go b/securitycenter/apiv1/securitycenterpb/folder.pb.go index ef8e46d96de2..d9f5a44893a0 100755 --- a/securitycenter/apiv1/securitycenterpb/folder.pb.go +++ b/securitycenter/apiv1/securitycenterpb/folder.pb.go @@ -21,11 +21,10 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/group_membership.pb.go b/securitycenter/apiv1/securitycenterpb/group_membership.pb.go index fffdb2edafba..e122fdaca068 100755 --- a/securitycenter/apiv1/securitycenterpb/group_membership.pb.go +++ b/securitycenter/apiv1/securitycenterpb/group_membership.pb.go @@ -21,11 +21,10 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/iam_binding.pb.go b/securitycenter/apiv1/securitycenterpb/iam_binding.pb.go index 90be143fa83c..379f8d743b49 100755 --- a/securitycenter/apiv1/securitycenterpb/iam_binding.pb.go +++ b/securitycenter/apiv1/securitycenterpb/iam_binding.pb.go @@ -21,11 +21,10 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/indicator.pb.go b/securitycenter/apiv1/securitycenterpb/indicator.pb.go index 68c08357a2d5..62648fdb143e 100755 --- a/securitycenter/apiv1/securitycenterpb/indicator.pb.go +++ b/securitycenter/apiv1/securitycenterpb/indicator.pb.go @@ -21,11 +21,10 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/kernel_rootkit.pb.go b/securitycenter/apiv1/securitycenterpb/kernel_rootkit.pb.go index 05e5896ec61f..dc46e778840e 100755 --- a/securitycenter/apiv1/securitycenterpb/kernel_rootkit.pb.go +++ b/securitycenter/apiv1/securitycenterpb/kernel_rootkit.pb.go @@ -21,11 +21,10 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/kubernetes.pb.go b/securitycenter/apiv1/securitycenterpb/kubernetes.pb.go index 9083fe0f4a17..56e2c2663ce7 100755 --- a/securitycenter/apiv1/securitycenterpb/kubernetes.pb.go +++ b/securitycenter/apiv1/securitycenterpb/kubernetes.pb.go @@ -21,11 +21,10 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/label.pb.go b/securitycenter/apiv1/securitycenterpb/label.pb.go index 91111ea3cfdf..9ad94a94cb05 100755 --- a/securitycenter/apiv1/securitycenterpb/label.pb.go +++ b/securitycenter/apiv1/securitycenterpb/label.pb.go @@ -21,11 +21,10 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/load_balancer.pb.go b/securitycenter/apiv1/securitycenterpb/load_balancer.pb.go index 487bad31a2b4..8253bcd7e3e4 100755 --- a/securitycenter/apiv1/securitycenterpb/load_balancer.pb.go +++ b/securitycenter/apiv1/securitycenterpb/load_balancer.pb.go @@ -21,11 +21,10 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/log_entry.pb.go b/securitycenter/apiv1/securitycenterpb/log_entry.pb.go index 1428e6a3715c..45a27b256dde 100755 --- a/securitycenter/apiv1/securitycenterpb/log_entry.pb.go +++ b/securitycenter/apiv1/securitycenterpb/log_entry.pb.go @@ -21,12 +21,11 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/mitre_attack.pb.go b/securitycenter/apiv1/securitycenterpb/mitre_attack.pb.go index cf96b71e43ea..e861a4f68057 100755 --- a/securitycenter/apiv1/securitycenterpb/mitre_attack.pb.go +++ b/securitycenter/apiv1/securitycenterpb/mitre_attack.pb.go @@ -21,11 +21,10 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/mute_config.pb.go b/securitycenter/apiv1/securitycenterpb/mute_config.pb.go index cc9cbff51cb9..dfce71cddcfa 100755 --- a/securitycenter/apiv1/securitycenterpb/mute_config.pb.go +++ b/securitycenter/apiv1/securitycenterpb/mute_config.pb.go @@ -21,13 +21,12 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/notebook.pb.go b/securitycenter/apiv1/securitycenterpb/notebook.pb.go index c57fd2c79549..3f18895bf4a9 100755 --- a/securitycenter/apiv1/securitycenterpb/notebook.pb.go +++ b/securitycenter/apiv1/securitycenterpb/notebook.pb.go @@ -21,12 +21,11 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/notification_config.pb.go b/securitycenter/apiv1/securitycenterpb/notification_config.pb.go index f2631aa17a85..2ccfce920289 100755 --- a/securitycenter/apiv1/securitycenterpb/notification_config.pb.go +++ b/securitycenter/apiv1/securitycenterpb/notification_config.pb.go @@ -21,12 +21,11 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/notification_message.pb.go b/securitycenter/apiv1/securitycenterpb/notification_message.pb.go index 43b625afc1ce..58e30458f78c 100755 --- a/securitycenter/apiv1/securitycenterpb/notification_message.pb.go +++ b/securitycenter/apiv1/securitycenterpb/notification_message.pb.go @@ -21,11 +21,10 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/org_policy.pb.go b/securitycenter/apiv1/securitycenterpb/org_policy.pb.go index a4bc47c54ab9..ac1be6cfc58a 100755 --- a/securitycenter/apiv1/securitycenterpb/org_policy.pb.go +++ b/securitycenter/apiv1/securitycenterpb/org_policy.pb.go @@ -21,12 +21,11 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/organization_settings.pb.go b/securitycenter/apiv1/securitycenterpb/organization_settings.pb.go index 14b9aedc47dd..ba63a87dc142 100755 --- a/securitycenter/apiv1/securitycenterpb/organization_settings.pb.go +++ b/securitycenter/apiv1/securitycenterpb/organization_settings.pb.go @@ -21,12 +21,11 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/process.pb.go b/securitycenter/apiv1/securitycenterpb/process.pb.go index 99c9a9b0faab..1d479efc26aa 100755 --- a/securitycenter/apiv1/securitycenterpb/process.pb.go +++ b/securitycenter/apiv1/securitycenterpb/process.pb.go @@ -21,11 +21,10 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/resource.pb.go b/securitycenter/apiv1/securitycenterpb/resource.pb.go index 3c3224065848..f75ecac2c0d6 100755 --- a/securitycenter/apiv1/securitycenterpb/resource.pb.go +++ b/securitycenter/apiv1/securitycenterpb/resource.pb.go @@ -21,12 +21,11 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/resource_value_config.pb.go b/securitycenter/apiv1/securitycenterpb/resource_value_config.pb.go index 941e7f9a5a56..273ed8ca64f1 100755 --- a/securitycenter/apiv1/securitycenterpb/resource_value_config.pb.go +++ b/securitycenter/apiv1/securitycenterpb/resource_value_config.pb.go @@ -21,13 +21,12 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/run_asset_discovery_response.pb.go b/securitycenter/apiv1/securitycenterpb/run_asset_discovery_response.pb.go index f08eb6abfa46..58bb3cbc6909 100755 --- a/securitycenter/apiv1/securitycenterpb/run_asset_discovery_response.pb.go +++ b/securitycenter/apiv1/securitycenterpb/run_asset_discovery_response.pb.go @@ -21,12 +21,11 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/security_health_analytics_custom_config.pb.go b/securitycenter/apiv1/securitycenterpb/security_health_analytics_custom_config.pb.go index 0d629367fcac..c8d1e2a07197 100755 --- a/securitycenter/apiv1/securitycenterpb/security_health_analytics_custom_config.pb.go +++ b/securitycenter/apiv1/securitycenterpb/security_health_analytics_custom_config.pb.go @@ -21,12 +21,11 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - expr "google.golang.org/genproto/googleapis/type/expr" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/security_health_analytics_custom_module.pb.go b/securitycenter/apiv1/securitycenterpb/security_health_analytics_custom_module.pb.go index 3193b7ba12b7..e4e56650ab85 100755 --- a/securitycenter/apiv1/securitycenterpb/security_health_analytics_custom_module.pb.go +++ b/securitycenter/apiv1/securitycenterpb/security_health_analytics_custom_module.pb.go @@ -21,13 +21,12 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/security_marks.pb.go b/securitycenter/apiv1/securitycenterpb/security_marks.pb.go index 7973bcc5ba48..76c6f82c48a0 100755 --- a/securitycenter/apiv1/securitycenterpb/security_marks.pb.go +++ b/securitycenter/apiv1/securitycenterpb/security_marks.pb.go @@ -21,12 +21,11 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/security_posture.pb.go b/securitycenter/apiv1/securitycenterpb/security_posture.pb.go index 25073fd94a36..8247d1547a69 100755 --- a/securitycenter/apiv1/securitycenterpb/security_posture.pb.go +++ b/securitycenter/apiv1/securitycenterpb/security_posture.pb.go @@ -21,11 +21,10 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/securitycenter_service.pb.go b/securitycenter/apiv1/securitycenterpb/securitycenter_service.pb.go index 5e1d61af5392..8a42ecbddad6 100755 --- a/securitycenter/apiv1/securitycenterpb/securitycenter_service.pb.go +++ b/securitycenter/apiv1/securitycenterpb/securitycenter_service.pb.go @@ -21,12 +21,9 @@ package securitycenterpb import ( - context "context" - reflect "reflect" - sync "sync" - iampb "cloud.google.com/go/iam/apiv1/iampb" longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -39,6 +36,8 @@ import ( fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/simulation.pb.go b/securitycenter/apiv1/securitycenterpb/simulation.pb.go index 00304d0cb890..0085ff754799 100755 --- a/securitycenter/apiv1/securitycenterpb/simulation.pb.go +++ b/securitycenter/apiv1/securitycenterpb/simulation.pb.go @@ -21,13 +21,12 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/source.pb.go b/securitycenter/apiv1/securitycenterpb/source.pb.go index 3b7c8ba566f1..65ef09696760 100755 --- a/securitycenter/apiv1/securitycenterpb/source.pb.go +++ b/securitycenter/apiv1/securitycenterpb/source.pb.go @@ -21,12 +21,11 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/toxic_combination.pb.go b/securitycenter/apiv1/securitycenterpb/toxic_combination.pb.go index 7d402a9461d5..8f244899b7a5 100755 --- a/securitycenter/apiv1/securitycenterpb/toxic_combination.pb.go +++ b/securitycenter/apiv1/securitycenterpb/toxic_combination.pb.go @@ -21,11 +21,10 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/valued_resource.pb.go b/securitycenter/apiv1/securitycenterpb/valued_resource.pb.go index 8f20ae1f1c80..55ad684976e8 100755 --- a/securitycenter/apiv1/securitycenterpb/valued_resource.pb.go +++ b/securitycenter/apiv1/securitycenterpb/valued_resource.pb.go @@ -21,12 +21,11 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/vulnerability.pb.go b/securitycenter/apiv1/securitycenterpb/vulnerability.pb.go index 2ffa66682516..f53f1e825660 100755 --- a/securitycenter/apiv1/securitycenterpb/vulnerability.pb.go +++ b/securitycenter/apiv1/securitycenterpb/vulnerability.pb.go @@ -21,12 +21,11 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1beta1/securitycenterpb/asset.pb.go b/securitycenter/apiv1beta1/securitycenterpb/asset.pb.go index 47c46866160c..2cf3aa5325c8 100755 --- a/securitycenter/apiv1beta1/securitycenterpb/asset.pb.go +++ b/securitycenter/apiv1beta1/securitycenterpb/asset.pb.go @@ -21,14 +21,13 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1beta1/securitycenterpb/finding.pb.go b/securitycenter/apiv1beta1/securitycenterpb/finding.pb.go index bf4b541e0e4e..32de98b7a135 100755 --- a/securitycenter/apiv1beta1/securitycenterpb/finding.pb.go +++ b/securitycenter/apiv1beta1/securitycenterpb/finding.pb.go @@ -21,14 +21,13 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1beta1/securitycenterpb/organization_settings.pb.go b/securitycenter/apiv1beta1/securitycenterpb/organization_settings.pb.go index f4103a002a2d..da5047098376 100755 --- a/securitycenter/apiv1beta1/securitycenterpb/organization_settings.pb.go +++ b/securitycenter/apiv1beta1/securitycenterpb/organization_settings.pb.go @@ -21,12 +21,11 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1beta1/securitycenterpb/run_asset_discovery_response.pb.go b/securitycenter/apiv1beta1/securitycenterpb/run_asset_discovery_response.pb.go index 54421d520359..61d808ddaab8 100755 --- a/securitycenter/apiv1beta1/securitycenterpb/run_asset_discovery_response.pb.go +++ b/securitycenter/apiv1beta1/securitycenterpb/run_asset_discovery_response.pb.go @@ -21,12 +21,11 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1beta1/securitycenterpb/security_marks.pb.go b/securitycenter/apiv1beta1/securitycenterpb/security_marks.pb.go index 54936ad56b2a..2ccfd6362b06 100755 --- a/securitycenter/apiv1beta1/securitycenterpb/security_marks.pb.go +++ b/securitycenter/apiv1beta1/securitycenterpb/security_marks.pb.go @@ -21,12 +21,11 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1beta1/securitycenterpb/securitycenter_service.pb.go b/securitycenter/apiv1beta1/securitycenterpb/securitycenter_service.pb.go index cadb2529fb31..b3dc158ed4da 100755 --- a/securitycenter/apiv1beta1/securitycenterpb/securitycenter_service.pb.go +++ b/securitycenter/apiv1beta1/securitycenterpb/securitycenter_service.pb.go @@ -21,12 +21,9 @@ package securitycenterpb import ( - context "context" - reflect "reflect" - sync "sync" - iampb "cloud.google.com/go/iam/apiv1/iampb" longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -37,6 +34,8 @@ import ( fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1beta1/securitycenterpb/source.pb.go b/securitycenter/apiv1beta1/securitycenterpb/source.pb.go index 3cce0901d4f1..d4c9db701298 100755 --- a/securitycenter/apiv1beta1/securitycenterpb/source.pb.go +++ b/securitycenter/apiv1beta1/securitycenterpb/source.pb.go @@ -21,12 +21,11 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1p1beta1/securitycenterpb/asset.pb.go b/securitycenter/apiv1p1beta1/securitycenterpb/asset.pb.go index 868f3cfc47cc..caa4792f1101 100755 --- a/securitycenter/apiv1p1beta1/securitycenterpb/asset.pb.go +++ b/securitycenter/apiv1p1beta1/securitycenterpb/asset.pb.go @@ -21,14 +21,13 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1p1beta1/securitycenterpb/finding.pb.go b/securitycenter/apiv1p1beta1/securitycenterpb/finding.pb.go index f77263a5d167..d25d0400ebd0 100755 --- a/securitycenter/apiv1p1beta1/securitycenterpb/finding.pb.go +++ b/securitycenter/apiv1p1beta1/securitycenterpb/finding.pb.go @@ -21,14 +21,13 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1p1beta1/securitycenterpb/folder.pb.go b/securitycenter/apiv1p1beta1/securitycenterpb/folder.pb.go index cab5f62393c4..782966e12422 100755 --- a/securitycenter/apiv1p1beta1/securitycenterpb/folder.pb.go +++ b/securitycenter/apiv1p1beta1/securitycenterpb/folder.pb.go @@ -21,11 +21,10 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1p1beta1/securitycenterpb/notification_config.pb.go b/securitycenter/apiv1p1beta1/securitycenterpb/notification_config.pb.go index 9265cb425015..c6aa2b54ba7d 100755 --- a/securitycenter/apiv1p1beta1/securitycenterpb/notification_config.pb.go +++ b/securitycenter/apiv1p1beta1/securitycenterpb/notification_config.pb.go @@ -21,12 +21,11 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1p1beta1/securitycenterpb/notification_message.pb.go b/securitycenter/apiv1p1beta1/securitycenterpb/notification_message.pb.go index 2441903b9dbd..a8ecf7496562 100755 --- a/securitycenter/apiv1p1beta1/securitycenterpb/notification_message.pb.go +++ b/securitycenter/apiv1p1beta1/securitycenterpb/notification_message.pb.go @@ -21,11 +21,10 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1p1beta1/securitycenterpb/organization_settings.pb.go b/securitycenter/apiv1p1beta1/securitycenterpb/organization_settings.pb.go index d44cecab8929..95b95f5cc1fd 100755 --- a/securitycenter/apiv1p1beta1/securitycenterpb/organization_settings.pb.go +++ b/securitycenter/apiv1p1beta1/securitycenterpb/organization_settings.pb.go @@ -21,12 +21,11 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1p1beta1/securitycenterpb/resource.pb.go b/securitycenter/apiv1p1beta1/securitycenterpb/resource.pb.go index 750e8779af0b..7060ecf4b8bf 100755 --- a/securitycenter/apiv1p1beta1/securitycenterpb/resource.pb.go +++ b/securitycenter/apiv1p1beta1/securitycenterpb/resource.pb.go @@ -21,12 +21,11 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1p1beta1/securitycenterpb/run_asset_discovery_response.pb.go b/securitycenter/apiv1p1beta1/securitycenterpb/run_asset_discovery_response.pb.go index 5206d0ce613b..072dbc835d2f 100755 --- a/securitycenter/apiv1p1beta1/securitycenterpb/run_asset_discovery_response.pb.go +++ b/securitycenter/apiv1p1beta1/securitycenterpb/run_asset_discovery_response.pb.go @@ -21,12 +21,11 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1p1beta1/securitycenterpb/security_marks.pb.go b/securitycenter/apiv1p1beta1/securitycenterpb/security_marks.pb.go index 6c6770a4944e..3f9133891f03 100755 --- a/securitycenter/apiv1p1beta1/securitycenterpb/security_marks.pb.go +++ b/securitycenter/apiv1p1beta1/securitycenterpb/security_marks.pb.go @@ -21,12 +21,11 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1p1beta1/securitycenterpb/securitycenter_service.pb.go b/securitycenter/apiv1p1beta1/securitycenterpb/securitycenter_service.pb.go index 65f1073bea3b..13a1d26aaf83 100755 --- a/securitycenter/apiv1p1beta1/securitycenterpb/securitycenter_service.pb.go +++ b/securitycenter/apiv1p1beta1/securitycenterpb/securitycenter_service.pb.go @@ -21,12 +21,9 @@ package securitycenterpb import ( - context "context" - reflect "reflect" - sync "sync" - iampb "cloud.google.com/go/iam/apiv1/iampb" longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -38,6 +35,8 @@ import ( fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1p1beta1/securitycenterpb/source.pb.go b/securitycenter/apiv1p1beta1/securitycenterpb/source.pb.go index cca30fded227..096b3eca891a 100755 --- a/securitycenter/apiv1p1beta1/securitycenterpb/source.pb.go +++ b/securitycenter/apiv1p1beta1/securitycenterpb/source.pb.go @@ -21,12 +21,11 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv2/securitycenterpb/access.pb.go b/securitycenter/apiv2/securitycenterpb/access.pb.go index 4c45344df554..29a6b66d7d0d 100755 --- a/securitycenter/apiv2/securitycenterpb/access.pb.go +++ b/securitycenter/apiv2/securitycenterpb/access.pb.go @@ -21,11 +21,10 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv2/securitycenterpb/application.pb.go b/securitycenter/apiv2/securitycenterpb/application.pb.go index 986b186fccb2..1a984aca6d4e 100755 --- a/securitycenter/apiv2/securitycenterpb/application.pb.go +++ b/securitycenter/apiv2/securitycenterpb/application.pb.go @@ -21,11 +21,10 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv2/securitycenterpb/attack_exposure.pb.go b/securitycenter/apiv2/securitycenterpb/attack_exposure.pb.go index b5ec53088982..a6f14c95a960 100755 --- a/securitycenter/apiv2/securitycenterpb/attack_exposure.pb.go +++ b/securitycenter/apiv2/securitycenterpb/attack_exposure.pb.go @@ -21,13 +21,12 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv2/securitycenterpb/attack_path.pb.go b/securitycenter/apiv2/securitycenterpb/attack_path.pb.go index cabd34b9d9f1..c67b544c705e 100755 --- a/securitycenter/apiv2/securitycenterpb/attack_path.pb.go +++ b/securitycenter/apiv2/securitycenterpb/attack_path.pb.go @@ -21,12 +21,11 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv2/securitycenterpb/backup_disaster_recovery.pb.go b/securitycenter/apiv2/securitycenterpb/backup_disaster_recovery.pb.go index 19445f615c3b..9b670ee5e4c0 100755 --- a/securitycenter/apiv2/securitycenterpb/backup_disaster_recovery.pb.go +++ b/securitycenter/apiv2/securitycenterpb/backup_disaster_recovery.pb.go @@ -21,12 +21,11 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv2/securitycenterpb/bigquery_export.pb.go b/securitycenter/apiv2/securitycenterpb/bigquery_export.pb.go index b094e07235cc..fe572694e5d5 100755 --- a/securitycenter/apiv2/securitycenterpb/bigquery_export.pb.go +++ b/securitycenter/apiv2/securitycenterpb/bigquery_export.pb.go @@ -21,13 +21,12 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv2/securitycenterpb/cloud_armor.pb.go b/securitycenter/apiv2/securitycenterpb/cloud_armor.pb.go index d84ce1fda700..e7e8500e29a1 100755 --- a/securitycenter/apiv2/securitycenterpb/cloud_armor.pb.go +++ b/securitycenter/apiv2/securitycenterpb/cloud_armor.pb.go @@ -21,12 +21,11 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv2/securitycenterpb/cloud_dlp_data_profile.pb.go b/securitycenter/apiv2/securitycenterpb/cloud_dlp_data_profile.pb.go index 070b593553d9..15703c526707 100755 --- a/securitycenter/apiv2/securitycenterpb/cloud_dlp_data_profile.pb.go +++ b/securitycenter/apiv2/securitycenterpb/cloud_dlp_data_profile.pb.go @@ -21,12 +21,11 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv2/securitycenterpb/cloud_dlp_inspection.pb.go b/securitycenter/apiv2/securitycenterpb/cloud_dlp_inspection.pb.go index 7452e3817b3d..ff36e012b4e4 100755 --- a/securitycenter/apiv2/securitycenterpb/cloud_dlp_inspection.pb.go +++ b/securitycenter/apiv2/securitycenterpb/cloud_dlp_inspection.pb.go @@ -21,12 +21,11 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv2/securitycenterpb/compliance.pb.go b/securitycenter/apiv2/securitycenterpb/compliance.pb.go index e760379b8315..affee12cb2e8 100755 --- a/securitycenter/apiv2/securitycenterpb/compliance.pb.go +++ b/securitycenter/apiv2/securitycenterpb/compliance.pb.go @@ -21,11 +21,10 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv2/securitycenterpb/connection.pb.go b/securitycenter/apiv2/securitycenterpb/connection.pb.go index 81c54cbae2e0..71b9ff10f2e7 100755 --- a/securitycenter/apiv2/securitycenterpb/connection.pb.go +++ b/securitycenter/apiv2/securitycenterpb/connection.pb.go @@ -21,11 +21,10 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv2/securitycenterpb/contact_details.pb.go b/securitycenter/apiv2/securitycenterpb/contact_details.pb.go index f917aae3cced..72d0c623b2a6 100755 --- a/securitycenter/apiv2/securitycenterpb/contact_details.pb.go +++ b/securitycenter/apiv2/securitycenterpb/contact_details.pb.go @@ -21,11 +21,10 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv2/securitycenterpb/container.pb.go b/securitycenter/apiv2/securitycenterpb/container.pb.go index 0f24305e1587..6521477ed94a 100755 --- a/securitycenter/apiv2/securitycenterpb/container.pb.go +++ b/securitycenter/apiv2/securitycenterpb/container.pb.go @@ -21,12 +21,11 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv2/securitycenterpb/database.pb.go b/securitycenter/apiv2/securitycenterpb/database.pb.go index bfb6b7163842..9139a5986bdf 100755 --- a/securitycenter/apiv2/securitycenterpb/database.pb.go +++ b/securitycenter/apiv2/securitycenterpb/database.pb.go @@ -21,11 +21,10 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv2/securitycenterpb/exfiltration.pb.go b/securitycenter/apiv2/securitycenterpb/exfiltration.pb.go index 90e5721a4a18..8dffbe9d1071 100755 --- a/securitycenter/apiv2/securitycenterpb/exfiltration.pb.go +++ b/securitycenter/apiv2/securitycenterpb/exfiltration.pb.go @@ -21,11 +21,10 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv2/securitycenterpb/external_system.pb.go b/securitycenter/apiv2/securitycenterpb/external_system.pb.go index bc91418e2f48..38163fd903f1 100755 --- a/securitycenter/apiv2/securitycenterpb/external_system.pb.go +++ b/securitycenter/apiv2/securitycenterpb/external_system.pb.go @@ -21,13 +21,12 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv2/securitycenterpb/file.pb.go b/securitycenter/apiv2/securitycenterpb/file.pb.go index c7a9d14309a6..908821ca1eff 100755 --- a/securitycenter/apiv2/securitycenterpb/file.pb.go +++ b/securitycenter/apiv2/securitycenterpb/file.pb.go @@ -21,11 +21,10 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv2/securitycenterpb/finding.pb.go b/securitycenter/apiv2/securitycenterpb/finding.pb.go index 8ca3fc554dfc..a3da698884c4 100755 --- a/securitycenter/apiv2/securitycenterpb/finding.pb.go +++ b/securitycenter/apiv2/securitycenterpb/finding.pb.go @@ -21,14 +21,13 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv2/securitycenterpb/folder.pb.go b/securitycenter/apiv2/securitycenterpb/folder.pb.go index e61545aef541..bc3f0d0849a7 100755 --- a/securitycenter/apiv2/securitycenterpb/folder.pb.go +++ b/securitycenter/apiv2/securitycenterpb/folder.pb.go @@ -21,11 +21,10 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv2/securitycenterpb/group_membership.pb.go b/securitycenter/apiv2/securitycenterpb/group_membership.pb.go index 7153bce92ded..95f7f2bcad99 100755 --- a/securitycenter/apiv2/securitycenterpb/group_membership.pb.go +++ b/securitycenter/apiv2/securitycenterpb/group_membership.pb.go @@ -21,11 +21,10 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv2/securitycenterpb/iam_binding.pb.go b/securitycenter/apiv2/securitycenterpb/iam_binding.pb.go index 94de5ad3a269..770fb471de48 100755 --- a/securitycenter/apiv2/securitycenterpb/iam_binding.pb.go +++ b/securitycenter/apiv2/securitycenterpb/iam_binding.pb.go @@ -21,11 +21,10 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv2/securitycenterpb/indicator.pb.go b/securitycenter/apiv2/securitycenterpb/indicator.pb.go index f00dab52d7b1..e9da3f868f19 100755 --- a/securitycenter/apiv2/securitycenterpb/indicator.pb.go +++ b/securitycenter/apiv2/securitycenterpb/indicator.pb.go @@ -21,11 +21,10 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv2/securitycenterpb/kernel_rootkit.pb.go b/securitycenter/apiv2/securitycenterpb/kernel_rootkit.pb.go index 1a4078c63b3d..86d72fe684d1 100755 --- a/securitycenter/apiv2/securitycenterpb/kernel_rootkit.pb.go +++ b/securitycenter/apiv2/securitycenterpb/kernel_rootkit.pb.go @@ -21,11 +21,10 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv2/securitycenterpb/kubernetes.pb.go b/securitycenter/apiv2/securitycenterpb/kubernetes.pb.go index f674335d4bdd..89cfa6e2570e 100755 --- a/securitycenter/apiv2/securitycenterpb/kubernetes.pb.go +++ b/securitycenter/apiv2/securitycenterpb/kubernetes.pb.go @@ -21,11 +21,10 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv2/securitycenterpb/label.pb.go b/securitycenter/apiv2/securitycenterpb/label.pb.go index 92bd6e3bf06b..ef06c2563ef9 100755 --- a/securitycenter/apiv2/securitycenterpb/label.pb.go +++ b/securitycenter/apiv2/securitycenterpb/label.pb.go @@ -21,11 +21,10 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv2/securitycenterpb/load_balancer.pb.go b/securitycenter/apiv2/securitycenterpb/load_balancer.pb.go index c16f88303150..8dc88d265a8e 100755 --- a/securitycenter/apiv2/securitycenterpb/load_balancer.pb.go +++ b/securitycenter/apiv2/securitycenterpb/load_balancer.pb.go @@ -21,11 +21,10 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv2/securitycenterpb/log_entry.pb.go b/securitycenter/apiv2/securitycenterpb/log_entry.pb.go index ea11de2d564c..c827de96dc47 100755 --- a/securitycenter/apiv2/securitycenterpb/log_entry.pb.go +++ b/securitycenter/apiv2/securitycenterpb/log_entry.pb.go @@ -21,12 +21,11 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv2/securitycenterpb/mitre_attack.pb.go b/securitycenter/apiv2/securitycenterpb/mitre_attack.pb.go index 3170d244da3a..52491335c0bd 100755 --- a/securitycenter/apiv2/securitycenterpb/mitre_attack.pb.go +++ b/securitycenter/apiv2/securitycenterpb/mitre_attack.pb.go @@ -21,11 +21,10 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv2/securitycenterpb/mute_config.pb.go b/securitycenter/apiv2/securitycenterpb/mute_config.pb.go index e1522ce7f4bb..dbc1a44c6a48 100755 --- a/securitycenter/apiv2/securitycenterpb/mute_config.pb.go +++ b/securitycenter/apiv2/securitycenterpb/mute_config.pb.go @@ -21,13 +21,12 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv2/securitycenterpb/notebook.pb.go b/securitycenter/apiv2/securitycenterpb/notebook.pb.go index e27247a67470..eb941b7f56b5 100755 --- a/securitycenter/apiv2/securitycenterpb/notebook.pb.go +++ b/securitycenter/apiv2/securitycenterpb/notebook.pb.go @@ -21,12 +21,11 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv2/securitycenterpb/notification_config.pb.go b/securitycenter/apiv2/securitycenterpb/notification_config.pb.go index 3fcd492ecfad..ee0c28b098bb 100755 --- a/securitycenter/apiv2/securitycenterpb/notification_config.pb.go +++ b/securitycenter/apiv2/securitycenterpb/notification_config.pb.go @@ -21,12 +21,11 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv2/securitycenterpb/notification_message.pb.go b/securitycenter/apiv2/securitycenterpb/notification_message.pb.go index 2fec621a570b..66a3ad5b3f1b 100755 --- a/securitycenter/apiv2/securitycenterpb/notification_message.pb.go +++ b/securitycenter/apiv2/securitycenterpb/notification_message.pb.go @@ -21,11 +21,10 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv2/securitycenterpb/org_policy.pb.go b/securitycenter/apiv2/securitycenterpb/org_policy.pb.go index 5317e8128942..cfe472166e85 100755 --- a/securitycenter/apiv2/securitycenterpb/org_policy.pb.go +++ b/securitycenter/apiv2/securitycenterpb/org_policy.pb.go @@ -21,12 +21,11 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv2/securitycenterpb/process.pb.go b/securitycenter/apiv2/securitycenterpb/process.pb.go index 95c576d85a46..c00b5e0b5293 100755 --- a/securitycenter/apiv2/securitycenterpb/process.pb.go +++ b/securitycenter/apiv2/securitycenterpb/process.pb.go @@ -21,11 +21,10 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv2/securitycenterpb/resource.pb.go b/securitycenter/apiv2/securitycenterpb/resource.pb.go index 7dbe312ab8e5..46f99b32625e 100755 --- a/securitycenter/apiv2/securitycenterpb/resource.pb.go +++ b/securitycenter/apiv2/securitycenterpb/resource.pb.go @@ -21,12 +21,11 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv2/securitycenterpb/resource_value_config.pb.go b/securitycenter/apiv2/securitycenterpb/resource_value_config.pb.go index b30c05a95cd3..4ab3d29f9838 100755 --- a/securitycenter/apiv2/securitycenterpb/resource_value_config.pb.go +++ b/securitycenter/apiv2/securitycenterpb/resource_value_config.pb.go @@ -21,13 +21,12 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv2/securitycenterpb/security_marks.pb.go b/securitycenter/apiv2/securitycenterpb/security_marks.pb.go index 687ec623d1ba..7a8c7bf0f3ee 100755 --- a/securitycenter/apiv2/securitycenterpb/security_marks.pb.go +++ b/securitycenter/apiv2/securitycenterpb/security_marks.pb.go @@ -21,12 +21,11 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv2/securitycenterpb/security_posture.pb.go b/securitycenter/apiv2/securitycenterpb/security_posture.pb.go index 81fecc46fc4e..2573caec10ee 100755 --- a/securitycenter/apiv2/securitycenterpb/security_posture.pb.go +++ b/securitycenter/apiv2/securitycenterpb/security_posture.pb.go @@ -21,11 +21,10 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv2/securitycenterpb/securitycenter_service.pb.go b/securitycenter/apiv2/securitycenterpb/securitycenter_service.pb.go index 9067196a5b09..a4bd5ac9de43 100755 --- a/securitycenter/apiv2/securitycenterpb/securitycenter_service.pb.go +++ b/securitycenter/apiv2/securitycenterpb/securitycenter_service.pb.go @@ -21,12 +21,9 @@ package securitycenterpb import ( - context "context" - reflect "reflect" - sync "sync" - iampb "cloud.google.com/go/iam/apiv1/iampb" longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -36,6 +33,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv2/securitycenterpb/simulation.pb.go b/securitycenter/apiv2/securitycenterpb/simulation.pb.go index 9a931dd03e2a..bfcaef60ecc4 100755 --- a/securitycenter/apiv2/securitycenterpb/simulation.pb.go +++ b/securitycenter/apiv2/securitycenterpb/simulation.pb.go @@ -21,13 +21,12 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv2/securitycenterpb/source.pb.go b/securitycenter/apiv2/securitycenterpb/source.pb.go index d9c50bed4e8e..a5b290cb3d9d 100755 --- a/securitycenter/apiv2/securitycenterpb/source.pb.go +++ b/securitycenter/apiv2/securitycenterpb/source.pb.go @@ -21,12 +21,11 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv2/securitycenterpb/toxic_combination.pb.go b/securitycenter/apiv2/securitycenterpb/toxic_combination.pb.go index 0aa4c89d30e9..fd2e75f934c2 100755 --- a/securitycenter/apiv2/securitycenterpb/toxic_combination.pb.go +++ b/securitycenter/apiv2/securitycenterpb/toxic_combination.pb.go @@ -21,11 +21,10 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv2/securitycenterpb/valued_resource.pb.go b/securitycenter/apiv2/securitycenterpb/valued_resource.pb.go index c03a53f6938f..925af609dd60 100755 --- a/securitycenter/apiv2/securitycenterpb/valued_resource.pb.go +++ b/securitycenter/apiv2/securitycenterpb/valued_resource.pb.go @@ -21,12 +21,11 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv2/securitycenterpb/vulnerability.pb.go b/securitycenter/apiv2/securitycenterpb/vulnerability.pb.go index f15e6eb9bb06..cfe760d45ce2 100755 --- a/securitycenter/apiv2/securitycenterpb/vulnerability.pb.go +++ b/securitycenter/apiv2/securitycenterpb/vulnerability.pb.go @@ -21,12 +21,11 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/settings/apiv1beta1/settingspb/billing_settings.pb.go b/securitycenter/settings/apiv1beta1/settingspb/billing_settings.pb.go index 14231d6b1cac..5c646344761b 100755 --- a/securitycenter/settings/apiv1beta1/settingspb/billing_settings.pb.go +++ b/securitycenter/settings/apiv1beta1/settingspb/billing_settings.pb.go @@ -21,13 +21,12 @@ package settingspb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/settings/apiv1beta1/settingspb/component_settings.pb.go b/securitycenter/settings/apiv1beta1/settingspb/component_settings.pb.go index aa1b45b3fe28..e887cb0b4287 100755 --- a/securitycenter/settings/apiv1beta1/settingspb/component_settings.pb.go +++ b/securitycenter/settings/apiv1beta1/settingspb/component_settings.pb.go @@ -21,13 +21,12 @@ package settingspb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/settings/apiv1beta1/settingspb/detector.pb.go b/securitycenter/settings/apiv1beta1/settingspb/detector.pb.go index 7909f3f3a7e0..84d71663bcde 100755 --- a/securitycenter/settings/apiv1beta1/settingspb/detector.pb.go +++ b/securitycenter/settings/apiv1beta1/settingspb/detector.pb.go @@ -21,12 +21,11 @@ package settingspb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/settings/apiv1beta1/settingspb/securitycenter_settings_service.pb.go b/securitycenter/settings/apiv1beta1/settingspb/securitycenter_settings_service.pb.go index 9be09001b8a6..9c637fc34f2c 100755 --- a/securitycenter/settings/apiv1beta1/settingspb/securitycenter_settings_service.pb.go +++ b/securitycenter/settings/apiv1beta1/settingspb/securitycenter_settings_service.pb.go @@ -22,9 +22,6 @@ package settingspb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/settings/apiv1beta1/settingspb/settings.pb.go b/securitycenter/settings/apiv1beta1/settingspb/settings.pb.go index 1c3c38aad694..8970f750d188 100755 --- a/securitycenter/settings/apiv1beta1/settingspb/settings.pb.go +++ b/securitycenter/settings/apiv1beta1/settingspb/settings.pb.go @@ -21,13 +21,12 @@ package settingspb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/settings/apiv1beta1/settingspb/sink_settings.pb.go b/securitycenter/settings/apiv1beta1/settingspb/sink_settings.pb.go index b1a894a7614d..8b51c42f47db 100755 --- a/securitycenter/settings/apiv1beta1/settingspb/sink_settings.pb.go +++ b/securitycenter/settings/apiv1beta1/settingspb/sink_settings.pb.go @@ -21,11 +21,10 @@ package settingspb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycentermanagement/apiv1/securitycentermanagementpb/security_center_management.pb.go b/securitycentermanagement/apiv1/securitycentermanagementpb/security_center_management.pb.go index abedba5d4c14..692453b4f760 100755 --- a/securitycentermanagement/apiv1/securitycentermanagementpb/security_center_management.pb.go +++ b/securitycentermanagement/apiv1/securitycentermanagementpb/security_center_management.pb.go @@ -21,11 +21,8 @@ package securitycentermanagementpb import ( - context "context" - reflect "reflect" - sync "sync" - iampb "cloud.google.com/go/iam/apiv1/iampb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" expr "google.golang.org/genproto/googleapis/type/expr" @@ -38,6 +35,8 @@ import ( fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/securityposture/apiv1/securityposturepb/org_policy_config.pb.go b/securityposture/apiv1/securityposturepb/org_policy_config.pb.go index da4c849d049b..36f988f25ed4 100755 --- a/securityposture/apiv1/securityposturepb/org_policy_config.pb.go +++ b/securityposture/apiv1/securityposturepb/org_policy_config.pb.go @@ -21,14 +21,13 @@ package securityposturepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" expr "google.golang.org/genproto/googleapis/type/expr" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/securityposture/apiv1/securityposturepb/org_policy_constraints.pb.go b/securityposture/apiv1/securityposturepb/org_policy_constraints.pb.go index 6fba032f84aa..2a4ae25f23bd 100755 --- a/securityposture/apiv1/securityposturepb/org_policy_constraints.pb.go +++ b/securityposture/apiv1/securityposturepb/org_policy_constraints.pb.go @@ -21,12 +21,11 @@ package securityposturepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securityposture/apiv1/securityposturepb/securityposture.pb.go b/securityposture/apiv1/securityposturepb/securityposture.pb.go index 6894ac4e2208..69e690ed0b2a 100755 --- a/securityposture/apiv1/securityposturepb/securityposture.pb.go +++ b/securityposture/apiv1/securityposturepb/securityposture.pb.go @@ -21,11 +21,8 @@ package securityposturepb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/securityposture/apiv1/securityposturepb/sha_constraints.pb.go b/securityposture/apiv1/securityposturepb/sha_constraints.pb.go index d2c18efa7cdb..26de8c58d012 100755 --- a/securityposture/apiv1/securityposturepb/sha_constraints.pb.go +++ b/securityposture/apiv1/securityposturepb/sha_constraints.pb.go @@ -21,12 +21,11 @@ package securityposturepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securityposture/apiv1/securityposturepb/sha_custom_config.pb.go b/securityposture/apiv1/securityposturepb/sha_custom_config.pb.go index 0bc3ee290b38..a427d24efd6d 100755 --- a/securityposture/apiv1/securityposturepb/sha_custom_config.pb.go +++ b/securityposture/apiv1/securityposturepb/sha_custom_config.pb.go @@ -21,13 +21,12 @@ package securityposturepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" expr "google.golang.org/genproto/googleapis/type/expr" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/servicecontrol/apiv1/auxiliary.go b/servicecontrol/apiv1/auxiliary.go index c6bc1ad7d52c..4557e73ee783 100755 --- a/servicecontrol/apiv1/auxiliary.go +++ b/servicecontrol/apiv1/auxiliary.go @@ -15,3 +15,5 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package servicecontrol + +import () diff --git a/servicecontrol/apiv1/auxiliary_go123.go b/servicecontrol/apiv1/auxiliary_go123.go index ae8058dfc890..e6143b931631 100755 --- a/servicecontrol/apiv1/auxiliary_go123.go +++ b/servicecontrol/apiv1/auxiliary_go123.go @@ -17,3 +17,5 @@ //go:build go1.23 package servicecontrol + +import () diff --git a/servicecontrol/apiv1/quota_controller_client_example_go123_test.go b/servicecontrol/apiv1/quota_controller_client_example_go123_test.go index 0a52b4a8733a..f677de2b0900 100644 --- a/servicecontrol/apiv1/quota_controller_client_example_go123_test.go +++ b/servicecontrol/apiv1/quota_controller_client_example_go123_test.go @@ -17,3 +17,7 @@ //go:build go1.23 package servicecontrol_test + +import ( + servicecontrol "cloud.google.com/go/servicecontrol/apiv1" +) diff --git a/servicecontrol/apiv1/service_controller_client_example_go123_test.go b/servicecontrol/apiv1/service_controller_client_example_go123_test.go index 0a52b4a8733a..f677de2b0900 100644 --- a/servicecontrol/apiv1/service_controller_client_example_go123_test.go +++ b/servicecontrol/apiv1/service_controller_client_example_go123_test.go @@ -17,3 +17,7 @@ //go:build go1.23 package servicecontrol_test + +import ( + servicecontrol "cloud.google.com/go/servicecontrol/apiv1" +) diff --git a/servicecontrol/apiv1/servicecontrolpb/check_error.pb.go b/servicecontrol/apiv1/servicecontrolpb/check_error.pb.go index 26bcf9d701f4..3fc2fe00a41e 100755 --- a/servicecontrol/apiv1/servicecontrolpb/check_error.pb.go +++ b/servicecontrol/apiv1/servicecontrolpb/check_error.pb.go @@ -21,12 +21,11 @@ package servicecontrolpb import ( - reflect "reflect" - sync "sync" - status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/servicecontrol/apiv1/servicecontrolpb/distribution.pb.go b/servicecontrol/apiv1/servicecontrolpb/distribution.pb.go index 40456f67ba08..c8c02ec156c0 100755 --- a/servicecontrol/apiv1/servicecontrolpb/distribution.pb.go +++ b/servicecontrol/apiv1/servicecontrolpb/distribution.pb.go @@ -21,12 +21,11 @@ package servicecontrolpb import ( - reflect "reflect" - sync "sync" - distribution "google.golang.org/genproto/googleapis/api/distribution" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/servicecontrol/apiv1/servicecontrolpb/http_request.pb.go b/servicecontrol/apiv1/servicecontrolpb/http_request.pb.go index d4bf692b1e70..b3f081c719cc 100755 --- a/servicecontrol/apiv1/servicecontrolpb/http_request.pb.go +++ b/servicecontrol/apiv1/servicecontrolpb/http_request.pb.go @@ -21,12 +21,11 @@ package servicecontrolpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/servicecontrol/apiv1/servicecontrolpb/log_entry.pb.go b/servicecontrol/apiv1/servicecontrolpb/log_entry.pb.go index 5a2828ecb9e4..f92f3bb80b4c 100755 --- a/servicecontrol/apiv1/servicecontrolpb/log_entry.pb.go +++ b/servicecontrol/apiv1/servicecontrolpb/log_entry.pb.go @@ -21,15 +21,14 @@ package servicecontrolpb import ( - reflect "reflect" - sync "sync" - _type "google.golang.org/genproto/googleapis/logging/type" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" anypb "google.golang.org/protobuf/types/known/anypb" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/servicecontrol/apiv1/servicecontrolpb/metric_value.pb.go b/servicecontrol/apiv1/servicecontrolpb/metric_value.pb.go index 3f16f7e5cf4f..13ae2ade3539 100755 --- a/servicecontrol/apiv1/servicecontrolpb/metric_value.pb.go +++ b/servicecontrol/apiv1/servicecontrolpb/metric_value.pb.go @@ -21,12 +21,11 @@ package servicecontrolpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/servicecontrol/apiv1/servicecontrolpb/operation.pb.go b/servicecontrol/apiv1/servicecontrolpb/operation.pb.go index e162f2fe9106..6abd527f56c3 100755 --- a/servicecontrol/apiv1/servicecontrolpb/operation.pb.go +++ b/servicecontrol/apiv1/servicecontrolpb/operation.pb.go @@ -21,13 +21,12 @@ package servicecontrolpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" anypb "google.golang.org/protobuf/types/known/anypb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/servicecontrol/apiv1/servicecontrolpb/quota_controller.pb.go b/servicecontrol/apiv1/servicecontrolpb/quota_controller.pb.go index ac86cf5a3892..addb6f116e6e 100755 --- a/servicecontrol/apiv1/servicecontrolpb/quota_controller.pb.go +++ b/servicecontrol/apiv1/servicecontrolpb/quota_controller.pb.go @@ -22,9 +22,6 @@ package servicecontrolpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -32,6 +29,8 @@ import ( status1 "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/servicecontrol/apiv1/servicecontrolpb/service_controller.pb.go b/servicecontrol/apiv1/servicecontrolpb/service_controller.pb.go index 76eb2a5d35f7..7a6224ad45e1 100755 --- a/servicecontrol/apiv1/servicecontrolpb/service_controller.pb.go +++ b/servicecontrol/apiv1/servicecontrolpb/service_controller.pb.go @@ -22,9 +22,6 @@ package servicecontrolpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -32,6 +29,8 @@ import ( status1 "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/servicedirectory/apiv1/servicedirectorypb/endpoint.pb.go b/servicedirectory/apiv1/servicedirectorypb/endpoint.pb.go index 18167c763800..6f8c5b2afbb0 100755 --- a/servicedirectory/apiv1/servicedirectorypb/endpoint.pb.go +++ b/servicedirectory/apiv1/servicedirectorypb/endpoint.pb.go @@ -21,12 +21,11 @@ package servicedirectorypb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/servicedirectory/apiv1/servicedirectorypb/lookup_service.pb.go b/servicedirectory/apiv1/servicedirectorypb/lookup_service.pb.go index 74cb39fe51ef..f4d8b3f93a61 100755 --- a/servicedirectory/apiv1/servicedirectorypb/lookup_service.pb.go +++ b/servicedirectory/apiv1/servicedirectorypb/lookup_service.pb.go @@ -22,15 +22,14 @@ package servicedirectorypb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/servicedirectory/apiv1/servicedirectorypb/namespace.pb.go b/servicedirectory/apiv1/servicedirectorypb/namespace.pb.go index 8c74bc4428d0..389a1e123830 100755 --- a/servicedirectory/apiv1/servicedirectorypb/namespace.pb.go +++ b/servicedirectory/apiv1/servicedirectorypb/namespace.pb.go @@ -21,12 +21,11 @@ package servicedirectorypb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/servicedirectory/apiv1/servicedirectorypb/registration_service.pb.go b/servicedirectory/apiv1/servicedirectorypb/registration_service.pb.go index 514c95a20a98..dbd22a43ea6b 100755 --- a/servicedirectory/apiv1/servicedirectorypb/registration_service.pb.go +++ b/servicedirectory/apiv1/servicedirectorypb/registration_service.pb.go @@ -21,11 +21,8 @@ package servicedirectorypb import ( - context "context" - reflect "reflect" - sync "sync" - iampb "cloud.google.com/go/iam/apiv1/iampb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/servicedirectory/apiv1/servicedirectorypb/service.pb.go b/servicedirectory/apiv1/servicedirectorypb/service.pb.go index b63646ef0f93..03b8316cf501 100755 --- a/servicedirectory/apiv1/servicedirectorypb/service.pb.go +++ b/servicedirectory/apiv1/servicedirectorypb/service.pb.go @@ -21,12 +21,11 @@ package servicedirectorypb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/servicedirectory/apiv1beta1/servicedirectorypb/endpoint.pb.go b/servicedirectory/apiv1beta1/servicedirectorypb/endpoint.pb.go index 74ba84c3325d..4bc276efd232 100755 --- a/servicedirectory/apiv1beta1/servicedirectorypb/endpoint.pb.go +++ b/servicedirectory/apiv1beta1/servicedirectorypb/endpoint.pb.go @@ -21,13 +21,12 @@ package servicedirectorypb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/servicedirectory/apiv1beta1/servicedirectorypb/lookup_service.pb.go b/servicedirectory/apiv1beta1/servicedirectorypb/lookup_service.pb.go index cfa218434954..a99324da52c3 100755 --- a/servicedirectory/apiv1beta1/servicedirectorypb/lookup_service.pb.go +++ b/servicedirectory/apiv1beta1/servicedirectorypb/lookup_service.pb.go @@ -22,15 +22,14 @@ package servicedirectorypb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/servicedirectory/apiv1beta1/servicedirectorypb/namespace.pb.go b/servicedirectory/apiv1beta1/servicedirectorypb/namespace.pb.go index 99c8048df472..6e682707bc73 100755 --- a/servicedirectory/apiv1beta1/servicedirectorypb/namespace.pb.go +++ b/servicedirectory/apiv1beta1/servicedirectorypb/namespace.pb.go @@ -21,13 +21,12 @@ package servicedirectorypb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/servicedirectory/apiv1beta1/servicedirectorypb/registration_service.pb.go b/servicedirectory/apiv1beta1/servicedirectorypb/registration_service.pb.go index 167dc0c33006..bd4b50939e68 100755 --- a/servicedirectory/apiv1beta1/servicedirectorypb/registration_service.pb.go +++ b/servicedirectory/apiv1beta1/servicedirectorypb/registration_service.pb.go @@ -21,11 +21,8 @@ package servicedirectorypb import ( - context "context" - reflect "reflect" - sync "sync" - iampb "cloud.google.com/go/iam/apiv1/iampb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/servicedirectory/apiv1beta1/servicedirectorypb/service.pb.go b/servicedirectory/apiv1beta1/servicedirectorypb/service.pb.go index 37aa5f0eb27b..226fe3100fe5 100755 --- a/servicedirectory/apiv1beta1/servicedirectorypb/service.pb.go +++ b/servicedirectory/apiv1beta1/servicedirectorypb/service.pb.go @@ -21,13 +21,12 @@ package servicedirectorypb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/servicehealth/apiv1/servicehealthpb/event_resources.pb.go b/servicehealth/apiv1/servicehealthpb/event_resources.pb.go index 737460527e89..8f6fdbb80c43 100755 --- a/servicehealth/apiv1/servicehealthpb/event_resources.pb.go +++ b/servicehealth/apiv1/servicehealthpb/event_resources.pb.go @@ -21,13 +21,12 @@ package servicehealthpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/servicehealth/apiv1/servicehealthpb/event_service.pb.go b/servicehealth/apiv1/servicehealthpb/event_service.pb.go index 0cc328d7a48f..33c9ad8b8dba 100755 --- a/servicehealth/apiv1/servicehealthpb/event_service.pb.go +++ b/servicehealth/apiv1/servicehealthpb/event_service.pb.go @@ -22,14 +22,13 @@ package servicehealthpb import ( context "context" - reflect "reflect" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" ) const ( diff --git a/servicemanagement/apiv1/servicemanagementpb/resources.pb.go b/servicemanagement/apiv1/servicemanagementpb/resources.pb.go index 70e9caab94b0..e661d0e22bf2 100755 --- a/servicemanagement/apiv1/servicemanagementpb/resources.pb.go +++ b/servicemanagement/apiv1/servicemanagementpb/resources.pb.go @@ -21,14 +21,13 @@ package servicemanagementpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" configchange "google.golang.org/genproto/googleapis/api/configchange" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/servicemanagement/apiv1/servicemanagementpb/servicemanager.pb.go b/servicemanagement/apiv1/servicemanagementpb/servicemanager.pb.go index 8bf80eb57a6c..172cb6c94920 100755 --- a/servicemanagement/apiv1/servicemanagementpb/servicemanager.pb.go +++ b/servicemanagement/apiv1/servicemanagementpb/servicemanager.pb.go @@ -21,11 +21,8 @@ package servicemanagementpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" serviceconfig "google.golang.org/genproto/googleapis/api/serviceconfig" grpc "google.golang.org/grpc" @@ -35,6 +32,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" anypb "google.golang.org/protobuf/types/known/anypb" _ "google.golang.org/protobuf/types/known/emptypb" + reflect "reflect" + sync "sync" ) const ( diff --git a/serviceusage/apiv1/serviceusagepb/resources.pb.go b/serviceusage/apiv1/serviceusagepb/resources.pb.go index 76ba7ff11f72..7a0868e69cde 100755 --- a/serviceusage/apiv1/serviceusagepb/resources.pb.go +++ b/serviceusage/apiv1/serviceusagepb/resources.pb.go @@ -21,15 +21,14 @@ package serviceusagepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" monitoredres "google.golang.org/genproto/googleapis/api/monitoredres" serviceconfig "google.golang.org/genproto/googleapis/api/serviceconfig" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" apipb "google.golang.org/protobuf/types/known/apipb" + reflect "reflect" + sync "sync" ) const ( diff --git a/serviceusage/apiv1/serviceusagepb/serviceusage.pb.go b/serviceusage/apiv1/serviceusagepb/serviceusage.pb.go index d8669c0531d8..c46d19734164 100755 --- a/serviceusage/apiv1/serviceusagepb/serviceusage.pb.go +++ b/serviceusage/apiv1/serviceusagepb/serviceusage.pb.go @@ -21,17 +21,16 @@ package serviceusagepb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/shell/apiv1/auxiliary_go123.go b/shell/apiv1/auxiliary_go123.go index e83d3ff859a0..a9e817849ce5 100755 --- a/shell/apiv1/auxiliary_go123.go +++ b/shell/apiv1/auxiliary_go123.go @@ -17,3 +17,5 @@ //go:build go1.23 package shell + +import () diff --git a/shell/apiv1/cloud_shell_client_example_go123_test.go b/shell/apiv1/cloud_shell_client_example_go123_test.go index 5f9b8552bc90..bf6384fb9b00 100644 --- a/shell/apiv1/cloud_shell_client_example_go123_test.go +++ b/shell/apiv1/cloud_shell_client_example_go123_test.go @@ -17,3 +17,7 @@ //go:build go1.23 package shell_test + +import ( + shell "cloud.google.com/go/shell/apiv1" +) diff --git a/shell/apiv1/shellpb/cloudshell.pb.go b/shell/apiv1/shellpb/cloudshell.pb.go index 7510b896b7a3..1021ae58654b 100755 --- a/shell/apiv1/shellpb/cloudshell.pb.go +++ b/shell/apiv1/shellpb/cloudshell.pb.go @@ -21,11 +21,8 @@ package shellpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/shopping/css/apiv1/css_product_inputs_client_example_go123_test.go b/shopping/css/apiv1/css_product_inputs_client_example_go123_test.go index d2ab853f39c8..2580c91015bf 100644 --- a/shopping/css/apiv1/css_product_inputs_client_example_go123_test.go +++ b/shopping/css/apiv1/css_product_inputs_client_example_go123_test.go @@ -17,3 +17,7 @@ //go:build go1.23 package css_test + +import ( + css "cloud.google.com/go/shopping/css/apiv1" +) diff --git a/shopping/css/apiv1/csspb/accounts.pb.go b/shopping/css/apiv1/csspb/accounts.pb.go index cf5ca4082725..2ee4958ba1a0 100755 --- a/shopping/css/apiv1/csspb/accounts.pb.go +++ b/shopping/css/apiv1/csspb/accounts.pb.go @@ -22,15 +22,14 @@ package csspb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/shopping/css/apiv1/csspb/accounts_labels.pb.go b/shopping/css/apiv1/csspb/accounts_labels.pb.go index 88dbd6656e42..ac9c7c748fe8 100755 --- a/shopping/css/apiv1/csspb/accounts_labels.pb.go +++ b/shopping/css/apiv1/csspb/accounts_labels.pb.go @@ -22,9 +22,6 @@ package csspb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" + reflect "reflect" + sync "sync" ) const ( diff --git a/shopping/css/apiv1/csspb/css_product_common.pb.go b/shopping/css/apiv1/csspb/css_product_common.pb.go index f55c6d43c571..f6dbe8164bb9 100755 --- a/shopping/css/apiv1/csspb/css_product_common.pb.go +++ b/shopping/css/apiv1/csspb/css_product_common.pb.go @@ -21,14 +21,13 @@ package csspb import ( - reflect "reflect" - sync "sync" - typepb "cloud.google.com/go/shopping/type/typepb" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/shopping/css/apiv1/csspb/css_product_inputs.pb.go b/shopping/css/apiv1/csspb/css_product_inputs.pb.go index a65ade2b0453..e8c3ca4ce587 100755 --- a/shopping/css/apiv1/csspb/css_product_inputs.pb.go +++ b/shopping/css/apiv1/csspb/css_product_inputs.pb.go @@ -21,11 +21,8 @@ package csspb import ( - context "context" - reflect "reflect" - sync "sync" - typepb "cloud.google.com/go/shopping/type/typepb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/shopping/css/apiv1/csspb/css_products.pb.go b/shopping/css/apiv1/csspb/css_products.pb.go index 9aef27bbaf19..629644c75cf2 100755 --- a/shopping/css/apiv1/csspb/css_products.pb.go +++ b/shopping/css/apiv1/csspb/css_products.pb.go @@ -21,17 +21,16 @@ package csspb import ( - context "context" - reflect "reflect" - sync "sync" - typepb "cloud.google.com/go/shopping/type/typepb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/shopping/merchant/accounts/apiv1beta/accountspb/accessright.pb.go b/shopping/merchant/accounts/apiv1beta/accountspb/accessright.pb.go index 4f5e19ed26d0..5133735d5702 100755 --- a/shopping/merchant/accounts/apiv1beta/accountspb/accessright.pb.go +++ b/shopping/merchant/accounts/apiv1beta/accountspb/accessright.pb.go @@ -21,11 +21,10 @@ package accountspb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/shopping/merchant/accounts/apiv1beta/accountspb/account_tax.pb.go b/shopping/merchant/accounts/apiv1beta/accountspb/account_tax.pb.go index d6ddf67af9a4..abe8cc083ae8 100755 --- a/shopping/merchant/accounts/apiv1beta/accountspb/account_tax.pb.go +++ b/shopping/merchant/accounts/apiv1beta/accountspb/account_tax.pb.go @@ -22,9 +22,6 @@ package accountspb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/shopping/merchant/accounts/apiv1beta/accountspb/accountissue.pb.go b/shopping/merchant/accounts/apiv1beta/accountspb/accountissue.pb.go index be3acf9b950f..de35c195bae8 100755 --- a/shopping/merchant/accounts/apiv1beta/accountspb/accountissue.pb.go +++ b/shopping/merchant/accounts/apiv1beta/accountspb/accountissue.pb.go @@ -21,17 +21,16 @@ package accountspb import ( - context "context" - reflect "reflect" - sync "sync" - typepb "cloud.google.com/go/shopping/type/typepb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/shopping/merchant/accounts/apiv1beta/accountspb/accounts.pb.go b/shopping/merchant/accounts/apiv1beta/accountspb/accounts.pb.go index 17b02c9b4711..b2c8fedd7c71 100755 --- a/shopping/merchant/accounts/apiv1beta/accountspb/accounts.pb.go +++ b/shopping/merchant/accounts/apiv1beta/accountspb/accounts.pb.go @@ -22,9 +22,6 @@ package accountspb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" datetime "google.golang.org/genproto/googleapis/type/datetime" grpc "google.golang.org/grpc" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/shopping/merchant/accounts/apiv1beta/accountspb/accountservices.pb.go b/shopping/merchant/accounts/apiv1beta/accountspb/accountservices.pb.go index d6f2f974b4c4..5a6be434ec1a 100755 --- a/shopping/merchant/accounts/apiv1beta/accountspb/accountservices.pb.go +++ b/shopping/merchant/accounts/apiv1beta/accountspb/accountservices.pb.go @@ -21,12 +21,11 @@ package accountspb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/shopping/merchant/accounts/apiv1beta/accountspb/autofeedsettings.pb.go b/shopping/merchant/accounts/apiv1beta/accountspb/autofeedsettings.pb.go index 3111e1b418ff..32f290f04988 100755 --- a/shopping/merchant/accounts/apiv1beta/accountspb/autofeedsettings.pb.go +++ b/shopping/merchant/accounts/apiv1beta/accountspb/autofeedsettings.pb.go @@ -22,9 +22,6 @@ package accountspb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/shopping/merchant/accounts/apiv1beta/accountspb/businessidentity.pb.go b/shopping/merchant/accounts/apiv1beta/accountspb/businessidentity.pb.go index 468ddd9795ed..15d1701c062c 100755 --- a/shopping/merchant/accounts/apiv1beta/accountspb/businessidentity.pb.go +++ b/shopping/merchant/accounts/apiv1beta/accountspb/businessidentity.pb.go @@ -22,9 +22,6 @@ package accountspb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/shopping/merchant/accounts/apiv1beta/accountspb/businessinfo.pb.go b/shopping/merchant/accounts/apiv1beta/accountspb/businessinfo.pb.go index a2fe50283785..299a8afbeeef 100755 --- a/shopping/merchant/accounts/apiv1beta/accountspb/businessinfo.pb.go +++ b/shopping/merchant/accounts/apiv1beta/accountspb/businessinfo.pb.go @@ -22,9 +22,6 @@ package accountspb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" phone_number "google.golang.org/genproto/googleapis/type/phone_number" postaladdress "google.golang.org/genproto/googleapis/type/postaladdress" @@ -34,6 +31,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/shopping/merchant/accounts/apiv1beta/accountspb/customerservice.pb.go b/shopping/merchant/accounts/apiv1beta/accountspb/customerservice.pb.go index c0e34f4a8ffe..1cfc15e16396 100755 --- a/shopping/merchant/accounts/apiv1beta/accountspb/customerservice.pb.go +++ b/shopping/merchant/accounts/apiv1beta/accountspb/customerservice.pb.go @@ -21,13 +21,12 @@ package accountspb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" phone_number "google.golang.org/genproto/googleapis/type/phone_number" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/shopping/merchant/accounts/apiv1beta/accountspb/emailpreferences.pb.go b/shopping/merchant/accounts/apiv1beta/accountspb/emailpreferences.pb.go index de74e57f26de..945e638bd50c 100755 --- a/shopping/merchant/accounts/apiv1beta/accountspb/emailpreferences.pb.go +++ b/shopping/merchant/accounts/apiv1beta/accountspb/emailpreferences.pb.go @@ -22,9 +22,6 @@ package accountspb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/shopping/merchant/accounts/apiv1beta/accountspb/homepage.pb.go b/shopping/merchant/accounts/apiv1beta/accountspb/homepage.pb.go index d4fc35f34819..79e182d8859b 100755 --- a/shopping/merchant/accounts/apiv1beta/accountspb/homepage.pb.go +++ b/shopping/merchant/accounts/apiv1beta/accountspb/homepage.pb.go @@ -22,9 +22,6 @@ package accountspb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/shopping/merchant/accounts/apiv1beta/accountspb/online_return_policy.pb.go b/shopping/merchant/accounts/apiv1beta/accountspb/online_return_policy.pb.go index 52cb4d2b7117..d79693f5f88e 100755 --- a/shopping/merchant/accounts/apiv1beta/accountspb/online_return_policy.pb.go +++ b/shopping/merchant/accounts/apiv1beta/accountspb/online_return_policy.pb.go @@ -21,17 +21,16 @@ package accountspb import ( - context "context" - reflect "reflect" - sync "sync" - typepb "cloud.google.com/go/shopping/type/typepb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/shopping/merchant/accounts/apiv1beta/accountspb/phoneverificationstate.pb.go b/shopping/merchant/accounts/apiv1beta/accountspb/phoneverificationstate.pb.go index 7c9c1f191449..0f33678a8857 100755 --- a/shopping/merchant/accounts/apiv1beta/accountspb/phoneverificationstate.pb.go +++ b/shopping/merchant/accounts/apiv1beta/accountspb/phoneverificationstate.pb.go @@ -21,11 +21,10 @@ package accountspb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/shopping/merchant/accounts/apiv1beta/accountspb/programs.pb.go b/shopping/merchant/accounts/apiv1beta/accountspb/programs.pb.go index 2fefcd69d1d6..f9882355eaec 100755 --- a/shopping/merchant/accounts/apiv1beta/accountspb/programs.pb.go +++ b/shopping/merchant/accounts/apiv1beta/accountspb/programs.pb.go @@ -22,15 +22,14 @@ package accountspb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/shopping/merchant/accounts/apiv1beta/accountspb/regions.pb.go b/shopping/merchant/accounts/apiv1beta/accountspb/regions.pb.go index dc859166759a..3631c5a9ccfc 100755 --- a/shopping/merchant/accounts/apiv1beta/accountspb/regions.pb.go +++ b/shopping/merchant/accounts/apiv1beta/accountspb/regions.pb.go @@ -22,9 +22,6 @@ package accountspb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( diff --git a/shopping/merchant/accounts/apiv1beta/accountspb/shippingsettings.pb.go b/shopping/merchant/accounts/apiv1beta/accountspb/shippingsettings.pb.go index d57cf7a1a7bc..121c0df8243c 100755 --- a/shopping/merchant/accounts/apiv1beta/accountspb/shippingsettings.pb.go +++ b/shopping/merchant/accounts/apiv1beta/accountspb/shippingsettings.pb.go @@ -21,17 +21,16 @@ package accountspb import ( - context "context" - reflect "reflect" - sync "sync" - typepb "cloud.google.com/go/shopping/type/typepb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/shopping/merchant/accounts/apiv1beta/accountspb/tax_rule.pb.go b/shopping/merchant/accounts/apiv1beta/accountspb/tax_rule.pb.go index f2ecb39d081c..96df20eb3599 100755 --- a/shopping/merchant/accounts/apiv1beta/accountspb/tax_rule.pb.go +++ b/shopping/merchant/accounts/apiv1beta/accountspb/tax_rule.pb.go @@ -21,13 +21,12 @@ package accountspb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" interval "google.golang.org/genproto/googleapis/type/interval" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/shopping/merchant/accounts/apiv1beta/accountspb/termsofservice.pb.go b/shopping/merchant/accounts/apiv1beta/accountspb/termsofservice.pb.go index be59c2e7cfc0..10c5d63a9ff5 100755 --- a/shopping/merchant/accounts/apiv1beta/accountspb/termsofservice.pb.go +++ b/shopping/merchant/accounts/apiv1beta/accountspb/termsofservice.pb.go @@ -22,9 +22,6 @@ package accountspb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" + reflect "reflect" + sync "sync" ) const ( diff --git a/shopping/merchant/accounts/apiv1beta/accountspb/termsofserviceagreementstate.pb.go b/shopping/merchant/accounts/apiv1beta/accountspb/termsofserviceagreementstate.pb.go index 8845422ced26..526865c82b07 100755 --- a/shopping/merchant/accounts/apiv1beta/accountspb/termsofserviceagreementstate.pb.go +++ b/shopping/merchant/accounts/apiv1beta/accountspb/termsofserviceagreementstate.pb.go @@ -22,9 +22,6 @@ package accountspb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" date "google.golang.org/genproto/googleapis/type/date" grpc "google.golang.org/grpc" @@ -32,6 +29,8 @@ import ( status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/shopping/merchant/accounts/apiv1beta/accountspb/termsofservicekind.pb.go b/shopping/merchant/accounts/apiv1beta/accountspb/termsofservicekind.pb.go index 0ad1cf10dda2..6d73ae739e3c 100755 --- a/shopping/merchant/accounts/apiv1beta/accountspb/termsofservicekind.pb.go +++ b/shopping/merchant/accounts/apiv1beta/accountspb/termsofservicekind.pb.go @@ -21,11 +21,10 @@ package accountspb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/shopping/merchant/accounts/apiv1beta/accountspb/user.pb.go b/shopping/merchant/accounts/apiv1beta/accountspb/user.pb.go index 52add09ffe51..714ac6971597 100755 --- a/shopping/merchant/accounts/apiv1beta/accountspb/user.pb.go +++ b/shopping/merchant/accounts/apiv1beta/accountspb/user.pb.go @@ -22,9 +22,6 @@ package accountspb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/shopping/merchant/accounts/apiv1beta/autofeed_settings_client_example_go123_test.go b/shopping/merchant/accounts/apiv1beta/autofeed_settings_client_example_go123_test.go index 9ab990caf671..b11026282953 100644 --- a/shopping/merchant/accounts/apiv1beta/autofeed_settings_client_example_go123_test.go +++ b/shopping/merchant/accounts/apiv1beta/autofeed_settings_client_example_go123_test.go @@ -17,3 +17,7 @@ //go:build go1.23 package accounts_test + +import ( + accounts "cloud.google.com/go/shopping/merchant/accounts/apiv1beta" +) diff --git a/shopping/merchant/accounts/apiv1beta/business_identity_client_example_go123_test.go b/shopping/merchant/accounts/apiv1beta/business_identity_client_example_go123_test.go index 9ab990caf671..b11026282953 100644 --- a/shopping/merchant/accounts/apiv1beta/business_identity_client_example_go123_test.go +++ b/shopping/merchant/accounts/apiv1beta/business_identity_client_example_go123_test.go @@ -17,3 +17,7 @@ //go:build go1.23 package accounts_test + +import ( + accounts "cloud.google.com/go/shopping/merchant/accounts/apiv1beta" +) diff --git a/shopping/merchant/accounts/apiv1beta/business_info_client_example_go123_test.go b/shopping/merchant/accounts/apiv1beta/business_info_client_example_go123_test.go index 9ab990caf671..b11026282953 100644 --- a/shopping/merchant/accounts/apiv1beta/business_info_client_example_go123_test.go +++ b/shopping/merchant/accounts/apiv1beta/business_info_client_example_go123_test.go @@ -17,3 +17,7 @@ //go:build go1.23 package accounts_test + +import ( + accounts "cloud.google.com/go/shopping/merchant/accounts/apiv1beta" +) diff --git a/shopping/merchant/accounts/apiv1beta/email_preferences_client_example_go123_test.go b/shopping/merchant/accounts/apiv1beta/email_preferences_client_example_go123_test.go index 9ab990caf671..b11026282953 100644 --- a/shopping/merchant/accounts/apiv1beta/email_preferences_client_example_go123_test.go +++ b/shopping/merchant/accounts/apiv1beta/email_preferences_client_example_go123_test.go @@ -17,3 +17,7 @@ //go:build go1.23 package accounts_test + +import ( + accounts "cloud.google.com/go/shopping/merchant/accounts/apiv1beta" +) diff --git a/shopping/merchant/accounts/apiv1beta/homepage_client_example_go123_test.go b/shopping/merchant/accounts/apiv1beta/homepage_client_example_go123_test.go index 9ab990caf671..b11026282953 100644 --- a/shopping/merchant/accounts/apiv1beta/homepage_client_example_go123_test.go +++ b/shopping/merchant/accounts/apiv1beta/homepage_client_example_go123_test.go @@ -17,3 +17,7 @@ //go:build go1.23 package accounts_test + +import ( + accounts "cloud.google.com/go/shopping/merchant/accounts/apiv1beta" +) diff --git a/shopping/merchant/accounts/apiv1beta/shipping_settings_client_example_go123_test.go b/shopping/merchant/accounts/apiv1beta/shipping_settings_client_example_go123_test.go index 9ab990caf671..b11026282953 100644 --- a/shopping/merchant/accounts/apiv1beta/shipping_settings_client_example_go123_test.go +++ b/shopping/merchant/accounts/apiv1beta/shipping_settings_client_example_go123_test.go @@ -17,3 +17,7 @@ //go:build go1.23 package accounts_test + +import ( + accounts "cloud.google.com/go/shopping/merchant/accounts/apiv1beta" +) diff --git a/shopping/merchant/accounts/apiv1beta/terms_of_service_agreement_state_client_example_go123_test.go b/shopping/merchant/accounts/apiv1beta/terms_of_service_agreement_state_client_example_go123_test.go index 9ab990caf671..b11026282953 100644 --- a/shopping/merchant/accounts/apiv1beta/terms_of_service_agreement_state_client_example_go123_test.go +++ b/shopping/merchant/accounts/apiv1beta/terms_of_service_agreement_state_client_example_go123_test.go @@ -17,3 +17,7 @@ //go:build go1.23 package accounts_test + +import ( + accounts "cloud.google.com/go/shopping/merchant/accounts/apiv1beta" +) diff --git a/shopping/merchant/accounts/apiv1beta/terms_of_service_client_example_go123_test.go b/shopping/merchant/accounts/apiv1beta/terms_of_service_client_example_go123_test.go index 9ab990caf671..b11026282953 100644 --- a/shopping/merchant/accounts/apiv1beta/terms_of_service_client_example_go123_test.go +++ b/shopping/merchant/accounts/apiv1beta/terms_of_service_client_example_go123_test.go @@ -17,3 +17,7 @@ //go:build go1.23 package accounts_test + +import ( + accounts "cloud.google.com/go/shopping/merchant/accounts/apiv1beta" +) diff --git a/shopping/merchant/conversions/apiv1beta/conversionspb/conversionsources.pb.go b/shopping/merchant/conversions/apiv1beta/conversionspb/conversionsources.pb.go index ab371b314f0b..9c25326d9e26 100755 --- a/shopping/merchant/conversions/apiv1beta/conversionspb/conversionsources.pb.go +++ b/shopping/merchant/conversions/apiv1beta/conversionspb/conversionsources.pb.go @@ -22,9 +22,6 @@ package conversionspb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/shopping/merchant/datasources/apiv1beta/datasourcespb/datasources.pb.go b/shopping/merchant/datasources/apiv1beta/datasourcespb/datasources.pb.go index 0595c17a1686..6da931ebdfd4 100755 --- a/shopping/merchant/datasources/apiv1beta/datasourcespb/datasources.pb.go +++ b/shopping/merchant/datasources/apiv1beta/datasourcespb/datasources.pb.go @@ -22,9 +22,6 @@ package datasourcespb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/shopping/merchant/datasources/apiv1beta/datasourcespb/datasourcetypes.pb.go b/shopping/merchant/datasources/apiv1beta/datasourcespb/datasourcetypes.pb.go index 94719ff62e00..0a1fa6a6db76 100755 --- a/shopping/merchant/datasources/apiv1beta/datasourcespb/datasourcetypes.pb.go +++ b/shopping/merchant/datasources/apiv1beta/datasourcespb/datasourcetypes.pb.go @@ -21,12 +21,11 @@ package datasourcespb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/shopping/merchant/datasources/apiv1beta/datasourcespb/fileinputs.pb.go b/shopping/merchant/datasources/apiv1beta/datasourcespb/fileinputs.pb.go index fb1a51e44991..f8b252c99af5 100755 --- a/shopping/merchant/datasources/apiv1beta/datasourcespb/fileinputs.pb.go +++ b/shopping/merchant/datasources/apiv1beta/datasourcespb/fileinputs.pb.go @@ -21,14 +21,13 @@ package datasourcespb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" dayofweek "google.golang.org/genproto/googleapis/type/dayofweek" timeofday "google.golang.org/genproto/googleapis/type/timeofday" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/shopping/merchant/datasources/apiv1beta/datasourcespb/fileuploads.pb.go b/shopping/merchant/datasources/apiv1beta/datasourcespb/fileuploads.pb.go index 23fdb854bb10..c80fb4a2de29 100755 --- a/shopping/merchant/datasources/apiv1beta/datasourcespb/fileuploads.pb.go +++ b/shopping/merchant/datasources/apiv1beta/datasourcespb/fileuploads.pb.go @@ -22,9 +22,6 @@ package datasourcespb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/shopping/merchant/datasources/apiv1beta/file_uploads_client_example_go123_test.go b/shopping/merchant/datasources/apiv1beta/file_uploads_client_example_go123_test.go index a28cd3461946..4f8931811ec9 100644 --- a/shopping/merchant/datasources/apiv1beta/file_uploads_client_example_go123_test.go +++ b/shopping/merchant/datasources/apiv1beta/file_uploads_client_example_go123_test.go @@ -17,3 +17,7 @@ //go:build go1.23 package datasources_test + +import ( + datasources "cloud.google.com/go/shopping/merchant/datasources/apiv1beta" +) diff --git a/shopping/merchant/inventories/apiv1beta/inventoriespb/localinventory.pb.go b/shopping/merchant/inventories/apiv1beta/inventoriespb/localinventory.pb.go index cd8e064216e9..a468b8c87a28 100755 --- a/shopping/merchant/inventories/apiv1beta/inventoriespb/localinventory.pb.go +++ b/shopping/merchant/inventories/apiv1beta/inventoriespb/localinventory.pb.go @@ -21,11 +21,8 @@ package inventoriespb import ( - context "context" - reflect "reflect" - sync "sync" - typepb "cloud.google.com/go/shopping/type/typepb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" interval "google.golang.org/genproto/googleapis/type/interval" grpc "google.golang.org/grpc" @@ -34,6 +31,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" + reflect "reflect" + sync "sync" ) const ( diff --git a/shopping/merchant/inventories/apiv1beta/inventoriespb/regionalinventory.pb.go b/shopping/merchant/inventories/apiv1beta/inventoriespb/regionalinventory.pb.go index f9dffeb56398..eee53fcd083b 100755 --- a/shopping/merchant/inventories/apiv1beta/inventoriespb/regionalinventory.pb.go +++ b/shopping/merchant/inventories/apiv1beta/inventoriespb/regionalinventory.pb.go @@ -21,11 +21,8 @@ package inventoriespb import ( - context "context" - reflect "reflect" - sync "sync" - typepb "cloud.google.com/go/shopping/type/typepb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" interval "google.golang.org/genproto/googleapis/type/interval" grpc "google.golang.org/grpc" @@ -34,6 +31,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" + reflect "reflect" + sync "sync" ) const ( diff --git a/shopping/merchant/lfp/apiv1beta/lfp_inventory_client_example_go123_test.go b/shopping/merchant/lfp/apiv1beta/lfp_inventory_client_example_go123_test.go index 1e426e433903..5e00d1f9201c 100644 --- a/shopping/merchant/lfp/apiv1beta/lfp_inventory_client_example_go123_test.go +++ b/shopping/merchant/lfp/apiv1beta/lfp_inventory_client_example_go123_test.go @@ -17,3 +17,7 @@ //go:build go1.23 package lfp_test + +import ( + lfp "cloud.google.com/go/shopping/merchant/lfp/apiv1beta" +) diff --git a/shopping/merchant/lfp/apiv1beta/lfp_sale_client_example_go123_test.go b/shopping/merchant/lfp/apiv1beta/lfp_sale_client_example_go123_test.go index 1e426e433903..5e00d1f9201c 100644 --- a/shopping/merchant/lfp/apiv1beta/lfp_sale_client_example_go123_test.go +++ b/shopping/merchant/lfp/apiv1beta/lfp_sale_client_example_go123_test.go @@ -17,3 +17,7 @@ //go:build go1.23 package lfp_test + +import ( + lfp "cloud.google.com/go/shopping/merchant/lfp/apiv1beta" +) diff --git a/shopping/merchant/lfp/apiv1beta/lfppb/lfpinventory.pb.go b/shopping/merchant/lfp/apiv1beta/lfppb/lfpinventory.pb.go index 68cedc6a51ce..914c62312e97 100755 --- a/shopping/merchant/lfp/apiv1beta/lfppb/lfpinventory.pb.go +++ b/shopping/merchant/lfp/apiv1beta/lfppb/lfpinventory.pb.go @@ -21,11 +21,8 @@ package lfppb import ( - context "context" - reflect "reflect" - sync "sync" - typepb "cloud.google.com/go/shopping/type/typepb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/shopping/merchant/lfp/apiv1beta/lfppb/lfpsale.pb.go b/shopping/merchant/lfp/apiv1beta/lfppb/lfpsale.pb.go index 6aeda7a84ad1..ae13620d0f80 100755 --- a/shopping/merchant/lfp/apiv1beta/lfppb/lfpsale.pb.go +++ b/shopping/merchant/lfp/apiv1beta/lfppb/lfpsale.pb.go @@ -21,11 +21,8 @@ package lfppb import ( - context "context" - reflect "reflect" - sync "sync" - typepb "cloud.google.com/go/shopping/type/typepb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/shopping/merchant/lfp/apiv1beta/lfppb/lfpstore.pb.go b/shopping/merchant/lfp/apiv1beta/lfppb/lfpstore.pb.go index 96b5d4a139ec..6032a0571c68 100755 --- a/shopping/merchant/lfp/apiv1beta/lfppb/lfpstore.pb.go +++ b/shopping/merchant/lfp/apiv1beta/lfppb/lfpstore.pb.go @@ -22,9 +22,6 @@ package lfppb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" + reflect "reflect" + sync "sync" ) const ( diff --git a/shopping/merchant/notifications/apiv1beta/notificationspb/notificationsapi.pb.go b/shopping/merchant/notifications/apiv1beta/notificationspb/notificationsapi.pb.go index b068031c632d..19478bbbef4c 100755 --- a/shopping/merchant/notifications/apiv1beta/notificationspb/notificationsapi.pb.go +++ b/shopping/merchant/notifications/apiv1beta/notificationspb/notificationsapi.pb.go @@ -21,11 +21,8 @@ package notificationspb import ( - context "context" - reflect "reflect" - sync "sync" - typepb "cloud.google.com/go/shopping/type/typepb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/shopping/merchant/products/apiv1beta/product_inputs_client_example_go123_test.go b/shopping/merchant/products/apiv1beta/product_inputs_client_example_go123_test.go index fff5464b4fd5..237b1fd71410 100644 --- a/shopping/merchant/products/apiv1beta/product_inputs_client_example_go123_test.go +++ b/shopping/merchant/products/apiv1beta/product_inputs_client_example_go123_test.go @@ -17,3 +17,7 @@ //go:build go1.23 package products_test + +import ( + products "cloud.google.com/go/shopping/merchant/products/apiv1beta" +) diff --git a/shopping/merchant/products/apiv1beta/productspb/productinputs.pb.go b/shopping/merchant/products/apiv1beta/productspb/productinputs.pb.go index 5738452847f0..4961988d3c60 100755 --- a/shopping/merchant/products/apiv1beta/productspb/productinputs.pb.go +++ b/shopping/merchant/products/apiv1beta/productspb/productinputs.pb.go @@ -21,11 +21,8 @@ package productspb import ( - context "context" - reflect "reflect" - sync "sync" - typepb "cloud.google.com/go/shopping/type/typepb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" + reflect "reflect" + sync "sync" ) const ( diff --git a/shopping/merchant/products/apiv1beta/productspb/products.pb.go b/shopping/merchant/products/apiv1beta/productspb/products.pb.go index a4c3e88f75c9..35175ccad807 100755 --- a/shopping/merchant/products/apiv1beta/productspb/products.pb.go +++ b/shopping/merchant/products/apiv1beta/productspb/products.pb.go @@ -21,17 +21,16 @@ package productspb import ( - context "context" - reflect "reflect" - sync "sync" - typepb "cloud.google.com/go/shopping/type/typepb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/shopping/merchant/products/apiv1beta/productspb/products_common.pb.go b/shopping/merchant/products/apiv1beta/productspb/products_common.pb.go index be870563e6df..1dca531385c7 100755 --- a/shopping/merchant/products/apiv1beta/productspb/products_common.pb.go +++ b/shopping/merchant/products/apiv1beta/productspb/products_common.pb.go @@ -21,15 +21,14 @@ package productspb import ( - reflect "reflect" - sync "sync" - typepb "cloud.google.com/go/shopping/type/typepb" _ "google.golang.org/genproto/googleapis/api/annotations" interval "google.golang.org/genproto/googleapis/type/interval" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/shopping/merchant/promotions/apiv1beta/promotionspb/promotions.pb.go b/shopping/merchant/promotions/apiv1beta/promotionspb/promotions.pb.go index 7f3f31d599bd..1910f22bc7ab 100755 --- a/shopping/merchant/promotions/apiv1beta/promotionspb/promotions.pb.go +++ b/shopping/merchant/promotions/apiv1beta/promotionspb/promotions.pb.go @@ -21,17 +21,16 @@ package promotionspb import ( - context "context" - reflect "reflect" - sync "sync" - typepb "cloud.google.com/go/shopping/type/typepb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/shopping/merchant/promotions/apiv1beta/promotionspb/promotions_common.pb.go b/shopping/merchant/promotions/apiv1beta/promotionspb/promotions_common.pb.go index 22a863f28628..b6598a47a163 100755 --- a/shopping/merchant/promotions/apiv1beta/promotionspb/promotions_common.pb.go +++ b/shopping/merchant/promotions/apiv1beta/promotionspb/promotions_common.pb.go @@ -21,15 +21,14 @@ package promotionspb import ( - reflect "reflect" - sync "sync" - typepb "cloud.google.com/go/shopping/type/typepb" _ "google.golang.org/genproto/googleapis/api/annotations" interval "google.golang.org/genproto/googleapis/type/interval" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/shopping/merchant/quota/apiv1beta/quotapb/quota.pb.go b/shopping/merchant/quota/apiv1beta/quotapb/quota.pb.go index db3eba250271..5cc620e67606 100755 --- a/shopping/merchant/quota/apiv1beta/quotapb/quota.pb.go +++ b/shopping/merchant/quota/apiv1beta/quotapb/quota.pb.go @@ -22,15 +22,14 @@ package quotapb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/shopping/merchant/reports/apiv1beta/reportspb/reports.pb.go b/shopping/merchant/reports/apiv1beta/reportspb/reports.pb.go index 4b9788cf9a3b..05b19d5f9813 100755 --- a/shopping/merchant/reports/apiv1beta/reportspb/reports.pb.go +++ b/shopping/merchant/reports/apiv1beta/reportspb/reports.pb.go @@ -21,11 +21,8 @@ package reportspb import ( - context "context" - reflect "reflect" - sync "sync" - typepb "cloud.google.com/go/shopping/type/typepb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" date "google.golang.org/genproto/googleapis/type/date" grpc "google.golang.org/grpc" @@ -34,6 +31,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/shopping/type/typepb/types.pb.go b/shopping/type/typepb/types.pb.go index f9cdfa60de61..a594f10fad13 100755 --- a/shopping/type/typepb/types.pb.go +++ b/shopping/type/typepb/types.pb.go @@ -21,11 +21,10 @@ package typepb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/spanner/admin/database/apiv1/databasepb/backup.pb.go b/spanner/admin/database/apiv1/databasepb/backup.pb.go index 7a5db895c507..74721feacea8 100755 --- a/spanner/admin/database/apiv1/databasepb/backup.pb.go +++ b/spanner/admin/database/apiv1/databasepb/backup.pb.go @@ -21,15 +21,14 @@ package databasepb import ( - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/spanner/admin/database/apiv1/databasepb/backup_schedule.pb.go b/spanner/admin/database/apiv1/databasepb/backup_schedule.pb.go index fd7ca6b0dc38..093f89de8e0f 100755 --- a/spanner/admin/database/apiv1/databasepb/backup_schedule.pb.go +++ b/spanner/admin/database/apiv1/databasepb/backup_schedule.pb.go @@ -21,15 +21,14 @@ package databasepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/spanner/admin/database/apiv1/databasepb/common.pb.go b/spanner/admin/database/apiv1/databasepb/common.pb.go index ba93d9a2640e..787b25486d55 100755 --- a/spanner/admin/database/apiv1/databasepb/common.pb.go +++ b/spanner/admin/database/apiv1/databasepb/common.pb.go @@ -21,14 +21,13 @@ package databasepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/spanner/admin/database/apiv1/databasepb/spanner_database_admin.pb.go b/spanner/admin/database/apiv1/databasepb/spanner_database_admin.pb.go index 2be6d9793862..23bb55a0321b 100755 --- a/spanner/admin/database/apiv1/databasepb/spanner_database_admin.pb.go +++ b/spanner/admin/database/apiv1/databasepb/spanner_database_admin.pb.go @@ -21,12 +21,9 @@ package databasepb import ( - context "context" - reflect "reflect" - sync "sync" - iampb "cloud.google.com/go/iam/apiv1/iampb" longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -36,6 +33,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/spanner/admin/instance/apiv1/instancepb/common.pb.go b/spanner/admin/instance/apiv1/instancepb/common.pb.go index 1732d5dff251..3573a8463ccc 100755 --- a/spanner/admin/instance/apiv1/instancepb/common.pb.go +++ b/spanner/admin/instance/apiv1/instancepb/common.pb.go @@ -21,13 +21,12 @@ package instancepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/spanner/admin/instance/apiv1/instancepb/spanner_instance_admin.pb.go b/spanner/admin/instance/apiv1/instancepb/spanner_instance_admin.pb.go index a740a0bea613..a20be0d57948 100755 --- a/spanner/admin/instance/apiv1/instancepb/spanner_instance_admin.pb.go +++ b/spanner/admin/instance/apiv1/instancepb/spanner_instance_admin.pb.go @@ -21,12 +21,9 @@ package instancepb import ( - context "context" - reflect "reflect" - sync "sync" - iampb "cloud.google.com/go/iam/apiv1/iampb" longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -36,6 +33,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/spanner/apiv1/spannerpb/commit_response.pb.go b/spanner/apiv1/spannerpb/commit_response.pb.go index e00682f5f9d9..e1c34cd56e8e 100755 --- a/spanner/apiv1/spannerpb/commit_response.pb.go +++ b/spanner/apiv1/spannerpb/commit_response.pb.go @@ -21,12 +21,11 @@ package spannerpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/spanner/apiv1/spannerpb/keys.pb.go b/spanner/apiv1/spannerpb/keys.pb.go index 0cfb01a438f5..15cc5d6b5546 100755 --- a/spanner/apiv1/spannerpb/keys.pb.go +++ b/spanner/apiv1/spannerpb/keys.pb.go @@ -21,12 +21,11 @@ package spannerpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/spanner/apiv1/spannerpb/mutation.pb.go b/spanner/apiv1/spannerpb/mutation.pb.go index bdbbac3727df..4826940ccdc4 100755 --- a/spanner/apiv1/spannerpb/mutation.pb.go +++ b/spanner/apiv1/spannerpb/mutation.pb.go @@ -21,13 +21,12 @@ package spannerpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/spanner/apiv1/spannerpb/query_plan.pb.go b/spanner/apiv1/spannerpb/query_plan.pb.go index fe4411080c87..dcc15ac4e22c 100755 --- a/spanner/apiv1/spannerpb/query_plan.pb.go +++ b/spanner/apiv1/spannerpb/query_plan.pb.go @@ -21,12 +21,11 @@ package spannerpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/spanner/apiv1/spannerpb/result_set.pb.go b/spanner/apiv1/spannerpb/result_set.pb.go index fde7637ddb91..2bdca1b4d079 100755 --- a/spanner/apiv1/spannerpb/result_set.pb.go +++ b/spanner/apiv1/spannerpb/result_set.pb.go @@ -21,13 +21,12 @@ package spannerpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/spanner/apiv1/spannerpb/spanner.pb.go b/spanner/apiv1/spannerpb/spanner.pb.go index d6c4b6bea36d..340ef7629627 100755 --- a/spanner/apiv1/spannerpb/spanner.pb.go +++ b/spanner/apiv1/spannerpb/spanner.pb.go @@ -22,9 +22,6 @@ package spannerpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -36,6 +33,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( @@ -1430,11 +1429,11 @@ func (x *ExecuteBatchDmlRequest) GetRequestOptions() *RequestOptions { // 1. Check the status in the response message. The // [google.rpc.Code][google.rpc.Code] enum // -// value `OK` indicates that all statements were executed successfully. -// 2. If the status was not `OK`, check the number of result sets in the -// response. If the response contains `N` -// [ResultSet][google.spanner.v1.ResultSet] messages, then statement `N+1` in -// the request failed. +// value `OK` indicates that all statements were executed successfully. +// 2. If the status was not `OK`, check the number of result sets in the +// response. If the response contains `N` +// [ResultSet][google.spanner.v1.ResultSet] messages, then statement `N+1` in +// the request failed. // // Example 1: // diff --git a/spanner/apiv1/spannerpb/transaction.pb.go b/spanner/apiv1/spannerpb/transaction.pb.go index b5a967000a18..19c48e6bc931 100755 --- a/spanner/apiv1/spannerpb/transaction.pb.go +++ b/spanner/apiv1/spannerpb/transaction.pb.go @@ -21,14 +21,13 @@ package spannerpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/spanner/apiv1/spannerpb/type.pb.go b/spanner/apiv1/spannerpb/type.pb.go index 24959b84c241..90dc6817ae8d 100755 --- a/spanner/apiv1/spannerpb/type.pb.go +++ b/spanner/apiv1/spannerpb/type.pb.go @@ -21,12 +21,11 @@ package spannerpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/spanner/executor/apiv1/auxiliary.go b/spanner/executor/apiv1/auxiliary.go index eeadeec990dd..85febbc0c06b 100755 --- a/spanner/executor/apiv1/auxiliary.go +++ b/spanner/executor/apiv1/auxiliary.go @@ -15,3 +15,5 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package executor + +import () diff --git a/spanner/executor/apiv1/auxiliary_go123.go b/spanner/executor/apiv1/auxiliary_go123.go index dc9e0ab096e6..f8c71ce325f6 100755 --- a/spanner/executor/apiv1/auxiliary_go123.go +++ b/spanner/executor/apiv1/auxiliary_go123.go @@ -17,3 +17,5 @@ //go:build go1.23 package executor + +import () diff --git a/spanner/executor/apiv1/executorpb/cloud_executor.pb.go b/spanner/executor/apiv1/executorpb/cloud_executor.pb.go index e40db47eaf3c..9d3a1510869b 100755 --- a/spanner/executor/apiv1/executorpb/cloud_executor.pb.go +++ b/spanner/executor/apiv1/executorpb/cloud_executor.pb.go @@ -21,14 +21,11 @@ package executorpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" databasepb "cloud.google.com/go/spanner/admin/database/apiv1/databasepb" instancepb "cloud.google.com/go/spanner/admin/instance/apiv1/instancepb" spannerpb "cloud.google.com/go/spanner/apiv1/spannerpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -37,6 +34,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/spanner/executor/apiv1/spanner_executor_proxy_client_example_go123_test.go b/spanner/executor/apiv1/spanner_executor_proxy_client_example_go123_test.go index 1157050ce115..6daa2d49ee65 100644 --- a/spanner/executor/apiv1/spanner_executor_proxy_client_example_go123_test.go +++ b/spanner/executor/apiv1/spanner_executor_proxy_client_example_go123_test.go @@ -17,3 +17,7 @@ //go:build go1.23 package executor_test + +import ( + executor "cloud.google.com/go/spanner/executor/apiv1" +) diff --git a/speech/apiv1/speechpb/cloud_speech.pb.go b/speech/apiv1/speechpb/cloud_speech.pb.go index 1b8da01a5c21..011f61c94e84 100755 --- a/speech/apiv1/speechpb/cloud_speech.pb.go +++ b/speech/apiv1/speechpb/cloud_speech.pb.go @@ -21,11 +21,8 @@ package speechpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -36,6 +33,8 @@ import ( durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( diff --git a/speech/apiv1/speechpb/cloud_speech_adaptation.pb.go b/speech/apiv1/speechpb/cloud_speech_adaptation.pb.go index e7803b51318a..8a5350c969a7 100755 --- a/speech/apiv1/speechpb/cloud_speech_adaptation.pb.go +++ b/speech/apiv1/speechpb/cloud_speech_adaptation.pb.go @@ -22,9 +22,6 @@ package speechpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/speech/apiv1/speechpb/resource.pb.go b/speech/apiv1/speechpb/resource.pb.go index 38c9bff1e870..0bde14bcb351 100755 --- a/speech/apiv1/speechpb/resource.pb.go +++ b/speech/apiv1/speechpb/resource.pb.go @@ -21,12 +21,11 @@ package speechpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/speech/apiv1p1beta1/speechpb/cloud_speech.pb.go b/speech/apiv1p1beta1/speechpb/cloud_speech.pb.go index 9a968d85afda..7e4de06ddc39 100755 --- a/speech/apiv1p1beta1/speechpb/cloud_speech.pb.go +++ b/speech/apiv1p1beta1/speechpb/cloud_speech.pb.go @@ -21,11 +21,8 @@ package speechpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -36,6 +33,8 @@ import ( durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( diff --git a/speech/apiv1p1beta1/speechpb/cloud_speech_adaptation.pb.go b/speech/apiv1p1beta1/speechpb/cloud_speech_adaptation.pb.go index b5a138d08bcc..11b146952071 100755 --- a/speech/apiv1p1beta1/speechpb/cloud_speech_adaptation.pb.go +++ b/speech/apiv1p1beta1/speechpb/cloud_speech_adaptation.pb.go @@ -22,9 +22,6 @@ package speechpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/speech/apiv1p1beta1/speechpb/resource.pb.go b/speech/apiv1p1beta1/speechpb/resource.pb.go index 50926a724c39..f04bcae01bb6 100755 --- a/speech/apiv1p1beta1/speechpb/resource.pb.go +++ b/speech/apiv1p1beta1/speechpb/resource.pb.go @@ -21,12 +21,11 @@ package speechpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/speech/apiv2/speechpb/cloud_speech.pb.go b/speech/apiv2/speechpb/cloud_speech.pb.go index bf2552c4ac64..7e80f5d5a102 100755 --- a/speech/apiv2/speechpb/cloud_speech.pb.go +++ b/speech/apiv2/speechpb/cloud_speech.pb.go @@ -21,11 +21,8 @@ package speechpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -36,6 +33,8 @@ import ( durationpb "google.golang.org/protobuf/types/known/durationpb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/speech/apiv2/speechpb/locations_metadata.pb.go b/speech/apiv2/speechpb/locations_metadata.pb.go index 4e23385c8b1f..85dd331540dd 100755 --- a/speech/apiv2/speechpb/locations_metadata.pb.go +++ b/speech/apiv2/speechpb/locations_metadata.pb.go @@ -21,11 +21,10 @@ package speechpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/storage/control/apiv2/controlpb/storage_control.pb.go b/storage/control/apiv2/controlpb/storage_control.pb.go index c885f6ab9519..616ff2a2c2b1 100755 --- a/storage/control/apiv2/controlpb/storage_control.pb.go +++ b/storage/control/apiv2/controlpb/storage_control.pb.go @@ -21,11 +21,8 @@ package controlpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/storage/internal/apiv2/storagepb/storage.pb.go b/storage/internal/apiv2/storagepb/storage.pb.go index 349200cfc814..9f89f12501d4 100755 --- a/storage/internal/apiv2/storagepb/storage.pb.go +++ b/storage/internal/apiv2/storagepb/storage.pb.go @@ -21,11 +21,8 @@ package storagepb import ( - context "context" - reflect "reflect" - sync "sync" - iampb "cloud.google.com/go/iam/apiv1/iampb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" date "google.golang.org/genproto/googleapis/type/date" grpc "google.golang.org/grpc" @@ -37,6 +34,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/storageinsights/apiv1/storageinsightspb/storageinsights.pb.go b/storageinsights/apiv1/storageinsightspb/storageinsights.pb.go index 5352353374ce..9b9b6d262506 100755 --- a/storageinsights/apiv1/storageinsightspb/storageinsights.pb.go +++ b/storageinsights/apiv1/storageinsightspb/storageinsights.pb.go @@ -22,9 +22,6 @@ package storageinsightspb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" date "google.golang.org/genproto/googleapis/type/date" @@ -37,6 +34,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/storagetransfer/apiv1/storagetransferpb/transfer.pb.go b/storagetransfer/apiv1/storagetransferpb/transfer.pb.go index 31b750dd52cb..6d21a90bdad9 100755 --- a/storagetransfer/apiv1/storagetransferpb/transfer.pb.go +++ b/storagetransfer/apiv1/storagetransferpb/transfer.pb.go @@ -21,11 +21,8 @@ package storagetransferpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/storagetransfer/apiv1/storagetransferpb/transfer_types.pb.go b/storagetransfer/apiv1/storagetransferpb/transfer_types.pb.go index 8e6684c549f0..135120825eb4 100755 --- a/storagetransfer/apiv1/storagetransferpb/transfer_types.pb.go +++ b/storagetransfer/apiv1/storagetransferpb/transfer_types.pb.go @@ -21,9 +21,6 @@ package storagetransferpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" code "google.golang.org/genproto/googleapis/rpc/code" date "google.golang.org/genproto/googleapis/type/date" @@ -32,6 +29,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/streetview/publish/apiv1/publishpb/resources.pb.go b/streetview/publish/apiv1/publishpb/resources.pb.go index 82efc69010c2..fae4726c67dd 100755 --- a/streetview/publish/apiv1/publishpb/resources.pb.go +++ b/streetview/publish/apiv1/publishpb/resources.pb.go @@ -21,15 +21,14 @@ package publishpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" latlng "google.golang.org/genproto/googleapis/type/latlng" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/streetview/publish/apiv1/publishpb/rpcmessages.pb.go b/streetview/publish/apiv1/publishpb/rpcmessages.pb.go index 9e8b5e756d9e..b093b7f67540 100755 --- a/streetview/publish/apiv1/publishpb/rpcmessages.pb.go +++ b/streetview/publish/apiv1/publishpb/rpcmessages.pb.go @@ -21,15 +21,14 @@ package publishpb import ( - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/streetview/publish/apiv1/publishpb/streetview_publish.pb.go b/streetview/publish/apiv1/publishpb/streetview_publish.pb.go index fd3c44d752d0..e6951a244463 100755 --- a/streetview/publish/apiv1/publishpb/streetview_publish.pb.go +++ b/streetview/publish/apiv1/publishpb/streetview_publish.pb.go @@ -21,10 +21,8 @@ package publishpb import ( - context "context" - reflect "reflect" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +30,7 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" + reflect "reflect" ) const ( diff --git a/support/apiv2/supportpb/actor.pb.go b/support/apiv2/supportpb/actor.pb.go index fc7f46ecfc7e..b72555af8e33 100755 --- a/support/apiv2/supportpb/actor.pb.go +++ b/support/apiv2/supportpb/actor.pb.go @@ -21,12 +21,11 @@ package supportpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/support/apiv2/supportpb/attachment.pb.go b/support/apiv2/supportpb/attachment.pb.go index ca7cc9312cc6..2eec97e33a46 100755 --- a/support/apiv2/supportpb/attachment.pb.go +++ b/support/apiv2/supportpb/attachment.pb.go @@ -21,13 +21,12 @@ package supportpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/support/apiv2/supportpb/attachment_service.pb.go b/support/apiv2/supportpb/attachment_service.pb.go index 21eea8c07cda..66e36e70164f 100755 --- a/support/apiv2/supportpb/attachment_service.pb.go +++ b/support/apiv2/supportpb/attachment_service.pb.go @@ -22,15 +22,14 @@ package supportpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/support/apiv2/supportpb/case.pb.go b/support/apiv2/supportpb/case.pb.go index e18fbdc74de2..7e6c45820220 100755 --- a/support/apiv2/supportpb/case.pb.go +++ b/support/apiv2/supportpb/case.pb.go @@ -21,13 +21,12 @@ package supportpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/support/apiv2/supportpb/case_service.pb.go b/support/apiv2/supportpb/case_service.pb.go index adba6f984489..ee25735d6185 100755 --- a/support/apiv2/supportpb/case_service.pb.go +++ b/support/apiv2/supportpb/case_service.pb.go @@ -22,9 +22,6 @@ package supportpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/support/apiv2/supportpb/comment.pb.go b/support/apiv2/supportpb/comment.pb.go index afb628eb808b..b9c0be1e4cf4 100755 --- a/support/apiv2/supportpb/comment.pb.go +++ b/support/apiv2/supportpb/comment.pb.go @@ -21,13 +21,12 @@ package supportpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/support/apiv2/supportpb/comment_service.pb.go b/support/apiv2/supportpb/comment_service.pb.go index bed1145edaba..068318f18c8a 100755 --- a/support/apiv2/supportpb/comment_service.pb.go +++ b/support/apiv2/supportpb/comment_service.pb.go @@ -22,15 +22,14 @@ package supportpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/support/apiv2/supportpb/escalation.pb.go b/support/apiv2/supportpb/escalation.pb.go index d845e10914a7..911b9314e053 100755 --- a/support/apiv2/supportpb/escalation.pb.go +++ b/support/apiv2/supportpb/escalation.pb.go @@ -21,12 +21,11 @@ package supportpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/talent/apiv4/completion_client_example_go123_test.go b/talent/apiv4/completion_client_example_go123_test.go index 7807f95d0b8f..3dcabf14fe13 100644 --- a/talent/apiv4/completion_client_example_go123_test.go +++ b/talent/apiv4/completion_client_example_go123_test.go @@ -17,3 +17,7 @@ //go:build go1.23 package talent_test + +import ( + talent "cloud.google.com/go/talent/apiv4" +) diff --git a/talent/apiv4/event_client_example_go123_test.go b/talent/apiv4/event_client_example_go123_test.go index 7807f95d0b8f..3dcabf14fe13 100644 --- a/talent/apiv4/event_client_example_go123_test.go +++ b/talent/apiv4/event_client_example_go123_test.go @@ -17,3 +17,7 @@ //go:build go1.23 package talent_test + +import ( + talent "cloud.google.com/go/talent/apiv4" +) diff --git a/talent/apiv4/talentpb/common.pb.go b/talent/apiv4/talentpb/common.pb.go index fa31a830502f..b10f14c7cb08 100755 --- a/talent/apiv4/talentpb/common.pb.go +++ b/talent/apiv4/talentpb/common.pb.go @@ -21,9 +21,6 @@ package talentpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" latlng "google.golang.org/genproto/googleapis/type/latlng" money "google.golang.org/genproto/googleapis/type/money" @@ -32,6 +29,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( diff --git a/talent/apiv4/talentpb/company.pb.go b/talent/apiv4/talentpb/company.pb.go index fcf9e6378ecf..f53d9b38b2cf 100755 --- a/talent/apiv4/talentpb/company.pb.go +++ b/talent/apiv4/talentpb/company.pb.go @@ -21,12 +21,11 @@ package talentpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/talent/apiv4/talentpb/company_service.pb.go b/talent/apiv4/talentpb/company_service.pb.go index 0b23d359d5ae..59c887cf92ec 100755 --- a/talent/apiv4/talentpb/company_service.pb.go +++ b/talent/apiv4/talentpb/company_service.pb.go @@ -22,9 +22,6 @@ package talentpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/talent/apiv4/talentpb/completion_service.pb.go b/talent/apiv4/talentpb/completion_service.pb.go index be6fe0a8b981..a5014da165d2 100755 --- a/talent/apiv4/talentpb/completion_service.pb.go +++ b/talent/apiv4/talentpb/completion_service.pb.go @@ -22,15 +22,14 @@ package talentpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/talent/apiv4/talentpb/event.pb.go b/talent/apiv4/talentpb/event.pb.go index d89c68843f87..a14466f4886e 100755 --- a/talent/apiv4/talentpb/event.pb.go +++ b/talent/apiv4/talentpb/event.pb.go @@ -21,13 +21,12 @@ package talentpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/talent/apiv4/talentpb/event_service.pb.go b/talent/apiv4/talentpb/event_service.pb.go index 9f4adaf791f0..0a4522e42db8 100755 --- a/talent/apiv4/talentpb/event_service.pb.go +++ b/talent/apiv4/talentpb/event_service.pb.go @@ -22,15 +22,14 @@ package talentpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/talent/apiv4/talentpb/filters.pb.go b/talent/apiv4/talentpb/filters.pb.go index 5ac26f6f8d35..fc8674eb8ea9 100755 --- a/talent/apiv4/talentpb/filters.pb.go +++ b/talent/apiv4/talentpb/filters.pb.go @@ -21,15 +21,14 @@ package talentpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" latlng "google.golang.org/genproto/googleapis/type/latlng" timeofday "google.golang.org/genproto/googleapis/type/timeofday" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/talent/apiv4/talentpb/histogram.pb.go b/talent/apiv4/talentpb/histogram.pb.go index 48ff18a5dc88..fbbf783fa55a 100755 --- a/talent/apiv4/talentpb/histogram.pb.go +++ b/talent/apiv4/talentpb/histogram.pb.go @@ -21,11 +21,10 @@ package talentpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/talent/apiv4/talentpb/job.pb.go b/talent/apiv4/talentpb/job.pb.go index 6d3551da3a32..7e000a0679d9 100755 --- a/talent/apiv4/talentpb/job.pb.go +++ b/talent/apiv4/talentpb/job.pb.go @@ -21,13 +21,12 @@ package talentpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/talent/apiv4/talentpb/job_service.pb.go b/talent/apiv4/talentpb/job_service.pb.go index 820810be05b7..4a3e5cf81352 100755 --- a/talent/apiv4/talentpb/job_service.pb.go +++ b/talent/apiv4/talentpb/job_service.pb.go @@ -21,11 +21,8 @@ package talentpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -36,6 +33,8 @@ import ( durationpb "google.golang.org/protobuf/types/known/durationpb" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/talent/apiv4/talentpb/tenant.pb.go b/talent/apiv4/talentpb/tenant.pb.go index 4229802b1f22..cb73956e279e 100755 --- a/talent/apiv4/talentpb/tenant.pb.go +++ b/talent/apiv4/talentpb/tenant.pb.go @@ -21,12 +21,11 @@ package talentpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/talent/apiv4/talentpb/tenant_service.pb.go b/talent/apiv4/talentpb/tenant_service.pb.go index ae152dc4fecb..07475efb7f6e 100755 --- a/talent/apiv4/talentpb/tenant_service.pb.go +++ b/talent/apiv4/talentpb/tenant_service.pb.go @@ -22,9 +22,6 @@ package talentpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/talent/apiv4beta1/completion_client_example_go123_test.go b/talent/apiv4beta1/completion_client_example_go123_test.go index 7807f95d0b8f..96969d8b718c 100644 --- a/talent/apiv4beta1/completion_client_example_go123_test.go +++ b/talent/apiv4beta1/completion_client_example_go123_test.go @@ -17,3 +17,7 @@ //go:build go1.23 package talent_test + +import ( + talent "cloud.google.com/go/talent/apiv4beta1" +) diff --git a/talent/apiv4beta1/event_client_example_go123_test.go b/talent/apiv4beta1/event_client_example_go123_test.go index 7807f95d0b8f..96969d8b718c 100644 --- a/talent/apiv4beta1/event_client_example_go123_test.go +++ b/talent/apiv4beta1/event_client_example_go123_test.go @@ -17,3 +17,7 @@ //go:build go1.23 package talent_test + +import ( + talent "cloud.google.com/go/talent/apiv4beta1" +) diff --git a/talent/apiv4beta1/talentpb/batch.pb.go b/talent/apiv4beta1/talentpb/batch.pb.go index 5e442f75e16d..b3849d04d0cf 100755 --- a/talent/apiv4beta1/talentpb/batch.pb.go +++ b/talent/apiv4beta1/talentpb/batch.pb.go @@ -21,10 +21,9 @@ package talentpb import ( - reflect "reflect" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" ) const ( diff --git a/talent/apiv4beta1/talentpb/common.pb.go b/talent/apiv4beta1/talentpb/common.pb.go index f9470d49df35..ae384e23c87c 100755 --- a/talent/apiv4beta1/talentpb/common.pb.go +++ b/talent/apiv4beta1/talentpb/common.pb.go @@ -21,9 +21,6 @@ package talentpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" latlng "google.golang.org/genproto/googleapis/type/latlng" money "google.golang.org/genproto/googleapis/type/money" @@ -32,6 +29,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( diff --git a/talent/apiv4beta1/talentpb/company.pb.go b/talent/apiv4beta1/talentpb/company.pb.go index 01e1e13a6645..a114eef72548 100755 --- a/talent/apiv4beta1/talentpb/company.pb.go +++ b/talent/apiv4beta1/talentpb/company.pb.go @@ -21,12 +21,11 @@ package talentpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/talent/apiv4beta1/talentpb/company_service.pb.go b/talent/apiv4beta1/talentpb/company_service.pb.go index 2810c6f5ebaf..00f0f2d699c0 100755 --- a/talent/apiv4beta1/talentpb/company_service.pb.go +++ b/talent/apiv4beta1/talentpb/company_service.pb.go @@ -22,9 +22,6 @@ package talentpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/talent/apiv4beta1/talentpb/completion_service.pb.go b/talent/apiv4beta1/talentpb/completion_service.pb.go index 66ad99256685..1c18cfccfe42 100755 --- a/talent/apiv4beta1/talentpb/completion_service.pb.go +++ b/talent/apiv4beta1/talentpb/completion_service.pb.go @@ -22,15 +22,14 @@ package talentpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/talent/apiv4beta1/talentpb/event.pb.go b/talent/apiv4beta1/talentpb/event.pb.go index 123af583cf09..a9d984b60f71 100755 --- a/talent/apiv4beta1/talentpb/event.pb.go +++ b/talent/apiv4beta1/talentpb/event.pb.go @@ -21,13 +21,12 @@ package talentpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/talent/apiv4beta1/talentpb/event_service.pb.go b/talent/apiv4beta1/talentpb/event_service.pb.go index 21bbe9d11622..99542325cff1 100755 --- a/talent/apiv4beta1/talentpb/event_service.pb.go +++ b/talent/apiv4beta1/talentpb/event_service.pb.go @@ -22,15 +22,14 @@ package talentpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/talent/apiv4beta1/talentpb/filters.pb.go b/talent/apiv4beta1/talentpb/filters.pb.go index ed62c0f68468..b517aa1b33f3 100755 --- a/talent/apiv4beta1/talentpb/filters.pb.go +++ b/talent/apiv4beta1/talentpb/filters.pb.go @@ -21,15 +21,14 @@ package talentpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" latlng "google.golang.org/genproto/googleapis/type/latlng" timeofday "google.golang.org/genproto/googleapis/type/timeofday" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/talent/apiv4beta1/talentpb/histogram.pb.go b/talent/apiv4beta1/talentpb/histogram.pb.go index 0a83294e1449..c0ae073c8828 100755 --- a/talent/apiv4beta1/talentpb/histogram.pb.go +++ b/talent/apiv4beta1/talentpb/histogram.pb.go @@ -21,11 +21,10 @@ package talentpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/talent/apiv4beta1/talentpb/job.pb.go b/talent/apiv4beta1/talentpb/job.pb.go index 113a5b7fd989..027db4d7252b 100755 --- a/talent/apiv4beta1/talentpb/job.pb.go +++ b/talent/apiv4beta1/talentpb/job.pb.go @@ -21,13 +21,12 @@ package talentpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/talent/apiv4beta1/talentpb/job_service.pb.go b/talent/apiv4beta1/talentpb/job_service.pb.go index ce9ff3351555..c3e7c722eb30 100755 --- a/talent/apiv4beta1/talentpb/job_service.pb.go +++ b/talent/apiv4beta1/talentpb/job_service.pb.go @@ -21,11 +21,8 @@ package talentpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -36,6 +33,8 @@ import ( durationpb "google.golang.org/protobuf/types/known/durationpb" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/talent/apiv4beta1/talentpb/tenant.pb.go b/talent/apiv4beta1/talentpb/tenant.pb.go index 8f1e4dc0a7db..1aa1b9ae62c9 100755 --- a/talent/apiv4beta1/talentpb/tenant.pb.go +++ b/talent/apiv4beta1/talentpb/tenant.pb.go @@ -21,12 +21,11 @@ package talentpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/talent/apiv4beta1/talentpb/tenant_service.pb.go b/talent/apiv4beta1/talentpb/tenant_service.pb.go index 59b882c3e45b..b8355da154e9 100755 --- a/talent/apiv4beta1/talentpb/tenant_service.pb.go +++ b/talent/apiv4beta1/talentpb/tenant_service.pb.go @@ -22,9 +22,6 @@ package talentpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/telcoautomation/apiv1/telcoautomationpb/telcoautomation.pb.go b/telcoautomation/apiv1/telcoautomationpb/telcoautomation.pb.go index fe901e3007c8..51d5a430c3fd 100755 --- a/telcoautomation/apiv1/telcoautomationpb/telcoautomation.pb.go +++ b/telcoautomation/apiv1/telcoautomationpb/telcoautomation.pb.go @@ -21,11 +21,8 @@ package telcoautomationpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/texttospeech/apiv1/texttospeechpb/cloud_tts.pb.go b/texttospeech/apiv1/texttospeechpb/cloud_tts.pb.go index a4028c53ddfb..59349cefa689 100755 --- a/texttospeech/apiv1/texttospeechpb/cloud_tts.pb.go +++ b/texttospeech/apiv1/texttospeechpb/cloud_tts.pb.go @@ -22,15 +22,14 @@ package texttospeechpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/texttospeech/apiv1/texttospeechpb/cloud_tts_lrs.pb.go b/texttospeech/apiv1/texttospeechpb/cloud_tts_lrs.pb.go index 63bdc6a2c5f3..7e8255f5e120 100755 --- a/texttospeech/apiv1/texttospeechpb/cloud_tts_lrs.pb.go +++ b/texttospeech/apiv1/texttospeechpb/cloud_tts_lrs.pb.go @@ -21,11 +21,8 @@ package texttospeechpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/tpu/apiv1/tpupb/cloud_tpu.pb.go b/tpu/apiv1/tpupb/cloud_tpu.pb.go index 8795b985626b..d2706133c3ca 100755 --- a/tpu/apiv1/tpupb/cloud_tpu.pb.go +++ b/tpu/apiv1/tpupb/cloud_tpu.pb.go @@ -21,11 +21,8 @@ package tpupb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/trace/apiv1/tracepb/trace.pb.go b/trace/apiv1/tracepb/trace.pb.go index 8033fa7f4831..191dcad88281 100755 --- a/trace/apiv1/tracepb/trace.pb.go +++ b/trace/apiv1/tracepb/trace.pb.go @@ -22,9 +22,6 @@ package tracepb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/trace/apiv2/auxiliary.go b/trace/apiv2/auxiliary.go index 6fd60d03609c..b4c25a70581c 100755 --- a/trace/apiv2/auxiliary.go +++ b/trace/apiv2/auxiliary.go @@ -15,3 +15,5 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package trace + +import () diff --git a/trace/apiv2/auxiliary_go123.go b/trace/apiv2/auxiliary_go123.go index dabeb1dc3213..0225d94353d5 100755 --- a/trace/apiv2/auxiliary_go123.go +++ b/trace/apiv2/auxiliary_go123.go @@ -17,3 +17,5 @@ //go:build go1.23 package trace + +import () diff --git a/trace/apiv2/trace_client_example_go123_test.go b/trace/apiv2/trace_client_example_go123_test.go index 0cb8616d86d4..c8150b496763 100644 --- a/trace/apiv2/trace_client_example_go123_test.go +++ b/trace/apiv2/trace_client_example_go123_test.go @@ -17,3 +17,7 @@ //go:build go1.23 package trace_test + +import ( + trace "cloud.google.com/go/trace/apiv2" +) diff --git a/trace/apiv2/tracepb/trace.pb.go b/trace/apiv2/tracepb/trace.pb.go index c7c760af9be3..98386cb14b2e 100755 --- a/trace/apiv2/tracepb/trace.pb.go +++ b/trace/apiv2/tracepb/trace.pb.go @@ -21,15 +21,14 @@ package tracepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( diff --git a/trace/apiv2/tracepb/tracing.pb.go b/trace/apiv2/tracepb/tracing.pb.go index b490f6ba28f6..7e4a4c7c966d 100755 --- a/trace/apiv2/tracepb/tracing.pb.go +++ b/trace/apiv2/tracepb/tracing.pb.go @@ -22,9 +22,6 @@ package tracepb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" + reflect "reflect" + sync "sync" ) const ( diff --git a/translate/apiv3/translatepb/adaptive_mt.pb.go b/translate/apiv3/translatepb/adaptive_mt.pb.go index 4975c3aff971..4712d4d8c410 100755 --- a/translate/apiv3/translatepb/adaptive_mt.pb.go +++ b/translate/apiv3/translatepb/adaptive_mt.pb.go @@ -21,13 +21,12 @@ package translatepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/translate/apiv3/translatepb/automl_translation.pb.go b/translate/apiv3/translatepb/automl_translation.pb.go index 00016115ef9c..df5297fb9f11 100755 --- a/translate/apiv3/translatepb/automl_translation.pb.go +++ b/translate/apiv3/translatepb/automl_translation.pb.go @@ -21,14 +21,13 @@ package translatepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/translate/apiv3/translatepb/common.pb.go b/translate/apiv3/translatepb/common.pb.go index 8ed3b21f3bdc..95fb5bd63c9d 100755 --- a/translate/apiv3/translatepb/common.pb.go +++ b/translate/apiv3/translatepb/common.pb.go @@ -21,12 +21,11 @@ package translatepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/translate/apiv3/translatepb/translation_service.pb.go b/translate/apiv3/translatepb/translation_service.pb.go index 8d306912fc22..5b773bc23a43 100755 --- a/translate/apiv3/translatepb/translation_service.pb.go +++ b/translate/apiv3/translatepb/translation_service.pb.go @@ -21,11 +21,8 @@ package translatepb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/video/livestream/apiv1/livestreampb/outputs.pb.go b/video/livestream/apiv1/livestreampb/outputs.pb.go index bd6bfe5bf7a0..69ee66b8a6d4 100755 --- a/video/livestream/apiv1/livestreampb/outputs.pb.go +++ b/video/livestream/apiv1/livestreampb/outputs.pb.go @@ -21,14 +21,13 @@ package livestreampb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" datetime "google.golang.org/genproto/googleapis/type/datetime" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/video/livestream/apiv1/livestreampb/resources.pb.go b/video/livestream/apiv1/livestreampb/resources.pb.go index bbcdd5a208ae..1c1c6d77d98e 100755 --- a/video/livestream/apiv1/livestreampb/resources.pb.go +++ b/video/livestream/apiv1/livestreampb/resources.pb.go @@ -21,15 +21,14 @@ package livestreampb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/video/livestream/apiv1/livestreampb/service.pb.go b/video/livestream/apiv1/livestreampb/service.pb.go index 7245d51a996e..12e9f8de3f02 100755 --- a/video/livestream/apiv1/livestreampb/service.pb.go +++ b/video/livestream/apiv1/livestreampb/service.pb.go @@ -21,11 +21,8 @@ package livestreampb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/video/stitcher/apiv1/stitcherpb/ad_tag_details.pb.go b/video/stitcher/apiv1/stitcherpb/ad_tag_details.pb.go index d357da06f007..da4a430938d3 100755 --- a/video/stitcher/apiv1/stitcherpb/ad_tag_details.pb.go +++ b/video/stitcher/apiv1/stitcherpb/ad_tag_details.pb.go @@ -21,14 +21,13 @@ package stitcherpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/video/stitcher/apiv1/stitcherpb/cdn_keys.pb.go b/video/stitcher/apiv1/stitcherpb/cdn_keys.pb.go index 345ce3967bed..e6a0c53d18d8 100755 --- a/video/stitcher/apiv1/stitcherpb/cdn_keys.pb.go +++ b/video/stitcher/apiv1/stitcherpb/cdn_keys.pb.go @@ -21,12 +21,11 @@ package stitcherpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/video/stitcher/apiv1/stitcherpb/companions.pb.go b/video/stitcher/apiv1/stitcherpb/companions.pb.go index e0e216ec0288..e51ac52846fe 100755 --- a/video/stitcher/apiv1/stitcherpb/companions.pb.go +++ b/video/stitcher/apiv1/stitcherpb/companions.pb.go @@ -21,11 +21,10 @@ package stitcherpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/video/stitcher/apiv1/stitcherpb/events.pb.go b/video/stitcher/apiv1/stitcherpb/events.pb.go index fced08081839..fbf260be5344 100755 --- a/video/stitcher/apiv1/stitcherpb/events.pb.go +++ b/video/stitcher/apiv1/stitcherpb/events.pb.go @@ -21,12 +21,11 @@ package stitcherpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/video/stitcher/apiv1/stitcherpb/fetch_options.pb.go b/video/stitcher/apiv1/stitcherpb/fetch_options.pb.go index abc477bfd124..fbac7340b358 100755 --- a/video/stitcher/apiv1/stitcherpb/fetch_options.pb.go +++ b/video/stitcher/apiv1/stitcherpb/fetch_options.pb.go @@ -21,11 +21,10 @@ package stitcherpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/video/stitcher/apiv1/stitcherpb/live_configs.pb.go b/video/stitcher/apiv1/stitcherpb/live_configs.pb.go index 784feb0fc106..da42bb5e0d34 100755 --- a/video/stitcher/apiv1/stitcherpb/live_configs.pb.go +++ b/video/stitcher/apiv1/stitcherpb/live_configs.pb.go @@ -21,13 +21,12 @@ package stitcherpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/video/stitcher/apiv1/stitcherpb/sessions.pb.go b/video/stitcher/apiv1/stitcherpb/sessions.pb.go index deef7660971d..e7b4344dfcee 100755 --- a/video/stitcher/apiv1/stitcherpb/sessions.pb.go +++ b/video/stitcher/apiv1/stitcherpb/sessions.pb.go @@ -21,13 +21,12 @@ package stitcherpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/video/stitcher/apiv1/stitcherpb/slates.pb.go b/video/stitcher/apiv1/stitcherpb/slates.pb.go index bd9b1144d735..55d47d497ca4 100755 --- a/video/stitcher/apiv1/stitcherpb/slates.pb.go +++ b/video/stitcher/apiv1/stitcherpb/slates.pb.go @@ -21,12 +21,11 @@ package stitcherpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/video/stitcher/apiv1/stitcherpb/stitch_details.pb.go b/video/stitcher/apiv1/stitcherpb/stitch_details.pb.go index 6d51021684b4..b9e1e4ce5d4e 100755 --- a/video/stitcher/apiv1/stitcherpb/stitch_details.pb.go +++ b/video/stitcher/apiv1/stitcherpb/stitch_details.pb.go @@ -21,14 +21,13 @@ package stitcherpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/video/stitcher/apiv1/stitcherpb/video_stitcher_service.pb.go b/video/stitcher/apiv1/stitcherpb/video_stitcher_service.pb.go index 90768c76b2dd..1c25489486e3 100755 --- a/video/stitcher/apiv1/stitcherpb/video_stitcher_service.pb.go +++ b/video/stitcher/apiv1/stitcherpb/video_stitcher_service.pb.go @@ -21,11 +21,8 @@ package stitcherpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/video/stitcher/apiv1/stitcherpb/vod_configs.pb.go b/video/stitcher/apiv1/stitcherpb/vod_configs.pb.go index 5cef1dd76e8e..fce8ea922531 100755 --- a/video/stitcher/apiv1/stitcherpb/vod_configs.pb.go +++ b/video/stitcher/apiv1/stitcherpb/vod_configs.pb.go @@ -21,12 +21,11 @@ package stitcherpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/video/transcoder/apiv1/transcoderpb/resources.pb.go b/video/transcoder/apiv1/transcoderpb/resources.pb.go index 22afd2e47ad6..1b98a89c36ef 100755 --- a/video/transcoder/apiv1/transcoderpb/resources.pb.go +++ b/video/transcoder/apiv1/transcoderpb/resources.pb.go @@ -21,15 +21,14 @@ package transcoderpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/video/transcoder/apiv1/transcoderpb/services.pb.go b/video/transcoder/apiv1/transcoderpb/services.pb.go index 2fa49b2540b4..aaddd6274996 100755 --- a/video/transcoder/apiv1/transcoderpb/services.pb.go +++ b/video/transcoder/apiv1/transcoderpb/services.pb.go @@ -22,9 +22,6 @@ package transcoderpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" + reflect "reflect" + sync "sync" ) const ( diff --git a/videointelligence/apiv1/auxiliary_go123.go b/videointelligence/apiv1/auxiliary_go123.go index 4217b2979941..721d4b414f77 100755 --- a/videointelligence/apiv1/auxiliary_go123.go +++ b/videointelligence/apiv1/auxiliary_go123.go @@ -17,3 +17,5 @@ //go:build go1.23 package videointelligence + +import () diff --git a/videointelligence/apiv1/video_intelligence_client_example_go123_test.go b/videointelligence/apiv1/video_intelligence_client_example_go123_test.go index 6c460c97c543..9d3f9524e7f6 100644 --- a/videointelligence/apiv1/video_intelligence_client_example_go123_test.go +++ b/videointelligence/apiv1/video_intelligence_client_example_go123_test.go @@ -17,3 +17,7 @@ //go:build go1.23 package videointelligence_test + +import ( + videointelligence "cloud.google.com/go/videointelligence/apiv1" +) diff --git a/videointelligence/apiv1/videointelligencepb/video_intelligence.pb.go b/videointelligence/apiv1/videointelligencepb/video_intelligence.pb.go index 8c5c3a124889..70d6ce867ba1 100755 --- a/videointelligence/apiv1/videointelligencepb/video_intelligence.pb.go +++ b/videointelligence/apiv1/videointelligencepb/video_intelligence.pb.go @@ -21,11 +21,8 @@ package videointelligencepb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -35,6 +32,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/videointelligence/apiv1beta2/auxiliary_go123.go b/videointelligence/apiv1beta2/auxiliary_go123.go index 4217b2979941..721d4b414f77 100755 --- a/videointelligence/apiv1beta2/auxiliary_go123.go +++ b/videointelligence/apiv1beta2/auxiliary_go123.go @@ -17,3 +17,5 @@ //go:build go1.23 package videointelligence + +import () diff --git a/videointelligence/apiv1beta2/video_intelligence_client_example_go123_test.go b/videointelligence/apiv1beta2/video_intelligence_client_example_go123_test.go index 6c460c97c543..2a5daf0c38f5 100644 --- a/videointelligence/apiv1beta2/video_intelligence_client_example_go123_test.go +++ b/videointelligence/apiv1beta2/video_intelligence_client_example_go123_test.go @@ -17,3 +17,7 @@ //go:build go1.23 package videointelligence_test + +import ( + videointelligence "cloud.google.com/go/videointelligence/apiv1beta2" +) diff --git a/videointelligence/apiv1beta2/videointelligencepb/video_intelligence.pb.go b/videointelligence/apiv1beta2/videointelligencepb/video_intelligence.pb.go index d773f9fcf65e..f26c827340ee 100755 --- a/videointelligence/apiv1beta2/videointelligencepb/video_intelligence.pb.go +++ b/videointelligence/apiv1beta2/videointelligencepb/video_intelligence.pb.go @@ -22,11 +22,8 @@ package videointelligencepb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -36,6 +33,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/videointelligence/apiv1p3beta1/auxiliary_go123.go b/videointelligence/apiv1p3beta1/auxiliary_go123.go index 4217b2979941..721d4b414f77 100755 --- a/videointelligence/apiv1p3beta1/auxiliary_go123.go +++ b/videointelligence/apiv1p3beta1/auxiliary_go123.go @@ -17,3 +17,5 @@ //go:build go1.23 package videointelligence + +import () diff --git a/videointelligence/apiv1p3beta1/streaming_video_intelligence_client_example_go123_test.go b/videointelligence/apiv1p3beta1/streaming_video_intelligence_client_example_go123_test.go index 6c460c97c543..f2896a23ae40 100644 --- a/videointelligence/apiv1p3beta1/streaming_video_intelligence_client_example_go123_test.go +++ b/videointelligence/apiv1p3beta1/streaming_video_intelligence_client_example_go123_test.go @@ -17,3 +17,7 @@ //go:build go1.23 package videointelligence_test + +import ( + videointelligence "cloud.google.com/go/videointelligence/apiv1p3beta1" +) diff --git a/videointelligence/apiv1p3beta1/video_intelligence_client_example_go123_test.go b/videointelligence/apiv1p3beta1/video_intelligence_client_example_go123_test.go index 6c460c97c543..f2896a23ae40 100644 --- a/videointelligence/apiv1p3beta1/video_intelligence_client_example_go123_test.go +++ b/videointelligence/apiv1p3beta1/video_intelligence_client_example_go123_test.go @@ -17,3 +17,7 @@ //go:build go1.23 package videointelligence_test + +import ( + videointelligence "cloud.google.com/go/videointelligence/apiv1p3beta1" +) diff --git a/videointelligence/apiv1p3beta1/videointelligencepb/video_intelligence.pb.go b/videointelligence/apiv1p3beta1/videointelligencepb/video_intelligence.pb.go index c42046a41b08..2963b9a759e3 100755 --- a/videointelligence/apiv1p3beta1/videointelligencepb/video_intelligence.pb.go +++ b/videointelligence/apiv1p3beta1/videointelligencepb/video_intelligence.pb.go @@ -21,11 +21,8 @@ package videointelligencepb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -35,6 +32,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/vision/apiv1/image_annotator_client_example_go123_test.go b/vision/apiv1/image_annotator_client_example_go123_test.go index e613bc7c8f4a..d0fca2ab6663 100644 --- a/vision/apiv1/image_annotator_client_example_go123_test.go +++ b/vision/apiv1/image_annotator_client_example_go123_test.go @@ -17,3 +17,7 @@ //go:build go1.23 package vision_test + +import ( + vision "cloud.google.com/go/vision/v2/apiv1" +) diff --git a/vision/apiv1/visionpb/geometry.pb.go b/vision/apiv1/visionpb/geometry.pb.go index 4f5eae616ae1..fd3876e57182 100755 --- a/vision/apiv1/visionpb/geometry.pb.go +++ b/vision/apiv1/visionpb/geometry.pb.go @@ -21,11 +21,10 @@ package visionpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/vision/apiv1/visionpb/image_annotator.pb.go b/vision/apiv1/visionpb/image_annotator.pb.go index 049b730b9ed1..2e584495eaa2 100755 --- a/vision/apiv1/visionpb/image_annotator.pb.go +++ b/vision/apiv1/visionpb/image_annotator.pb.go @@ -21,11 +21,8 @@ package visionpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" color "google.golang.org/genproto/googleapis/type/color" @@ -36,6 +33,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/vision/apiv1/visionpb/product_search.pb.go b/vision/apiv1/visionpb/product_search.pb.go index 9afe2045174c..cf64a6e3b4b2 100755 --- a/vision/apiv1/visionpb/product_search.pb.go +++ b/vision/apiv1/visionpb/product_search.pb.go @@ -21,13 +21,12 @@ package visionpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/vision/apiv1/visionpb/product_search_service.pb.go b/vision/apiv1/visionpb/product_search_service.pb.go index 4ff6ade30369..2bcffbc6137c 100755 --- a/vision/apiv1/visionpb/product_search_service.pb.go +++ b/vision/apiv1/visionpb/product_search_service.pb.go @@ -21,11 +21,8 @@ package visionpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -36,6 +33,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/vision/apiv1/visionpb/text_annotation.pb.go b/vision/apiv1/visionpb/text_annotation.pb.go index 1f06149a48a6..8948220495f4 100755 --- a/vision/apiv1/visionpb/text_annotation.pb.go +++ b/vision/apiv1/visionpb/text_annotation.pb.go @@ -21,11 +21,10 @@ package visionpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/vision/apiv1/visionpb/web_detection.pb.go b/vision/apiv1/visionpb/web_detection.pb.go index 96cb64a6c6b5..75bd486baf20 100755 --- a/vision/apiv1/visionpb/web_detection.pb.go +++ b/vision/apiv1/visionpb/web_detection.pb.go @@ -21,11 +21,10 @@ package visionpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/vision/apiv1p1beta1/auxiliary.go b/vision/apiv1p1beta1/auxiliary.go index 696a44e4c18d..3ce29e758285 100755 --- a/vision/apiv1p1beta1/auxiliary.go +++ b/vision/apiv1p1beta1/auxiliary.go @@ -15,3 +15,5 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package vision + +import () diff --git a/vision/apiv1p1beta1/auxiliary_go123.go b/vision/apiv1p1beta1/auxiliary_go123.go index 426c06326fe1..8d3ca4710f65 100755 --- a/vision/apiv1p1beta1/auxiliary_go123.go +++ b/vision/apiv1p1beta1/auxiliary_go123.go @@ -17,3 +17,5 @@ //go:build go1.23 package vision + +import () diff --git a/vision/apiv1p1beta1/image_annotator_client_example_go123_test.go b/vision/apiv1p1beta1/image_annotator_client_example_go123_test.go index e613bc7c8f4a..91f5da143555 100644 --- a/vision/apiv1p1beta1/image_annotator_client_example_go123_test.go +++ b/vision/apiv1p1beta1/image_annotator_client_example_go123_test.go @@ -17,3 +17,7 @@ //go:build go1.23 package vision_test + +import ( + vision "cloud.google.com/go/vision/v2/apiv1p1beta1" +) diff --git a/vision/apiv1p1beta1/visionpb/geometry.pb.go b/vision/apiv1p1beta1/visionpb/geometry.pb.go index f4f1d49a44f2..d7020f1713e3 100755 --- a/vision/apiv1p1beta1/visionpb/geometry.pb.go +++ b/vision/apiv1p1beta1/visionpb/geometry.pb.go @@ -21,11 +21,10 @@ package visionpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/vision/apiv1p1beta1/visionpb/image_annotator.pb.go b/vision/apiv1p1beta1/visionpb/image_annotator.pb.go index b86570a933da..0188f49ba998 100755 --- a/vision/apiv1p1beta1/visionpb/image_annotator.pb.go +++ b/vision/apiv1p1beta1/visionpb/image_annotator.pb.go @@ -23,9 +23,6 @@ package visionpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" color "google.golang.org/genproto/googleapis/type/color" @@ -35,6 +32,8 @@ import ( status1 "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/vision/apiv1p1beta1/visionpb/text_annotation.pb.go b/vision/apiv1p1beta1/visionpb/text_annotation.pb.go index 93996e10cc9f..e9f9dbdbe4dd 100755 --- a/vision/apiv1p1beta1/visionpb/text_annotation.pb.go +++ b/vision/apiv1p1beta1/visionpb/text_annotation.pb.go @@ -21,11 +21,10 @@ package visionpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/vision/apiv1p1beta1/visionpb/web_detection.pb.go b/vision/apiv1p1beta1/visionpb/web_detection.pb.go index cfaefd54f64f..4075da2fd4db 100755 --- a/vision/apiv1p1beta1/visionpb/web_detection.pb.go +++ b/vision/apiv1p1beta1/visionpb/web_detection.pb.go @@ -21,11 +21,10 @@ package visionpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/visionai/apiv1/visionaipb/annotations.pb.go b/visionai/apiv1/visionaipb/annotations.pb.go index 7752f26a8283..40c0e3160dfb 100755 --- a/visionai/apiv1/visionaipb/annotations.pb.go +++ b/visionai/apiv1/visionaipb/annotations.pb.go @@ -21,13 +21,12 @@ package visionaipb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/visionai/apiv1/visionaipb/common.pb.go b/visionai/apiv1/visionaipb/common.pb.go index d90a302243c0..ecd8026bd785 100755 --- a/visionai/apiv1/visionaipb/common.pb.go +++ b/visionai/apiv1/visionaipb/common.pb.go @@ -21,13 +21,12 @@ package visionaipb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/visionai/apiv1/visionaipb/health_service.pb.go b/visionai/apiv1/visionaipb/health_service.pb.go index 5f4ccc1d337c..86978ed15d78 100755 --- a/visionai/apiv1/visionaipb/health_service.pb.go +++ b/visionai/apiv1/visionaipb/health_service.pb.go @@ -22,15 +22,14 @@ package visionaipb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/visionai/apiv1/visionaipb/lva.pb.go b/visionai/apiv1/visionaipb/lva.pb.go index 6dc9ff5e074c..6fbb0f137625 100755 --- a/visionai/apiv1/visionaipb/lva.pb.go +++ b/visionai/apiv1/visionaipb/lva.pb.go @@ -21,11 +21,10 @@ package visionaipb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/visionai/apiv1/visionaipb/lva_resources.pb.go b/visionai/apiv1/visionaipb/lva_resources.pb.go index 53d2f268aa9f..0b2b711023db 100755 --- a/visionai/apiv1/visionaipb/lva_resources.pb.go +++ b/visionai/apiv1/visionaipb/lva_resources.pb.go @@ -21,13 +21,12 @@ package visionaipb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/visionai/apiv1/visionaipb/lva_service.pb.go b/visionai/apiv1/visionaipb/lva_service.pb.go index 092b27db0011..2b07fb0bcb34 100755 --- a/visionai/apiv1/visionaipb/lva_service.pb.go +++ b/visionai/apiv1/visionaipb/lva_service.pb.go @@ -21,11 +21,8 @@ package visionaipb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/visionai/apiv1/visionaipb/platform.pb.go b/visionai/apiv1/visionaipb/platform.pb.go index 530f70bb84e6..11d9acd35f6e 100755 --- a/visionai/apiv1/visionaipb/platform.pb.go +++ b/visionai/apiv1/visionaipb/platform.pb.go @@ -21,11 +21,8 @@ package visionaipb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -37,6 +34,8 @@ import ( fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/visionai/apiv1/visionaipb/streaming_resources.pb.go b/visionai/apiv1/visionaipb/streaming_resources.pb.go index 4539ee7bbee1..231525b71ebb 100755 --- a/visionai/apiv1/visionaipb/streaming_resources.pb.go +++ b/visionai/apiv1/visionaipb/streaming_resources.pb.go @@ -21,15 +21,14 @@ package visionaipb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/visionai/apiv1/visionaipb/streaming_service.pb.go b/visionai/apiv1/visionaipb/streaming_service.pb.go index 7c2150bd75ef..7517885ade03 100755 --- a/visionai/apiv1/visionaipb/streaming_service.pb.go +++ b/visionai/apiv1/visionaipb/streaming_service.pb.go @@ -22,9 +22,6 @@ package visionaipb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/visionai/apiv1/visionaipb/streams_resources.pb.go b/visionai/apiv1/visionaipb/streams_resources.pb.go index d7f0f4a29ac0..1df599d045e3 100755 --- a/visionai/apiv1/visionaipb/streams_resources.pb.go +++ b/visionai/apiv1/visionaipb/streams_resources.pb.go @@ -21,14 +21,13 @@ package visionaipb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/visionai/apiv1/visionaipb/streams_service.pb.go b/visionai/apiv1/visionaipb/streams_service.pb.go index c74fc0fe797b..df4447ef9af3 100755 --- a/visionai/apiv1/visionaipb/streams_service.pb.go +++ b/visionai/apiv1/visionaipb/streams_service.pb.go @@ -21,11 +21,8 @@ package visionaipb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/visionai/apiv1/visionaipb/warehouse.pb.go b/visionai/apiv1/visionaipb/warehouse.pb.go index 63137c6a8101..1a342938e99c 100755 --- a/visionai/apiv1/visionaipb/warehouse.pb.go +++ b/visionai/apiv1/visionaipb/warehouse.pb.go @@ -21,11 +21,8 @@ package visionaipb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" datetime "google.golang.org/genproto/googleapis/type/datetime" @@ -40,6 +37,8 @@ import ( fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/vmmigration/apiv1/vmmigrationpb/vmmigration.pb.go b/vmmigration/apiv1/vmmigrationpb/vmmigration.pb.go index 6bac4d1a19ff..a432fecc33e3 100755 --- a/vmmigration/apiv1/vmmigrationpb/vmmigration.pb.go +++ b/vmmigration/apiv1/vmmigrationpb/vmmigration.pb.go @@ -21,11 +21,8 @@ package vmmigrationpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" errdetails "google.golang.org/genproto/googleapis/rpc/errdetails" status "google.golang.org/genproto/googleapis/rpc/status" @@ -37,6 +34,8 @@ import ( durationpb "google.golang.org/protobuf/types/known/durationpb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/vmwareengine/apiv1/vmwareenginepb/vmwareengine.pb.go b/vmwareengine/apiv1/vmwareenginepb/vmwareengine.pb.go index b31ada7e2e77..637ae71e9ff5 100755 --- a/vmwareengine/apiv1/vmwareenginepb/vmwareengine.pb.go +++ b/vmwareengine/apiv1/vmwareenginepb/vmwareengine.pb.go @@ -21,11 +21,8 @@ package vmwareenginepb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/vmwareengine/apiv1/vmwareenginepb/vmwareengine_resources.pb.go b/vmwareengine/apiv1/vmwareenginepb/vmwareengine_resources.pb.go index abe47484e706..5f6daa08b631 100755 --- a/vmwareengine/apiv1/vmwareenginepb/vmwareengine_resources.pb.go +++ b/vmwareengine/apiv1/vmwareenginepb/vmwareengine_resources.pb.go @@ -21,14 +21,13 @@ package vmwareenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/vpcaccess/apiv1/vpcaccesspb/vpc_access.pb.go b/vpcaccess/apiv1/vpcaccesspb/vpc_access.pb.go index f36ba912429b..8ae894f869f1 100755 --- a/vpcaccess/apiv1/vpcaccesspb/vpc_access.pb.go +++ b/vpcaccess/apiv1/vpcaccesspb/vpc_access.pb.go @@ -21,11 +21,8 @@ package vpcaccesspb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/webrisk/apiv1/webriskpb/webrisk.pb.go b/webrisk/apiv1/webriskpb/webrisk.pb.go index 256499e28b1a..39312df02647 100755 --- a/webrisk/apiv1/webriskpb/webrisk.pb.go +++ b/webrisk/apiv1/webriskpb/webrisk.pb.go @@ -21,11 +21,8 @@ package webriskpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/webrisk/apiv1beta1/auxiliary.go b/webrisk/apiv1beta1/auxiliary.go index 3f1b9c23981d..fb581fc6cd99 100755 --- a/webrisk/apiv1beta1/auxiliary.go +++ b/webrisk/apiv1beta1/auxiliary.go @@ -15,3 +15,5 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package webrisk + +import () diff --git a/webrisk/apiv1beta1/auxiliary_go123.go b/webrisk/apiv1beta1/auxiliary_go123.go index ec10fa7fb27c..31082e9a89f7 100755 --- a/webrisk/apiv1beta1/auxiliary_go123.go +++ b/webrisk/apiv1beta1/auxiliary_go123.go @@ -17,3 +17,5 @@ //go:build go1.23 package webrisk + +import () diff --git a/webrisk/apiv1beta1/web_risk_service_v1_beta1_client_example_go123_test.go b/webrisk/apiv1beta1/web_risk_service_v1_beta1_client_example_go123_test.go index 70e81e17b998..3a5b47e95409 100644 --- a/webrisk/apiv1beta1/web_risk_service_v1_beta1_client_example_go123_test.go +++ b/webrisk/apiv1beta1/web_risk_service_v1_beta1_client_example_go123_test.go @@ -17,3 +17,7 @@ //go:build go1.23 package webrisk_test + +import ( + webrisk "cloud.google.com/go/webrisk/apiv1beta1" +) diff --git a/webrisk/apiv1beta1/webriskpb/webrisk.pb.go b/webrisk/apiv1beta1/webriskpb/webrisk.pb.go index 50fee661b757..fbd91d42723e 100755 --- a/webrisk/apiv1beta1/webriskpb/webrisk.pb.go +++ b/webrisk/apiv1beta1/webriskpb/webrisk.pb.go @@ -23,9 +23,6 @@ package webriskpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/websecurityscanner/apiv1/websecurityscannerpb/crawled_url.pb.go b/websecurityscanner/apiv1/websecurityscannerpb/crawled_url.pb.go index 1da5931fd376..6681c998bc12 100755 --- a/websecurityscanner/apiv1/websecurityscannerpb/crawled_url.pb.go +++ b/websecurityscanner/apiv1/websecurityscannerpb/crawled_url.pb.go @@ -21,11 +21,10 @@ package websecurityscannerpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/websecurityscanner/apiv1/websecurityscannerpb/finding.pb.go b/websecurityscanner/apiv1/websecurityscannerpb/finding.pb.go index 2dffe052fc72..d23c55f15d95 100755 --- a/websecurityscanner/apiv1/websecurityscannerpb/finding.pb.go +++ b/websecurityscanner/apiv1/websecurityscannerpb/finding.pb.go @@ -21,12 +21,11 @@ package websecurityscannerpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/websecurityscanner/apiv1/websecurityscannerpb/finding_addon.pb.go b/websecurityscanner/apiv1/websecurityscannerpb/finding_addon.pb.go index 00eab1c3ca4b..169df107b251 100755 --- a/websecurityscanner/apiv1/websecurityscannerpb/finding_addon.pb.go +++ b/websecurityscanner/apiv1/websecurityscannerpb/finding_addon.pb.go @@ -21,11 +21,10 @@ package websecurityscannerpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/websecurityscanner/apiv1/websecurityscannerpb/finding_type_stats.pb.go b/websecurityscanner/apiv1/websecurityscannerpb/finding_type_stats.pb.go index 06b205839fd4..3abf85854f66 100755 --- a/websecurityscanner/apiv1/websecurityscannerpb/finding_type_stats.pb.go +++ b/websecurityscanner/apiv1/websecurityscannerpb/finding_type_stats.pb.go @@ -21,11 +21,10 @@ package websecurityscannerpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/websecurityscanner/apiv1/websecurityscannerpb/scan_config.pb.go b/websecurityscanner/apiv1/websecurityscannerpb/scan_config.pb.go index 0b79e38c473c..e493c80e5371 100755 --- a/websecurityscanner/apiv1/websecurityscannerpb/scan_config.pb.go +++ b/websecurityscanner/apiv1/websecurityscannerpb/scan_config.pb.go @@ -21,13 +21,12 @@ package websecurityscannerpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/websecurityscanner/apiv1/websecurityscannerpb/scan_config_error.pb.go b/websecurityscanner/apiv1/websecurityscannerpb/scan_config_error.pb.go index 493d35e61a3d..96b2353b9659 100755 --- a/websecurityscanner/apiv1/websecurityscannerpb/scan_config_error.pb.go +++ b/websecurityscanner/apiv1/websecurityscannerpb/scan_config_error.pb.go @@ -21,11 +21,10 @@ package websecurityscannerpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/websecurityscanner/apiv1/websecurityscannerpb/scan_run.pb.go b/websecurityscanner/apiv1/websecurityscannerpb/scan_run.pb.go index 439dcef99cf1..9602e4315b80 100755 --- a/websecurityscanner/apiv1/websecurityscannerpb/scan_run.pb.go +++ b/websecurityscanner/apiv1/websecurityscannerpb/scan_run.pb.go @@ -21,12 +21,11 @@ package websecurityscannerpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/websecurityscanner/apiv1/websecurityscannerpb/scan_run_error_trace.pb.go b/websecurityscanner/apiv1/websecurityscannerpb/scan_run_error_trace.pb.go index 95a405dff010..5dee5014fcf6 100755 --- a/websecurityscanner/apiv1/websecurityscannerpb/scan_run_error_trace.pb.go +++ b/websecurityscanner/apiv1/websecurityscannerpb/scan_run_error_trace.pb.go @@ -21,11 +21,10 @@ package websecurityscannerpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/websecurityscanner/apiv1/websecurityscannerpb/scan_run_log.pb.go b/websecurityscanner/apiv1/websecurityscannerpb/scan_run_log.pb.go index 1682f19e042a..0e6c340980d2 100755 --- a/websecurityscanner/apiv1/websecurityscannerpb/scan_run_log.pb.go +++ b/websecurityscanner/apiv1/websecurityscannerpb/scan_run_log.pb.go @@ -21,11 +21,10 @@ package websecurityscannerpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/websecurityscanner/apiv1/websecurityscannerpb/scan_run_warning_trace.pb.go b/websecurityscanner/apiv1/websecurityscannerpb/scan_run_warning_trace.pb.go index 960ec7a1933e..3449d87bd90a 100755 --- a/websecurityscanner/apiv1/websecurityscannerpb/scan_run_warning_trace.pb.go +++ b/websecurityscanner/apiv1/websecurityscannerpb/scan_run_warning_trace.pb.go @@ -21,11 +21,10 @@ package websecurityscannerpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/websecurityscanner/apiv1/websecurityscannerpb/web_security_scanner.pb.go b/websecurityscanner/apiv1/websecurityscannerpb/web_security_scanner.pb.go index 25a594ea8d9f..1dff73e7edfe 100755 --- a/websecurityscanner/apiv1/websecurityscannerpb/web_security_scanner.pb.go +++ b/websecurityscanner/apiv1/websecurityscannerpb/web_security_scanner.pb.go @@ -22,9 +22,6 @@ package websecurityscannerpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/workflows/apiv1/workflowspb/workflows.pb.go b/workflows/apiv1/workflowspb/workflows.pb.go index 6069321cd21a..b464a2b48510 100755 --- a/workflows/apiv1/workflowspb/workflows.pb.go +++ b/workflows/apiv1/workflowspb/workflows.pb.go @@ -21,11 +21,8 @@ package workflowspb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/workflows/apiv1beta/workflowspb/workflows.pb.go b/workflows/apiv1beta/workflowspb/workflows.pb.go index 89e27efa71d6..45b4b44cf6ca 100755 --- a/workflows/apiv1beta/workflowspb/workflows.pb.go +++ b/workflows/apiv1beta/workflowspb/workflows.pb.go @@ -21,11 +21,8 @@ package workflowspb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/workflows/executions/apiv1/executionspb/executions.pb.go b/workflows/executions/apiv1/executionspb/executions.pb.go index 8ac81e5ab6ac..4a41bea31f3b 100755 --- a/workflows/executions/apiv1/executionspb/executions.pb.go +++ b/workflows/executions/apiv1/executionspb/executions.pb.go @@ -22,9 +22,6 @@ package executionspb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/workflows/executions/apiv1beta/executionspb/executions.pb.go b/workflows/executions/apiv1beta/executionspb/executions.pb.go index 276283c7172d..be6b9904875a 100755 --- a/workflows/executions/apiv1beta/executionspb/executions.pb.go +++ b/workflows/executions/apiv1beta/executionspb/executions.pb.go @@ -22,9 +22,6 @@ package executionspb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/workstations/apiv1/workstationspb/workstations.pb.go b/workstations/apiv1/workstationspb/workstations.pb.go index 9684aa05c43b..a4fc28536def 100755 --- a/workstations/apiv1/workstationspb/workstations.pb.go +++ b/workstations/apiv1/workstationspb/workstations.pb.go @@ -21,11 +21,8 @@ package workstationspb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -36,6 +33,8 @@ import ( durationpb "google.golang.org/protobuf/types/known/durationpb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/workstations/apiv1beta/workstationspb/workstations.pb.go b/workstations/apiv1beta/workstationspb/workstations.pb.go index 1ee620dab7ad..69106b2caef9 100755 --- a/workstations/apiv1beta/workstationspb/workstations.pb.go +++ b/workstations/apiv1beta/workstationspb/workstations.pb.go @@ -21,11 +21,8 @@ package workstationspb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -36,6 +33,8 @@ import ( durationpb "google.golang.org/protobuf/types/known/durationpb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const (