Interface Box2D.PbVec2OrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    Box2D.PbVec2, Box2D.PbVec2.Builder
    Enclosing class:
    Box2D

    public static interface Box2D.PbVec2OrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      float getX()
      required float x = 1;
      float getY()
      required float y = 2;
      boolean hasX()
      required float x = 1;
      boolean hasY()
      required float y = 2;
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • hasX

        boolean hasX()
        required float x = 1;
        Returns:
        Whether the x field is set.
      • getX

        float getX()
        required float x = 1;
        Returns:
        The x.
      • hasY

        boolean hasY()
        required float y = 2;
        Returns:
        Whether the y field is set.
      • getY

        float getY()
        required float y = 2;
        Returns:
        The y.