public UUIDType getUUID() { if (getSetField() == _Fields.UUID) { return (UUIDType)getFieldValue(); } else { throw new RuntimeException("Cannot get field 'UUID' because union is currently set to " + getFieldDesc(getSetField()).name); } }
public BsonType getBSON() { if (getSetField() == _Fields.BSON) { return (BsonType)getFieldValue(); } else { throw new java.lang.RuntimeException("Cannot get field 'BSON' because union is currently set to " + getFieldDesc(getSetField()).name); } }
public EnumType getENUM() { if (getSetField() == _Fields.ENUM) { return (EnumType)getFieldValue(); } else { throw new RuntimeException("Cannot get field 'ENUM' because union is currently set to " + getFieldDesc(getSetField()).name); } }
public TimestampType getTIMESTAMP() { if (getSetField() == _Fields.TIMESTAMP) { return (TimestampType)getFieldValue(); } else { throw new RuntimeException("Cannot get field 'TIMESTAMP' because union is currently set to " + getFieldDesc(getSetField()).name); } }
public DecimalType getDECIMAL() { if (getSetField() == _Fields.DECIMAL) { return (DecimalType)getFieldValue(); } else { throw new java.lang.RuntimeException("Cannot get field 'DECIMAL' because union is currently set to " + getFieldDesc(getSetField()).name); } }
public IntType getINTEGER() { if (getSetField() == _Fields.INTEGER) { return (IntType)getFieldValue(); } else { throw new java.lang.RuntimeException("Cannot get field 'INTEGER' because union is currently set to " + getFieldDesc(getSetField()).name); } }
public EnumType getENUM() { if (getSetField() == _Fields.ENUM) { return (EnumType)getFieldValue(); } else { throw new java.lang.RuntimeException("Cannot get field 'ENUM' because union is currently set to " + getFieldDesc(getSetField()).name); } }
public NullType getUNKNOWN() { if (getSetField() == _Fields.UNKNOWN) { return (NullType)getFieldValue(); } else { throw new java.lang.RuntimeException("Cannot get field 'UNKNOWN' because union is currently set to " + getFieldDesc(getSetField()).name); } }
public StringType getSTRING() { if (getSetField() == _Fields.STRING) { return (StringType)getFieldValue(); } else { throw new RuntimeException("Cannot get field 'STRING' because union is currently set to " + getFieldDesc(getSetField()).name); } }
public MapType getMAP() { if (getSetField() == _Fields.MAP) { return (MapType)getFieldValue(); } else { throw new RuntimeException("Cannot get field 'MAP' because union is currently set to " + getFieldDesc(getSetField()).name); } }
public IntType getINTEGER() { if (getSetField() == _Fields.INTEGER) { return (IntType)getFieldValue(); } else { throw new RuntimeException("Cannot get field 'INTEGER' because union is currently set to " + getFieldDesc(getSetField()).name); } }
public NullType getUNKNOWN() { if (getSetField() == _Fields.UNKNOWN) { return (NullType)getFieldValue(); } else { throw new RuntimeException("Cannot get field 'UNKNOWN' because union is currently set to " + getFieldDesc(getSetField()).name); } }
public JsonType getJSON() { if (getSetField() == _Fields.JSON) { return (JsonType)getFieldValue(); } else { throw new RuntimeException("Cannot get field 'JSON' because union is currently set to " + getFieldDesc(getSetField()).name); } }
public BsonType getBSON() { if (getSetField() == _Fields.BSON) { return (BsonType)getFieldValue(); } else { throw new RuntimeException("Cannot get field 'BSON' because union is currently set to " + getFieldDesc(getSetField()).name); } }
public MapType getMAP() { if (getSetField() == _Fields.MAP) { return (MapType)getFieldValue(); } else { throw new java.lang.RuntimeException("Cannot get field 'MAP' because union is currently set to " + getFieldDesc(getSetField()).name); } }
public DateType getDATE() { if (getSetField() == _Fields.DATE) { return (DateType)getFieldValue(); } else { throw new java.lang.RuntimeException("Cannot get field 'DATE' because union is currently set to " + getFieldDesc(getSetField()).name); } }
public TimestampType getTIMESTAMP() { if (getSetField() == _Fields.TIMESTAMP) { return (TimestampType)getFieldValue(); } else { throw new java.lang.RuntimeException("Cannot get field 'TIMESTAMP' because union is currently set to " + getFieldDesc(getSetField()).name); } }
public JsonType getJSON() { if (getSetField() == _Fields.JSON) { return (JsonType)getFieldValue(); } else { throw new java.lang.RuntimeException("Cannot get field 'JSON' because union is currently set to " + getFieldDesc(getSetField()).name); } }
public UUIDType getUUID() { if (getSetField() == _Fields.UUID) { return (UUIDType)getFieldValue(); } else { throw new java.lang.RuntimeException("Cannot get field 'UUID' because union is currently set to " + getFieldDesc(getSetField()).name); } }
public ListType getLIST() { if (getSetField() == _Fields.LIST) { return (ListType)getFieldValue(); } else { throw new RuntimeException("Cannot get field 'LIST' because union is currently set to " + getFieldDesc(getSetField()).name); } }