public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) {
    switch (field) {
    case SESSION_HANDLE:
      if (value == null) {
        unsetSessionHandle();
      } else {
        setSessionHandle((TSessionHandle)value);
      }
      break;

    case PARENT_CATALOG_NAME:
      if (value == null) {
        unsetParentCatalogName();
      } else {
        setParentCatalogName((java.lang.String)value);
      }
      break;

    case PARENT_SCHEMA_NAME:
      if (value == null) {
        unsetParentSchemaName();
      } else {
        setParentSchemaName((java.lang.String)value);
      }
      break;

    case PARENT_TABLE_NAME:
      if (value == null) {
        unsetParentTableName();
      } else {
        setParentTableName((java.lang.String)value);
      }
      break;

    case FOREIGN_CATALOG_NAME:
      if (value == null) {
        unsetForeignCatalogName();
      } else {
        setForeignCatalogName((java.lang.String)value);
      }
      break;

    case FOREIGN_SCHEMA_NAME:
      if (value == null) {
        unsetForeignSchemaName();
      } else {
        setForeignSchemaName((java.lang.String)value);
      }
      break;

    case FOREIGN_TABLE_NAME:
      if (value == null) {
        unsetForeignTableName();
      } else {
        setForeignTableName((java.lang.String)value);
      }
      break;

    }
  }
Returns true if field foreignTableName is set (has been assigned a value) and false otherwise
service-rpc/src/gen/thrift/gen-javabean/org/apache/hive/service/rpc/thrift/TGetCrossReferenceReq.java