diff --git a/pubsub/pstest/fake_test.go b/pubsub/pstest/fake_test.go index 871dfd0a0625..1dbc3f4245cc 100644 --- a/pubsub/pstest/fake_test.go +++ b/pubsub/pstest/fake_test.go @@ -29,11 +29,11 @@ import ( "cloud.google.com/go/internal/testutil" pb "cloud.google.com/go/pubsub/apiv1/pubsubpb" - "google.golang.org/genproto/protobuf/field_mask" "google.golang.org/grpc" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" "google.golang.org/protobuf/types/known/durationpb" + field_mask "google.golang.org/protobuf/types/known/fieldmaskpb" "google.golang.org/protobuf/types/known/timestamppb" ) diff --git a/pubsub/snapshot.go b/pubsub/snapshot.go index 7a628b7bdbb2..d5d1dd2dfd74 100644 --- a/pubsub/snapshot.go +++ b/pubsub/snapshot.go @@ -21,7 +21,7 @@ import ( "time" pb "cloud.google.com/go/pubsub/apiv1/pubsubpb" - fmpb "google.golang.org/genproto/protobuf/field_mask" + fmpb "google.golang.org/protobuf/types/known/fieldmaskpb" "google.golang.org/protobuf/types/known/timestamppb" ) diff --git a/pubsub/subscription.go b/pubsub/subscription.go index f08f1cbdb1eb..5a97305ef877 100644 --- a/pubsub/subscription.go +++ b/pubsub/subscription.go @@ -30,10 +30,10 @@ import ( "cloud.google.com/go/pubsub/internal/scheduler" gax "github.com/googleapis/gax-go/v2" "golang.org/x/sync/errgroup" - fmpb "google.golang.org/genproto/protobuf/field_mask" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" durpb "google.golang.org/protobuf/types/known/durationpb" + fmpb "google.golang.org/protobuf/types/known/fieldmaskpb" vkit "cloud.google.com/go/pubsub/apiv1" ) diff --git a/pubsub/topic.go b/pubsub/topic.go index a17f17b8674e..c4482982276c 100644 --- a/pubsub/topic.go +++ b/pubsub/topic.go @@ -34,12 +34,12 @@ import ( "go.opencensus.io/stats" "go.opencensus.io/tag" "google.golang.org/api/support/bundler" - fmpb "google.golang.org/genproto/protobuf/field_mask" "google.golang.org/grpc" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" "google.golang.org/protobuf/proto" "google.golang.org/protobuf/types/known/durationpb" + fmpb "google.golang.org/protobuf/types/known/fieldmaskpb" ) const (