diff --git a/google-cloud-storage/src/main/java/com/google/cloud/storage/GrpcStorageOptions.java b/google-cloud-storage/src/main/java/com/google/cloud/storage/GrpcStorageOptions.java index dcadfb401e..841343d311 100644 --- a/google-cloud-storage/src/main/java/com/google/cloud/storage/GrpcStorageOptions.java +++ b/google-cloud-storage/src/main/java/com/google/cloud/storage/GrpcStorageOptions.java @@ -767,6 +767,7 @@ protected StorageSettings.Builder setInternalHeaderProvider( private static final class NoopGrpcInterceptorProvider implements GrpcInterceptorProvider, Serializable { + private static long serialVersionUID = -8523033236999805349L; private static final NoopGrpcInterceptorProvider INSTANCE = new NoopGrpcInterceptorProvider(); @Override diff --git a/google-cloud-storage/src/main/java/com/google/cloud/storage/HttpStorageOptions.java b/google-cloud-storage/src/main/java/com/google/cloud/storage/HttpStorageOptions.java index 9d4873e2b4..cce8ff63c0 100644 --- a/google-cloud-storage/src/main/java/com/google/cloud/storage/HttpStorageOptions.java +++ b/google-cloud-storage/src/main/java/com/google/cloud/storage/HttpStorageOptions.java @@ -346,7 +346,7 @@ public ServiceRpc create(StorageOptions options) { * we do need use it in a couple places, for those we create this adapter. */ private final class RetryDependenciesAdapter implements RetryingDependencies, Serializable { - + private static long serialVersionUID = -7446566394108158974L; private RetryDependenciesAdapter() {} @Override diff --git a/google-cloud-storage/src/main/java/com/google/cloud/storage/Notification.java b/google-cloud-storage/src/main/java/com/google/cloud/storage/Notification.java index f3e2bb81a6..f3e0738d5c 100644 --- a/google-cloud-storage/src/main/java/com/google/cloud/storage/Notification.java +++ b/google-cloud-storage/src/main/java/com/google/cloud/storage/Notification.java @@ -26,6 +26,7 @@ * details. */ public class Notification extends NotificationInfo { + private static final long serialVersionUID = 3150928330690874200L; private final StorageOptions options; private transient Storage storage; diff --git a/google-cloud-storage/src/main/java/com/google/cloud/storage/StorageOptions.java b/google-cloud-storage/src/main/java/com/google/cloud/storage/StorageOptions.java index 74a6ffb3df..5167971277 100644 --- a/google-cloud-storage/src/main/java/com/google/cloud/storage/StorageOptions.java +++ b/google-cloud-storage/src/main/java/com/google/cloud/storage/StorageOptions.java @@ -63,6 +63,8 @@ public abstract class StorageOptions extends ServiceOptions