changeset 110:8ae522e1a4bf

add jar (junit and protobuf)
author kazz
date Wed, 04 Aug 2010 21:41:39 +0900
parents 8cec713e5abf
children 29ed7feebf2a
files .classpath build.xml lib/junit.jar lib/protobuf-java-2.3.0.jar src/fdl/FederatedLinda.java src/fdl/protobuf/Aqua.java
diffstat 6 files changed, 767 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/.classpath	Mon Jul 26 00:40:23 2010 +0900
+++ b/.classpath	Wed Aug 04 21:41:39 2010 +0900
@@ -2,6 +2,7 @@
 <classpath>
 	<classpathentry kind="src" path="src"/>
 	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
-	<classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/4"/>
+	<classpathentry kind="lib" path="lib/protobuf-java-2.3.0.jar"/>
+	<classpathentry kind="lib" path="lib/junit.jar"/>
 	<classpathentry kind="output" path="bin"/>
 </classpath>
--- a/build.xml	Mon Jul 26 00:40:23 2010 +0900
+++ b/build.xml	Wed Aug 04 21:41:39 2010 +0900
@@ -18,7 +18,9 @@
   <!-- ****ターゲット**** -->
   <!-- jarファイルの作成 -->
   <target name="jar" depends="compile">
-    <jar jarfile="${jar}" basedir="${classes}"></jar>
+    <jar jarfile="${jar}" basedir="${classes}">
+        <zipgroupfileset dir="lib" includes="*.jar" />
+	</jar>
   </target>
 
 
@@ -27,6 +29,10 @@
     <mkdir dir="${classes}" />
     <javac encoding="UTF-8" srcdir="src" destdir="${classes}" fork="yes">
         <compilerarg value="-J-Dfile.encoding=UTF8"/>
+    	<classpath>
+    		<pathelement path="lib/protobuf-java-2.3.0.jar" />
+    		<pathelement path="lib/junit.jar" />
+    	</classpath>
         <sourcepath>
          <pathelement path="src"/>
         </sourcepath>
Binary file lib/junit.jar has changed
Binary file lib/protobuf-java-2.3.0.jar has changed
--- a/src/fdl/FederatedLinda.java	Mon Jul 26 00:40:23 2010 +0900
+++ b/src/fdl/FederatedLinda.java	Wed Aug 04 21:41:39 2010 +0900
@@ -17,7 +17,6 @@
 import java.nio.channels.ClosedSelectorException;
 import java.nio.channels.SelectionKey;
 import java.nio.channels.Selector;
