/** * Return trues if this type represents a map. */ public boolean isMap() { return card == Cardinality.REPEATED && kind == Type.TYPE_MESSAGE && messageType.getProto().getOptions().getMapEntry(); }
/** * Returns true if the type is generated for Map entry. */ public boolean isMapEntry() { return getProto().getOptions().getMapEntry(); }
/** * Returns true if the type is generated for Map entry. */ public boolean isMapEntry() { return getProto().getOptions().getMapEntry(); }
/** * Return trues if this type represents a map. */ public boolean isMap() { return card == Cardinality.REPEATED && kind == Type.TYPE_MESSAGE && messageType.getProto().getOptions().getMapEntry(); }