Skip to content

Commit

Permalink
Update sdk pregenerated protos to 0.5.160304
Browse files Browse the repository at this point in the history
Make pre-generated proto libraries a test-only dep
  • Loading branch information
dpmills authored and davorbonaci committed Mar 8, 2016
1 parent 5d0a91b commit 54c933b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 12 deletions.
13 changes: 7 additions & 6 deletions sdk/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -452,12 +452,6 @@
</exclusions>
</dependency>

<dependency>
<groupId>com.google.cloud.dataflow</groupId>
<artifactId>google-cloud-dataflow-java-proto-library-all</artifactId>
<version>0.5.160222</version>
</dependency>

<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-all</artifactId>
Expand Down Expand Up @@ -815,5 +809,12 @@
<version>1.10.19</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>com.google.cloud.dataflow</groupId>
<artifactId>google-cloud-dataflow-java-proto-library-all</artifactId>
<version>0.5.160304</version>
<scope>test</scope>
</dependency>
</dependencies>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@
import com.google.cloud.dataflow.sdk.coders.CoderException;
import com.google.cloud.dataflow.sdk.coders.CoderProvider;
import com.google.cloud.dataflow.sdk.coders.CoderRegistry;
import com.google.cloud.dataflow.sdk.coders.Proto2CoderTestMessages;
import com.google.cloud.dataflow.sdk.coders.Proto2CoderTestMessages.MessageA;
import com.google.cloud.dataflow.sdk.util.CloudObject;
import com.google.cloud.dataflow.sdk.util.Structs;
import com.google.cloud.dataflow.sdk.values.PCollection;
Expand Down Expand Up @@ -147,10 +145,7 @@ public static <T extends Message> ProtoCoder<T> of(TypeDescriptor<T> protoMessag
* registered.
*
* <p>Each of the extension host classes must be an class automatically generated by the
* Protocol Buffers compiler, {@code protoc}, that contains messages. For example, the class
* {@link Proto2CoderTestMessages} is the extension host for the {@link Message} classes
* {@link MessageA Proto2CoderTestMessages.MessageA} and the class {@link DatastoreV1} is the
* extension host for the Google Cloud Datastore {@link Entity} entity type.
* Protocol Buffers compiler, {@code protoc}, that contains messages.
*
* <p>Does not modify this object.
*/
Expand Down

0 comments on commit 54c933b

Please sign in to comment.