-import java.nio.channels.spi.AbstractSelector;
 import java.util.Hashtable;
 import java.util.Iterator;
 import java.util.logging.Level;
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/fdl/protobuf/Aqua.java	Wed Aug 04 21:41:39 2010 +0900
@@ -0,0 +1,758 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: aquarium.proto
+
+package fdl.protobuf;
+
+public final class Aqua {
+  private Aqua() {}
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistry registry) {
+  }
+  public static final class Width extends
+      com.google.protobuf.GeneratedMessage {
+    // Use Width.newBuilder() to construct.
+    private Width() {
+      initFields();
+    }
+    private Width(boolean noInit) {}
+    
+    private static final Width defaultInstance;
+    public static Width getDefaultInstance() {
+      return defaultInstance;
+    }
+    
+    public Width getDefaultInstanceForType() {
+      return defaultInstance;
+    }
+    
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return fdl.protobuf.Aqua.internal_static_aqua_Width_descriptor;
+    }
+    
+    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+        internalGetFieldAccessorTable() {
+      return fdl.protobuf.Aqua.internal_static_aqua_Width_fieldAccessorTable;
+    }
+    
+    // required int32 width = 1;
+    public static final int WIDTH_FIELD_NUMBER = 1;
+    private boolean hasWidth;
+    private int width_ = 0;
+    public boolean hasWidth() { return hasWidth; }
+    public int getWidth() { return width_; }
+    
+    private void initFields() {
+    }
+    public final boolean isInitialized() {
+      if (!hasWidth) return false;
+      return true;
+    }
+    
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
+      getSerializedSize();
+      if (hasWidth()) {
+        output.writeInt32(1, getWidth());
+      }
+      getUnknownFields().writeTo(output);
+    }
+    
+    private int memoizedSerializedSize = -1;
+    public int getSerializedSize() {
+      int size = memoizedSerializedSize;
+      if (size != -1) return size;
+    
+      size = 0;
+      if (hasWidth()) {
+        size += com.google.protobuf.CodedOutputStream
+          .computeInt32Size(1, getWidth());
+      }
+      size += getUnknownFields().getSerializedSize();
+      memoizedSerializedSize = size;
+      return size;
+    }
+    
+    public static fdl.protobuf.Aqua.Width parseFrom(
+        com.google.protobuf.ByteString data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return newBuilder().mergeFrom(data).buildParsed();
+    }
+    public static fdl.protobuf.Aqua.Width parseFrom(
+        com.google.protobuf.ByteString data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return newBuilder().mergeFrom(data, extensionRegistry)
+               .buildParsed();
+    }
+    public static fdl.protobuf.Aqua.Width parseFrom(byte[] data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return newBuilder().mergeFrom(data).buildParsed();
+    }
+    public static fdl.protobuf.Aqua.Width parseFrom(
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return newBuilder().mergeFrom(data, extensionRegistry)
+               .buildParsed();
+    }
+    public static fdl.protobuf.Aqua.Width parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return newBuilder().mergeFrom(input).buildParsed();
+    }
+    public static fdl.protobuf.Aqua.Width parseFrom(
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws java.io.IOException {
+      return newBuilder().mergeFrom(input, extensionRegistry)
+               .buildParsed();
+    }
+    public static fdl.protobuf.Aqua.Width parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      Builder builder = newBuilder();
+      if (builder.mergeDelimitedFrom(input)) {
+        return builder.buildParsed();
+      } else {
+        return null;
+      }
+    }
+    public static fdl.protobuf.Aqua.Width parseDelimitedFrom(
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws java.io.IOException {
+      Builder builder = newBuilder();
+      if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
+        return builder.buildParsed();
+      } else {
+        return null;
+      }
+    }
+    public static fdl.protobuf.Aqua.Width parseFrom(
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return newBuilder().mergeFrom(input).buildParsed();
+    }
+    public static fdl.protobuf.Aqua.Width parseFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws java.io.IOException {
+      return newBuilder().mergeFrom(input, extensionRegistry)
+               .buildParsed();
+    }
+    
+    public static Builder newBuilder() { return Builder.create(); }
+    public Builder newBuilderForType() { return newBuilder(); }
+    public static Builder newBuilder(fdl.protobuf.Aqua.Width prototype) {
+      return newBuilder().mergeFrom(prototype);
+    }
+    public Builder toBuilder() { return newBuilder(this); }
+    
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessage.Builder<Builder> {
+      private fdl.protobuf.Aqua.Width result;
+      
+      // Construct using fdl.protobuf.Aqua.Width.newBuilder()
+      private Builder() {}
+      
+      private static Builder create() {
+        Builder builder = new Builder();
+        builder.result = new fdl.protobuf.Aqua.Width();
+        return builder;
+      }
+      
+      protected fdl.protobuf.Aqua.Width internalGetResult() {
+        return result;
+      }
+      
+      public Builder clear() {
+        if (result == null) {
+          throw new IllegalStateException(
+            "Cannot call clear() after build().");
+        }
+        result = new fdl.protobuf.Aqua.Width();
+        return this;
+      }
+      
+      public Builder clone() {
+        return create().mergeFrom(result);
+      }
+      
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return fdl.protobuf.Aqua.Width.getDescriptor();
+      }
+      
+      public fdl.protobuf.Aqua.Width getDefaultInstanceForType() {
+        return fdl.protobuf.Aqua.Width.getDefaultInstance();
+      }
+      
+      public boolean isInitialized() {
+        return result.isInitialized();
+      }
+      public fdl.protobuf.Aqua.Width build() {
+        if (result != null && !isInitialized()) {
+          throw newUninitializedMessageException(result);
+        }
+        return buildPartial();
+      }
+      
+      private fdl.protobuf.Aqua.Width buildParsed()
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        if (!isInitialized()) {
+          throw newUninitializedMessageException(
+            result).asInvalidProtocolBufferException();
+        }
+        return buildPartial();
+      }
+      
+      public fdl.protobuf.Aqua.Width buildPartial() {
+        if (result == null) {
+          throw new IllegalStateException(
+            "build() has already been called on this Builder.");
+        }
+        fdl.protobuf.Aqua.Width returnMe = result;
+        result = null;
+        return returnMe;
+      }
+      
+      public Builder mergeFrom(com.google.protobuf.Message other) {
+        if (other instanceof fdl.protobuf.Aqua.Width) {
+          return mergeFrom((fdl.protobuf.Aqua.Width)other);
+        } else {
+          super.mergeFrom(other);
+          return this;
+        }
+      }
+      
+      public Builder mergeFrom(fdl.protobuf.Aqua.Width other) {
+        if (other == fdl.protobuf.Aqua.Width.getDefaultInstance()) return this;
+        if (other.hasWidth()) {
+          setWidth(other.getWidth());
+        }
+        this.mergeUnknownFields(other.getUnknownFields());
+        return this;
+      }
+      
+      public Builder mergeFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws java.io.IOException {
+        com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+          com.google.protobuf.UnknownFieldSet.newBuilder(
+            this.getUnknownFields());
+        while (true) {
+          int tag = input.readTag();
+          switch (tag) {
+            case 0:
+              this.setUnknownFields(unknownFields.build());
+              return this;
+            default: {
+              if (!parseUnknownField(input, unknownFields,
+                                     extensionRegistry, tag)) {
+                this.setUnknownFields(unknownFields.build());
+                return this;
+              }
+              break;
+            }
+            case 8: {
+              setWidth(input.readInt32());
+              break;
+            }
+          }
+        }
+      }
+      
+      
+      // required int32 width = 1;
+      public boolean hasWidth() {
+        return result.hasWidth();
+      }
+      public int getWidth() {
+        return result.getWidth();
+      }
+      public Builder setWidth(int value) {
+        result.hasWidth = true;
+        result.width_ = value;
+        return this;
+      }
+      public Builder clearWidth() {
+        result.hasWidth = false;
+        result.width_ = 0;
+        return this;
+      }
+      
+      // @@protoc_insertion_point(builder_scope:aqua.Width)
+    }
+    
+    static {
+      defaultInstance = new Width(true);
+      fdl.protobuf.Aqua.internalForceInit();
+      defaultInstance.initFields();
+    }
+    
+    // @@protoc_insertion_point(class_scope:aqua.Width)
+  }
+  
+  public static final class Position extends
+      com.google.protobuf.GeneratedMessage {
+    // Use Position.newBuilder() to construct.
+    private Position() {
+      initFields();
+    }
+    private Position(boolean noInit) {}
+    
+    private static final Position defaultInstance;
+    public static Position getDefaultInstance() {
+      return defaultInstance;
+    }
+    
+    public Position getDefaultInstanceForType() {
+      return defaultInstance;
+    }
+    
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return fdl.protobuf.Aqua.internal_static_aqua_Position_descriptor;
+    }
+    
+    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+        internalGetFieldAccessorTable() {
+      return fdl.protobuf.Aqua.internal_static_aqua_Position_fieldAccessorTable;
+    }
+    
+    // required float x = 1;
+    public static final int X_FIELD_NUMBER = 1;
+    private boolean hasX;
+    private float x_ = 0F;
+    public boolean hasX() { return hasX; }
+    public float getX() { return x_; }
+    
+    // required float y = 2;
+    public static final int Y_FIELD_NUMBER = 2;
+    private boolean hasY;
+    private float y_ = 0F;
+    public boolean hasY() { return hasY; }
+    public float getY() { return y_; }
+    
+    // required float angle_x = 3;
+    public static final int ANGLE_X_FIELD_NUMBER = 3;
+    private boolean hasAngleX;
+    private float angleX_ = 0F;
+    public boolean hasAngleX() { return hasAngleX; }
+    public float getAngleX() { return angleX_; }
+    
+    // required float angle_y = 4;
+    public static final int ANGLE_Y_FIELD_NUMBER = 4;
+    private boolean hasAngleY;
+    private float angleY_ = 0F;
+    public boolean hasAngleY() { return hasAngleY; }
+    public float getAngleY() { return angleY_; }
+    
+    private void initFields() {
+    }
+    public final boolean isInitialized() {
+      if (!hasX) return false;
+      if (!hasY) return false;
+      if (!hasAngleX) return false;
+      if (!hasAngleY) return false;
+      return true;
+    }
+    
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
+      getSerializedSize();
+      if (hasX()) {
+        output.writeFloat(1, getX());
+      }
+      if (hasY()) {
+        output.writeFloat(2, getY());
+      }
+      if (hasAngleX()) {
+        output.writeFloat(3, getAngleX());
+      }
+      if (hasAngleY()) {
+        output.writeFloat(4, getAngleY());
+      }
+      getUnknownFields().writeTo(output);
+    }
+    
+    private int memoizedSerializedSize = -1;
+    public int getSerializedSize() {
+      int size = memoizedSerializedSize;
+      if (size != -1) return size;
+    
+      size = 0;
+      if (hasX()) {
+        size += com.google.protobuf.CodedOutputStream
+          .computeFloatSize(1, getX());
+      }
+      if (hasY()) {
+        size += com.google.protobuf.CodedOutputStream
+          .computeFloatSize(2, getY());
+      }
+      if (hasAngleX()) {
+        size += com.google.protobuf.CodedOutputStream
+          .computeFloatSize(3, getAngleX());
+      }
+      if (hasAngleY()) {
+        size += com.google.protobuf.CodedOutputStream
+          .computeFloatSize(4, getAngleY());
+      }
+      size += getUnknownFields().getSerializedSize();
+      memoizedSerializedSize = size;
+      return size;
+    }
+    
+    public static fdl.protobuf.Aqua.Position parseFrom(
+        com.google.protobuf.ByteString data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return newBuilder().mergeFrom(data).buildParsed();
+    }
+    public static fdl.protobuf.Aqua.Position parseFrom(
+        com.google.protobuf.ByteString data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return newBuilder().mergeFrom(data, extensionRegistry)
+               .buildParsed();
+    }
+    public static fdl.protobuf.Aqua.Position parseFrom(byte[] data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return newBuilder().mergeFrom(data).buildParsed();
+    }
+    public static fdl.protobuf.Aqua.Position parseFrom(
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return newBuilder().mergeFrom(data, extensionRegistry)
+               .buildParsed();
+    }
+    public static fdl.protobuf.Aqua.Position parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return newBuilder().mergeFrom(input).buildParsed();
+    }
+    public static fdl.protobuf.Aqua.Position parseFrom(
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws java.io.IOException {
+      return newBuilder().mergeFrom(input, extensionRegistry)
+               .buildParsed();
+    }
+    public static fdl.protobuf.Aqua.Position parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      Builder builder = newBuilder();
+      if (builder.mergeDelimitedFrom(input)) {
+        return builder.buildParsed();
+      } else {
+        return null;
+      }
+    }
+    public static fdl.protobuf.Aqua.Position parseDelimitedFrom(
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws java.io.IOException {
+      Builder builder = newBuilder();
+      if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
+        return builder.buildParsed();
+      } else {
+        return null;
+      }
+    }
+    public static fdl.protobuf.Aqua.Position parseFrom(
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return newBuilder().mergeFrom(input).buildParsed();
+    }
+    public static fdl.protobuf.Aqua.Position parseFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws java.io.IOException {
+      return newBuilder().mergeFrom(input, extensionRegistry)
+               .buildParsed();
+    }
+    
+    public static Builder newBuilder() { return Builder.create(); }
+    public Builder newBuilderForType() { return newBuilder(); }
+    public static Builder newBuilder(fdl.protobuf.Aqua.Position prototype) {
+      return newBuilder().mergeFrom(prototype);
+    }
+    public Builder toBuilder() { return newBuilder(this); }
+    
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessage.Builder<Builder> {
+      private fdl.protobuf.Aqua.Position result;
+      
+      // Construct using fdl.protobuf.Aqua.Position.newBuilder()
+      private Builder() {}
+      
+      private static Builder create() {
+        Builder builder = new Builder();
+        builder.result = new fdl.protobuf.Aqua.Position();
+        return builder;
+      }
+      
+      protected fdl.protobuf.Aqua.Position internalGetResult() {
+        return result;
+      }
+      
+      public Builder clear() {
+        if (result == null) {
+          throw new IllegalStateException(
+            "Cannot call clear() after build().");
+        }
+        result = new fdl.protobuf.Aqua.Position();
+        return this;
+      }
+      
+      public Builder clone() {
+        return create().mergeFrom(result);
+      }
+      
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return fdl.protobuf.Aqua.Position.getDescriptor();
+      }
+      
+      public fdl.protobuf.Aqua.Position getDefaultInstanceForType() {
+        return fdl.protobuf.Aqua.Position.getDefaultInstance();
+      }
+      
+      public boolean isInitialized() {
+        return result.isInitialized();
+      }
+      public fdl.protobuf.Aqua.Position build() {
+        if (result != null && !isInitialized()) {
+          throw newUninitializedMessageException(result);
+        }
+        return buildPartial();
+      }
+      
+      private fdl.protobuf.Aqua.Position buildParsed()
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        if (!isInitialized()) {
+          throw newUninitializedMessageException(
+            result).asInvalidProtocolBufferException();
+        }
+        return buildPartial();
+      }
+      
+      public fdl.protobuf.Aqua.Position buildPartial() {
+        if (result == null) {
+          throw new IllegalStateException(
+            "build() has already been called on this Builder.");
+        }
+        fdl.protobuf.Aqua.Position returnMe = result;
+        result = null;
+        return returnMe;
+      }
+      
+      public Builder mergeFrom(com.google.protobuf.Message other) {
+        if (other instanceof fdl.protobuf.Aqua.Position) {
+          return mergeFrom((fdl.protobuf.Aqua.Position)other);
+        } else {
+          super.mergeFrom(other);
+          return this;
+        }
+      }
+      
+      public Builder mergeFrom(fdl.protobuf.Aqua.Position other) {
+        if (other == fdl.protobuf.Aqua.Position.getDefaultInstance()) return this;
+        if (other.hasX()) {
+          setX(other.getX());
+        }
+        if (other.hasY()) {
+          setY(other.getY());
+        }
+        if (other.hasAngleX()) {
+          setAngleX(other.getAngleX());
+        }
+        if (other.hasAngleY()) {
+          setAngleY(other.getAngleY());
+        }
+        this.mergeUnknownFields(other.getUnknownFields());
+        return this;
+      }
+      
+      public Builder mergeFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws java.io.IOException {
+        com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+          com.google.protobuf.UnknownFieldSet.newBuilder(
+            this.getUnknownFields());
+        while (true) {
+          int tag = input.readTag();
+          switch (tag) {
+            case 0:
+              this.setUnknownFields(unknownFields.build());
+              return this;
+            default: {
+              if (!parseUnknownField(input, unknownFields,
+                                     extensionRegistry, tag)) {
+                this.setUnknownFields(unknownFields.build());
+                return this;
+              }
+              break;
+            }
+            case 13: {
+              setX(input.readFloat());
+              break;
+            }
+            case 21: {
+              setY(input.readFloat());
+              break;
+            }
+            case 29: {
+              setAngleX(input.readFloat());
+              break;
+            }
+            case 37: {
+              setAngleY(input.readFloat());
+              break;
+            }
+          }
+        }
+      }
+      
+      
+      // required float x = 1;
+      public boolean hasX() {
+        return result.hasX();
+      }
+      public float getX() {
+        return result.getX();
+      }
+      public Builder setX(float value) {
+        result.hasX = true;
+        result.x_ = value;
+        return this;
+      }
+      public Builder clearX() {
+        result.hasX = false;
+        result.x_ = 0F;
+        return this;
+      }
+      
+      // required float y = 2;
+      public boolean hasY() {
+        return result.hasY();
+      }
+      public float getY() {
+        return result.getY();
+      }
+      public Builder setY(float value) {
+        result.hasY = true;
+        result.y_ = value;
+        return this;
+      }
+      public Builder clearY() {
+        result.hasY = false;
+        result.y_ = 0F;
+        return this;
+      }
+      
+      // required float angle_x = 3;
+      public boolean hasAngleX() {
+        return result.hasAngleX();
+      }
+      public float getAngleX() {
+        return result.getAngleX();
+      }
+      public Builder setAngleX(float value) {
+        result.hasAngleX = true;
+        result.angleX_ = value;
+        return this;
+      }
+      public Builder clearAngleX() {
+        result.hasAngleX = false;
+        result.angleX_ = 0F;
+        return this;
+      }
+      
+      // required float angle_y = 4;
+      public boolean hasAngleY() {
+        return result.hasAngleY();
+      }
+      public float getAngleY() {
+        return result.getAngleY();
+      }
+      public Builder setAngleY(float value) {
+        result.hasAngleY = true;
+        result.angleY_ = value;
+        return this;
+      }
+      public Builder clearAngleY() {
+        result.hasAngleY = false;
+        result.angleY_ = 0F;
+        return this;
+      }
+      
+      // @@protoc_insertion_point(builder_scope:aqua.Position)
+    }
+    
+    static {
+      defaultInstance = new Position(true);
+      fdl.protobuf.Aqua.internalForceInit();
+      defaultInstance.initFields();
+    }
+    
+    // @@protoc_insertion_point(class_scope:aqua.Position)
+  }
+  
+  private static com.google.protobuf.Descriptors.Descriptor
+    internal_static_aqua_Width_descriptor;
+  private static
+    com.google.protobuf.GeneratedMessage.FieldAccessorTable
+      internal_static_aqua_Width_fieldAccessorTable;
+  private static com.google.protobuf.Descriptors.Descriptor
+    internal_static_aqua_Position_descriptor;
+  private static
+    com.google.protobuf.GeneratedMessage.FieldAccessorTable
+      internal_static_aqua_Position_fieldAccessorTable;
+  
+  public static com.google.protobuf.Descriptors.FileDescriptor
+      getDescriptor() {
+    return descriptor;
+  }
+  private static com.google.protobuf.Descriptors.FileDescriptor
+      descriptor;
+  static {
+    java.lang.String[] descriptorData = {
+      "\n\016aquarium.proto\022\004aqua\"\026\n\005Width\022\r\n\005width" +
+      "\030\001 \002(\005\"B\n\010Position\022\t\n\001x\030\001 \002(\002\022\t\n\001y\030\002 \002(\002" +
+      "\022\017\n\007angle_x\030\003 \002(\002\022\017\n\007angle_y\030\004 \002(\002B\024\n\014fd" +
+      "l.protobufB\004Aqua"
+    };
+    com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
+      new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
+        public com.google.protobuf.ExtensionRegistry assignDescriptors(
+            com.google.protobuf.Descriptors.FileDescriptor root) {
+          descriptor = root;
+          internal_static_aqua_Width_descriptor =
+            getDescriptor().getMessageTypes().get(0);
+          internal_static_aqua_Width_fieldAccessorTable = new
+            com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+              internal_static_aqua_Width_descriptor,
+              new java.lang.String[] { "Width", },
+              fdl.protobuf.Aqua.Width.class,
+              fdl.protobuf.Aqua.Width.Builder.class);
+          internal_static_aqua_Position_descriptor =
+            getDescriptor().getMessageTypes().get(1);
+          internal_static_aqua_Position_fieldAccessorTable = new
+            com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+              internal_static_aqua_Position_descriptor,
+              new java.lang.String[] { "X", "Y", "AngleX", "AngleY", },
+              fdl.protobuf.Aqua.Position.class,
+              fdl.protobuf.Aqua.Position.Builder.class);
+          return null;
+        }
+      };
+    com.google.protobuf.Descriptors.FileDescriptor
+      .internalBuildGeneratedFileFrom(descriptorData,
+        new com.google.protobuf.Descriptors.FileDescriptor[] {
+        }, assigner);
+  }
+  
+  public static void internalForceInit() {}
+  
+  // @@protoc_insertion_point(outer_class_scope)
+}