public java.util.List<java.lang.String> get_fields() { if (getSetField() == _Fields.FIELDS) { return (java.util.List<java.lang.String>)getFieldValue(); } else { throw new java.lang.RuntimeException("Cannot get field 'fields' because union is currently set to " + getFieldDesc(getSetField()).name); } }
public NullStruct get_none() { if (getSetField() == _Fields.NONE) { return (NullStruct)getFieldValue(); } else { throw new java.lang.RuntimeException("Cannot get field 'none' because union is currently set to " + getFieldDesc(getSetField()).name); } }
public NullStruct get_local_or_shuffle() { if (getSetField() == _Fields.LOCAL_OR_SHUFFLE) { return (NullStruct)getFieldValue(); } else { throw new java.lang.RuntimeException("Cannot get field 'local_or_shuffle' because union is currently set to " + getFieldDesc(getSetField()).name); } }
public NullStruct get_shuffle() { if (getSetField() == _Fields.SHUFFLE) { return (NullStruct)getFieldValue(); } else { throw new java.lang.RuntimeException("Cannot get field 'shuffle' because union is currently set to " + getFieldDesc(getSetField()).name); } }
public NullStruct get_all() { if (getSetField() == _Fields.ALL) { return (NullStruct)getFieldValue(); } else { throw new java.lang.RuntimeException("Cannot get field 'all' because union is currently set to " + getFieldDesc(getSetField()).name); } }
public NullStruct get_direct() { if (getSetField() == _Fields.DIRECT) { return (NullStruct)getFieldValue(); } else { throw new java.lang.RuntimeException("Cannot get field 'direct' because union is currently set to " + getFieldDesc(getSetField()).name); } }
public JavaObject get_custom_object() { if (getSetField() == _Fields.CUSTOM_OBJECT) { return (JavaObject)getFieldValue(); } else { throw new java.lang.RuntimeException("Cannot get field 'custom_object' because union is currently set to " + getFieldDesc(getSetField()).name); } }
public java.nio.ByteBuffer buffer_for_custom_serialized() { if (getSetField() == _Fields.CUSTOM_SERIALIZED) { return org.apache.storm.thrift.TBaseHelper.copyBinary((java.nio.ByteBuffer)getFieldValue()); } else { throw new java.lang.RuntimeException("Cannot get field 'custom_serialized' because union is currently set to " + getFieldDesc(getSetField()).name); } }
public List<String> get_fields() { if (getSetField() == _Fields.FIELDS) { return (List<String>)getFieldValue(); } else { throw new RuntimeException("Cannot get field 'fields' because union is currently set to " + getFieldDesc(getSetField()).name); } }
public NullStruct get_shuffle() { if (getSetField() == _Fields.SHUFFLE) { return (NullStruct)getFieldValue(); } else { throw new RuntimeException("Cannot get field 'shuffle' because union is currently set to " + getFieldDesc(getSetField()).name); } }
public NullStruct get_none() { if (getSetField() == _Fields.NONE) { return (NullStruct)getFieldValue(); } else { throw new RuntimeException("Cannot get field 'none' because union is currently set to " + getFieldDesc(getSetField()).name); } }
public JavaObject get_custom_object() { if (getSetField() == _Fields.CUSTOM_OBJECT) { return (JavaObject)getFieldValue(); } else { throw new RuntimeException("Cannot get field 'custom_object' because union is currently set to " + getFieldDesc(getSetField()).name); } }
public NullStruct get_local_or_shuffle() { if (getSetField() == _Fields.LOCAL_OR_SHUFFLE) { return (NullStruct)getFieldValue(); } else { throw new RuntimeException("Cannot get field 'local_or_shuffle' because union is currently set to " + getFieldDesc(getSetField()).name); } }
public NullStruct get_all() { if (getSetField() == _Fields.ALL) { return (NullStruct)getFieldValue(); } else { throw new RuntimeException("Cannot get field 'all' because union is currently set to " + getFieldDesc(getSetField()).name); } }
public NullStruct get_direct() { if (getSetField() == _Fields.DIRECT) { return (NullStruct)getFieldValue(); } else { throw new RuntimeException("Cannot get field 'direct' because union is currently set to " + getFieldDesc(getSetField()).name); } }
public ByteBuffer buffer_for_custom_serialized() { if (getSetField() == _Fields.CUSTOM_SERIALIZED) { return org.apache.thrift.TBaseHelper.copyBinary((ByteBuffer)getFieldValue()); } else { throw new RuntimeException("Cannot get field 'custom_serialized' because union is currently set to " + getFieldDesc(getSetField()).name); } }