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

    Modifier and Type
    Method
    Description
    float
    required float x = 1;
    float
    required float y = 2;
    boolean
    required float x = 1;
    boolean
    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 Details

    • 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.