com.google.appengine.api.datastore

## Class IndexTranslator

- java.lang.Object
- - com.google.appengine.api.datastore.IndexTranslator

-     public class IndexTranslator
      extends java.lang.Object

  Helper class to translate between `Index` to `com.google.storage.onestore.v3.OnestoreEntity.Index`.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `IndexTranslator()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static Index` | `convertFromPb(OnestoreEntity.CompositeIndex ci)`
    `static Index.Property` | `convertFromPb(OnestoreEntity.Index.Property property)`
    `static Index` | `convertFromPb(OnestoreEntity.Index index)`
    `static OnestoreEntity.Index.Property` | `convertToPb(Index.Property property)`
    `static OnestoreEntity.Index` | `convertToPb(Index index)`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### IndexTranslator

          public IndexTranslator()

  - ### Method Detail

    - #### convertToPb

          public static OnestoreEntity.Index convertToPb(Index index)

    - #### convertToPb

          public static OnestoreEntity.Index.Property convertToPb(Index.Property property)

    - #### convertFromPb

          public static Index convertFromPb(OnestoreEntity.CompositeIndex ci)

    - #### convertFromPb

          public static Index.Property convertFromPb(OnestoreEntity.Index.Property property)

    - #### convertFromPb

          public static Index convertFromPb(OnestoreEntity.Index index)