From 2e5d57c61cd2be37bcc817417acb96296587e579 Mon Sep 17 00:00:00 2001 From: garrettjonesgoogle Date: Tue, 12 Apr 2016 13:58:21 -0700 Subject: [PATCH] Rename com.google.gcloud to com.google.cloud (#908) --- .../{gcloud => cloud}/logging/spi/v2/ConfigServiceV2Api.java | 2 +- .../google/cloud}/logging/spi/v2/ConfigServiceV2Settings.java | 2 +- .../{gcloud => cloud}/logging/spi/v2/LoggingServiceV2Api.java | 2 +- .../cloud}/logging/spi/v2/LoggingServiceV2Settings.java | 2 +- .../{gcloud => cloud}/logging/spi/v2/MetricsServiceV2Api.java | 2 +- .../logging/spi/v2/MetricsServiceV2Settings.java | 2 +- .../{gcloud => cloud}/logging/spi/v2/ConfigServiceV2Api.java | 4 +--- .../google/cloud}/logging/spi/v2/ConfigServiceV2Settings.java | 2 +- .../{gcloud => cloud}/logging/spi/v2/LoggingServiceV2Api.java | 4 +--- .../cloud}/logging/spi/v2/LoggingServiceV2Settings.java | 2 +- .../{gcloud => cloud}/logging/spi/v2/MetricsServiceV2Api.java | 4 +--- .../logging/spi/v2/MetricsServiceV2Settings.java | 2 +- .../logging/spi/v2/testing/LocalLoggingHelper.java | 2 +- .../logging/spi/v2/testing/LocalLoggingImpl.java | 2 +- .../logging/spi/v2/LoggingServiceV2ApiTest.java | 4 ++-- 15 files changed, 16 insertions(+), 22 deletions(-) rename gcloud-java-logging/baseline/src/main/java/com/google/{gcloud => cloud}/logging/spi/v2/ConfigServiceV2Api.java (99%) rename gcloud-java-logging/{src/main/java/com/google/gcloud => baseline/src/main/java/com/google/cloud}/logging/spi/v2/ConfigServiceV2Settings.java (99%) rename gcloud-java-logging/baseline/src/main/java/com/google/{gcloud => cloud}/logging/spi/v2/LoggingServiceV2Api.java (99%) rename gcloud-java-logging/{src/main/java/com/google/gcloud => baseline/src/main/java/com/google/cloud}/logging/spi/v2/LoggingServiceV2Settings.java (99%) rename gcloud-java-logging/baseline/src/main/java/com/google/{gcloud => cloud}/logging/spi/v2/MetricsServiceV2Api.java (99%) rename gcloud-java-logging/baseline/src/main/java/com/google/{gcloud => cloud}/logging/spi/v2/MetricsServiceV2Settings.java (99%) rename gcloud-java-logging/src/main/java/com/google/{gcloud => cloud}/logging/spi/v2/ConfigServiceV2Api.java (99%) rename gcloud-java-logging/{baseline/src/main/java/com/google/gcloud => src/main/java/com/google/cloud}/logging/spi/v2/ConfigServiceV2Settings.java (99%) rename gcloud-java-logging/src/main/java/com/google/{gcloud => cloud}/logging/spi/v2/LoggingServiceV2Api.java (99%) rename gcloud-java-logging/{baseline/src/main/java/com/google/gcloud => src/main/java/com/google/cloud}/logging/spi/v2/LoggingServiceV2Settings.java (99%) rename gcloud-java-logging/src/main/java/com/google/{gcloud => cloud}/logging/spi/v2/MetricsServiceV2Api.java (99%) rename gcloud-java-logging/src/main/java/com/google/{gcloud => cloud}/logging/spi/v2/MetricsServiceV2Settings.java (99%) rename gcloud-java-logging/src/main/java/com/google/{gcloud => cloud}/logging/spi/v2/testing/LocalLoggingHelper.java (98%) rename gcloud-java-logging/src/main/java/com/google/{gcloud => cloud}/logging/spi/v2/testing/LocalLoggingImpl.java (98%) rename gcloud-java-logging/src/test/java/com/google/{gcloud => cloud}/logging/spi/v2/LoggingServiceV2ApiTest.java (97%) diff --git a/gcloud-java-logging/baseline/src/main/java/com/google/gcloud/logging/spi/v2/ConfigServiceV2Api.java b/gcloud-java-logging/baseline/src/main/java/com/google/cloud/logging/spi/v2/ConfigServiceV2Api.java similarity index 99% rename from gcloud-java-logging/baseline/src/main/java/com/google/gcloud/logging/spi/v2/ConfigServiceV2Api.java rename to gcloud-java-logging/baseline/src/main/java/com/google/cloud/logging/spi/v2/ConfigServiceV2Api.java index cce77bc7cafd..350b8de61b1e 100644 --- a/gcloud-java-logging/baseline/src/main/java/com/google/gcloud/logging/spi/v2/ConfigServiceV2Api.java +++ b/gcloud-java-logging/baseline/src/main/java/com/google/cloud/logging/spi/v2/ConfigServiceV2Api.java @@ -31,7 +31,7 @@ * Happy editing! */ -package com.google.gcloud.logging.spi.v2; +package com.google.cloud.logging.spi.v2; import com.google.api.gax.grpc.ApiCallable; import com.google.api.gax.protobuf.PathTemplate; diff --git a/gcloud-java-logging/src/main/java/com/google/gcloud/logging/spi/v2/ConfigServiceV2Settings.java b/gcloud-java-logging/baseline/src/main/java/com/google/cloud/logging/spi/v2/ConfigServiceV2Settings.java similarity index 99% rename from gcloud-java-logging/src/main/java/com/google/gcloud/logging/spi/v2/ConfigServiceV2Settings.java rename to gcloud-java-logging/baseline/src/main/java/com/google/cloud/logging/spi/v2/ConfigServiceV2Settings.java index 3569f2b175ec..157f4b5d2427 100644 --- a/gcloud-java-logging/src/main/java/com/google/gcloud/logging/spi/v2/ConfigServiceV2Settings.java +++ b/gcloud-java-logging/baseline/src/main/java/com/google/cloud/logging/spi/v2/ConfigServiceV2Settings.java @@ -31,7 +31,7 @@ * Happy editing! */ -package com.google.gcloud.logging.spi.v2; +package com.google.cloud.logging.spi.v2; import com.google.api.gax.core.ConnectionSettings; import com.google.api.gax.core.RetrySettings; diff --git a/gcloud-java-logging/baseline/src/main/java/com/google/gcloud/logging/spi/v2/LoggingServiceV2Api.java b/gcloud-java-logging/baseline/src/main/java/com/google/cloud/logging/spi/v2/LoggingServiceV2Api.java similarity index 99% rename from gcloud-java-logging/baseline/src/main/java/com/google/gcloud/logging/spi/v2/LoggingServiceV2Api.java rename to gcloud-java-logging/baseline/src/main/java/com/google/cloud/logging/spi/v2/LoggingServiceV2Api.java index b1c6bd36f6ee..ead7c1b886aa 100644 --- a/gcloud-java-logging/baseline/src/main/java/com/google/gcloud/logging/spi/v2/LoggingServiceV2Api.java +++ b/gcloud-java-logging/baseline/src/main/java/com/google/cloud/logging/spi/v2/LoggingServiceV2Api.java @@ -31,7 +31,7 @@ * Happy editing! */ -package com.google.gcloud.logging.spi.v2; +package com.google.cloud.logging.spi.v2; import com.google.api.MonitoredResource; import com.google.api.MonitoredResourceDescriptor; diff --git a/gcloud-java-logging/src/main/java/com/google/gcloud/logging/spi/v2/LoggingServiceV2Settings.java b/gcloud-java-logging/baseline/src/main/java/com/google/cloud/logging/spi/v2/LoggingServiceV2Settings.java similarity index 99% rename from gcloud-java-logging/src/main/java/com/google/gcloud/logging/spi/v2/LoggingServiceV2Settings.java rename to gcloud-java-logging/baseline/src/main/java/com/google/cloud/logging/spi/v2/LoggingServiceV2Settings.java index 6b5827dd9f7f..da6ae99fd9a7 100644 --- a/gcloud-java-logging/src/main/java/com/google/gcloud/logging/spi/v2/LoggingServiceV2Settings.java +++ b/gcloud-java-logging/baseline/src/main/java/com/google/cloud/logging/spi/v2/LoggingServiceV2Settings.java @@ -31,7 +31,7 @@ * Happy editing! */ -package com.google.gcloud.logging.spi.v2; +package com.google.cloud.logging.spi.v2; import com.google.api.MonitoredResourceDescriptor; import com.google.api.gax.core.ConnectionSettings; diff --git a/gcloud-java-logging/baseline/src/main/java/com/google/gcloud/logging/spi/v2/MetricsServiceV2Api.java b/gcloud-java-logging/baseline/src/main/java/com/google/cloud/logging/spi/v2/MetricsServiceV2Api.java similarity index 99% rename from gcloud-java-logging/baseline/src/main/java/com/google/gcloud/logging/spi/v2/MetricsServiceV2Api.java rename to gcloud-java-logging/baseline/src/main/java/com/google/cloud/logging/spi/v2/MetricsServiceV2Api.java index c17ae8dddb00..a5f2306577b2 100644 --- a/gcloud-java-logging/baseline/src/main/java/com/google/gcloud/logging/spi/v2/MetricsServiceV2Api.java +++ b/gcloud-java-logging/baseline/src/main/java/com/google/cloud/logging/spi/v2/MetricsServiceV2Api.java @@ -31,7 +31,7 @@ * Happy editing! */ -package com.google.gcloud.logging.spi.v2; +package com.google.cloud.logging.spi.v2; import com.google.api.gax.grpc.ApiCallable; import com.google.api.gax.protobuf.PathTemplate; diff --git a/gcloud-java-logging/baseline/src/main/java/com/google/gcloud/logging/spi/v2/MetricsServiceV2Settings.java b/gcloud-java-logging/baseline/src/main/java/com/google/cloud/logging/spi/v2/MetricsServiceV2Settings.java similarity index 99% rename from gcloud-java-logging/baseline/src/main/java/com/google/gcloud/logging/spi/v2/MetricsServiceV2Settings.java rename to gcloud-java-logging/baseline/src/main/java/com/google/cloud/logging/spi/v2/MetricsServiceV2Settings.java index 1d38024fed11..316a9851bf11 100644 --- a/gcloud-java-logging/baseline/src/main/java/com/google/gcloud/logging/spi/v2/MetricsServiceV2Settings.java +++ b/gcloud-java-logging/baseline/src/main/java/com/google/cloud/logging/spi/v2/MetricsServiceV2Settings.java @@ -31,7 +31,7 @@ * Happy editing! */ -package com.google.gcloud.logging.spi.v2; +package com.google.cloud.logging.spi.v2; import com.google.api.gax.core.ConnectionSettings; import com.google.api.gax.core.RetrySettings; diff --git a/gcloud-java-logging/src/main/java/com/google/gcloud/logging/spi/v2/ConfigServiceV2Api.java b/gcloud-java-logging/src/main/java/com/google/cloud/logging/spi/v2/ConfigServiceV2Api.java similarity index 99% rename from gcloud-java-logging/src/main/java/com/google/gcloud/logging/spi/v2/ConfigServiceV2Api.java rename to gcloud-java-logging/src/main/java/com/google/cloud/logging/spi/v2/ConfigServiceV2Api.java index dc27c969e049..350b8de61b1e 100644 --- a/gcloud-java-logging/src/main/java/com/google/gcloud/logging/spi/v2/ConfigServiceV2Api.java +++ b/gcloud-java-logging/src/main/java/com/google/cloud/logging/spi/v2/ConfigServiceV2Api.java @@ -31,7 +31,7 @@ * Happy editing! */ -package com.google.gcloud.logging.spi.v2; +package com.google.cloud.logging.spi.v2; import com.google.api.gax.grpc.ApiCallable; import com.google.api.gax.protobuf.PathTemplate; @@ -43,9 +43,7 @@ import com.google.logging.v2.LogSink; import com.google.logging.v2.UpdateSinkRequest; import com.google.protobuf.Empty; - import io.grpc.ManagedChannel; - import java.io.Closeable; import java.io.IOException; import java.util.ArrayList; diff --git a/gcloud-java-logging/baseline/src/main/java/com/google/gcloud/logging/spi/v2/ConfigServiceV2Settings.java b/gcloud-java-logging/src/main/java/com/google/cloud/logging/spi/v2/ConfigServiceV2Settings.java similarity index 99% rename from gcloud-java-logging/baseline/src/main/java/com/google/gcloud/logging/spi/v2/ConfigServiceV2Settings.java rename to gcloud-java-logging/src/main/java/com/google/cloud/logging/spi/v2/ConfigServiceV2Settings.java index 3569f2b175ec..157f4b5d2427 100644 --- a/gcloud-java-logging/baseline/src/main/java/com/google/gcloud/logging/spi/v2/ConfigServiceV2Settings.java +++ b/gcloud-java-logging/src/main/java/com/google/cloud/logging/spi/v2/ConfigServiceV2Settings.java @@ -31,7 +31,7 @@ * Happy editing! */ -package com.google.gcloud.logging.spi.v2; +package com.google.cloud.logging.spi.v2; import com.google.api.gax.core.ConnectionSettings; import com.google.api.gax.core.RetrySettings; diff --git a/gcloud-java-logging/src/main/java/com/google/gcloud/logging/spi/v2/LoggingServiceV2Api.java b/gcloud-java-logging/src/main/java/com/google/cloud/logging/spi/v2/LoggingServiceV2Api.java similarity index 99% rename from gcloud-java-logging/src/main/java/com/google/gcloud/logging/spi/v2/LoggingServiceV2Api.java rename to gcloud-java-logging/src/main/java/com/google/cloud/logging/spi/v2/LoggingServiceV2Api.java index 1079cd07c435..ead7c1b886aa 100644 --- a/gcloud-java-logging/src/main/java/com/google/gcloud/logging/spi/v2/LoggingServiceV2Api.java +++ b/gcloud-java-logging/src/main/java/com/google/cloud/logging/spi/v2/LoggingServiceV2Api.java @@ -31,7 +31,7 @@ * Happy editing! */ -package com.google.gcloud.logging.spi.v2; +package com.google.cloud.logging.spi.v2; import com.google.api.MonitoredResource; import com.google.api.MonitoredResourceDescriptor; @@ -46,9 +46,7 @@ import com.google.logging.v2.WriteLogEntriesRequest; import com.google.logging.v2.WriteLogEntriesResponse; import com.google.protobuf.Empty; - import io.grpc.ManagedChannel; - import java.io.Closeable; import java.io.IOException; import java.util.ArrayList; diff --git a/gcloud-java-logging/baseline/src/main/java/com/google/gcloud/logging/spi/v2/LoggingServiceV2Settings.java b/gcloud-java-logging/src/main/java/com/google/cloud/logging/spi/v2/LoggingServiceV2Settings.java similarity index 99% rename from gcloud-java-logging/baseline/src/main/java/com/google/gcloud/logging/spi/v2/LoggingServiceV2Settings.java rename to gcloud-java-logging/src/main/java/com/google/cloud/logging/spi/v2/LoggingServiceV2Settings.java index 6b5827dd9f7f..da6ae99fd9a7 100644 --- a/gcloud-java-logging/baseline/src/main/java/com/google/gcloud/logging/spi/v2/LoggingServiceV2Settings.java +++ b/gcloud-java-logging/src/main/java/com/google/cloud/logging/spi/v2/LoggingServiceV2Settings.java @@ -31,7 +31,7 @@ * Happy editing! */ -package com.google.gcloud.logging.spi.v2; +package com.google.cloud.logging.spi.v2; import com.google.api.MonitoredResourceDescriptor; import com.google.api.gax.core.ConnectionSettings; diff --git a/gcloud-java-logging/src/main/java/com/google/gcloud/logging/spi/v2/MetricsServiceV2Api.java b/gcloud-java-logging/src/main/java/com/google/cloud/logging/spi/v2/MetricsServiceV2Api.java similarity index 99% rename from gcloud-java-logging/src/main/java/com/google/gcloud/logging/spi/v2/MetricsServiceV2Api.java rename to gcloud-java-logging/src/main/java/com/google/cloud/logging/spi/v2/MetricsServiceV2Api.java index 18821de2028f..a5f2306577b2 100644 --- a/gcloud-java-logging/src/main/java/com/google/gcloud/logging/spi/v2/MetricsServiceV2Api.java +++ b/gcloud-java-logging/src/main/java/com/google/cloud/logging/spi/v2/MetricsServiceV2Api.java @@ -31,7 +31,7 @@ * Happy editing! */ -package com.google.gcloud.logging.spi.v2; +package com.google.cloud.logging.spi.v2; import com.google.api.gax.grpc.ApiCallable; import com.google.api.gax.protobuf.PathTemplate; @@ -43,9 +43,7 @@ import com.google.logging.v2.LogMetric; import com.google.logging.v2.UpdateLogMetricRequest; import com.google.protobuf.Empty; - import io.grpc.ManagedChannel; - import java.io.Closeable; import java.io.IOException; import java.util.ArrayList; diff --git a/gcloud-java-logging/src/main/java/com/google/gcloud/logging/spi/v2/MetricsServiceV2Settings.java b/gcloud-java-logging/src/main/java/com/google/cloud/logging/spi/v2/MetricsServiceV2Settings.java similarity index 99% rename from gcloud-java-logging/src/main/java/com/google/gcloud/logging/spi/v2/MetricsServiceV2Settings.java rename to gcloud-java-logging/src/main/java/com/google/cloud/logging/spi/v2/MetricsServiceV2Settings.java index 1d38024fed11..316a9851bf11 100644 --- a/gcloud-java-logging/src/main/java/com/google/gcloud/logging/spi/v2/MetricsServiceV2Settings.java +++ b/gcloud-java-logging/src/main/java/com/google/cloud/logging/spi/v2/MetricsServiceV2Settings.java @@ -31,7 +31,7 @@ * Happy editing! */ -package com.google.gcloud.logging.spi.v2; +package com.google.cloud.logging.spi.v2; import com.google.api.gax.core.ConnectionSettings; import com.google.api.gax.core.RetrySettings; diff --git a/gcloud-java-logging/src/main/java/com/google/gcloud/logging/spi/v2/testing/LocalLoggingHelper.java b/gcloud-java-logging/src/main/java/com/google/cloud/logging/spi/v2/testing/LocalLoggingHelper.java similarity index 98% rename from gcloud-java-logging/src/main/java/com/google/gcloud/logging/spi/v2/testing/LocalLoggingHelper.java rename to gcloud-java-logging/src/main/java/com/google/cloud/logging/spi/v2/testing/LocalLoggingHelper.java index e7684b6742da..21c6a7bbecfa 100644 --- a/gcloud-java-logging/src/main/java/com/google/gcloud/logging/spi/v2/testing/LocalLoggingHelper.java +++ b/gcloud-java-logging/src/main/java/com/google/cloud/logging/spi/v2/testing/LocalLoggingHelper.java @@ -12,7 +12,7 @@ * the License. */ -package com.google.gcloud.logging.spi.v2.testing; +package com.google.cloud.logging.spi.v2.testing; import com.google.logging.v2.LoggingServiceV2Grpc; diff --git a/gcloud-java-logging/src/main/java/com/google/gcloud/logging/spi/v2/testing/LocalLoggingImpl.java b/gcloud-java-logging/src/main/java/com/google/cloud/logging/spi/v2/testing/LocalLoggingImpl.java similarity index 98% rename from gcloud-java-logging/src/main/java/com/google/gcloud/logging/spi/v2/testing/LocalLoggingImpl.java rename to gcloud-java-logging/src/main/java/com/google/cloud/logging/spi/v2/testing/LocalLoggingImpl.java index 8c8e18426253..142c48b248e0 100644 --- a/gcloud-java-logging/src/main/java/com/google/gcloud/logging/spi/v2/testing/LocalLoggingImpl.java +++ b/gcloud-java-logging/src/main/java/com/google/cloud/logging/spi/v2/testing/LocalLoggingImpl.java @@ -12,7 +12,7 @@ * the License. */ -package com.google.gcloud.logging.spi.v2.testing; +package com.google.cloud.logging.spi.v2.testing; import com.google.logging.v2.DeleteLogRequest; import com.google.logging.v2.ListLogEntriesRequest; diff --git a/gcloud-java-logging/src/test/java/com/google/gcloud/logging/spi/v2/LoggingServiceV2ApiTest.java b/gcloud-java-logging/src/test/java/com/google/cloud/logging/spi/v2/LoggingServiceV2ApiTest.java similarity index 97% rename from gcloud-java-logging/src/test/java/com/google/gcloud/logging/spi/v2/LoggingServiceV2ApiTest.java rename to gcloud-java-logging/src/test/java/com/google/cloud/logging/spi/v2/LoggingServiceV2ApiTest.java index 1379bd4b558d..cde54a4966e7 100644 --- a/gcloud-java-logging/src/test/java/com/google/gcloud/logging/spi/v2/LoggingServiceV2ApiTest.java +++ b/gcloud-java-logging/src/test/java/com/google/cloud/logging/spi/v2/LoggingServiceV2ApiTest.java @@ -12,11 +12,11 @@ * the License. */ -package com.google.gcloud.logging.spi.v2; +package com.google.cloud.logging.spi.v2; import com.google.api.MonitoredResource; import com.google.common.collect.Iterables; -import com.google.gcloud.logging.spi.v2.testing.LocalLoggingHelper; +import com.google.cloud.logging.spi.v2.testing.LocalLoggingHelper; import com.google.logging.v2.LogEntry; import org.junit.After;